mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
f03b6b6d75
2002-12-14 Michael Natterer <mitch@gimp.org> Changed menubar showing/hiding to work like rulers and statusbar: * app/config/gimpconfig-blurbs.h * app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display" to "show_menubar". Removed GIMP_PARAM_RESTART flag. * app/display/gimpdisplayshell.[ch]: chaged shell->item_factory to shell->menubar_factory plus shell->popup_factory and always create both of them. Added "gboolean update_popup" to gimp_display_shell_set_menu_sensitivity() and call it recursively with update_popup == TRUE if the display it is called for is the active one. * app/display/gimpdisplay.c * app/display/gimpdisplayshell-callbacks.c: changed accordinly. * app/gui/gui.c: ditto. Set the menu sensitivity of new displays. * app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item. Moved some factory initialization code from gimpdisplayshell.c here. * app/gui/view-commands.[ch]: added view_toggle_menubar_cmd_callback(). Update the menu sensitivity manually in all callbacks which don't call gimp_image_flush(). * app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show Menubar" toggle to the "Appearance" frame of the "Image Windows" page. Added an own frame for the display zoom/scaling settings. (preferences_dialog_create): Attach config_copy and config_orig using g_object_set_data_full() instead of just g_object_set_data() plus a g_object_weak_ref(). (prefs_default_resolution_callback): set the resolution for both fields of the "size_sizeentry" instead of setting it for "x" twice. |
||
---|---|---|
.. | ||
about-dialog.c | ||
about-dialog.h | ||
authors.h | ||
color-dialog.c | ||
color-dialog.h | ||
convert-dialog.c | ||
convert-dialog.h | ||
dialogs-constructors.c | ||
dialogs-constructors.h | ||
dialogs.c | ||
dialogs.h | ||
file-dialog-utils.c | ||
file-dialog-utils.h | ||
file-open-dialog.c | ||
file-open-dialog.h | ||
file-save-dialog.c | ||
file-save-dialog.h | ||
image-new-dialog.c | ||
image-new-dialog.h | ||
info-dialog.c | ||
info-dialog.h | ||
info-window.c | ||
info-window.h | ||
module-dialog.c | ||
module-dialog.h | ||
offset-dialog.c | ||
offset-dialog.h | ||
palette-import-dialog.c | ||
palette-import-dialog.h | ||
preferences-dialog.c | ||
preferences-dialog.h | ||
resize-dialog.c | ||
resize-dialog.h | ||
resolution-calibrate-dialog.c | ||
resolution-calibrate-dialog.h | ||
tips-dialog.c | ||
tips-dialog.h | ||
tips-parser.c | ||
tips-parser.h | ||
user-install-dialog.c | ||
user-install-dialog.h |