GNOME Bugzilla – Bug 170543
buttons in file->open window and ctrl-L window are not in the same order
Last modified: 2005-03-16 23:57:50 UTC
In gimp 2.2.4, when using gtk 2.4.14, the order of the buttons at the bottom right of the "file->open" window is [cancel] [open] and when opening the "location" window (ctrl-L), the order of the buttons is the same. In gimp 2.2.4 with gtk 2.6.4, the order in the "file->open" window is [cancel] [open] (as previously), but the order in the "location" window is now [open] [cancel] (see attached screenshot). Other information: Additional info: I filed this as a win32 bug since I cannot check on my linux PC. It does not show the bug, but is using gtk 2.4.6, and as said previously, there is no such problem on gtk 2.4.x even on windows. Gtk 2.6.4 was obtained from the sourceforge page.
Created attachment 38783 [details] correct behaviour with gtk 2.4
Created attachment 38784 [details] wrong behaviour with gtk 2.6
This has to be fixed at the GIMP level when creating the file dialog by calling gtk_dialog_set_alternative_button_order(). (Or I think it's possible to use the GNOME button everywhere by g_object_set (gtk_settings_get_default (), "gtk-alternative-button-order", FALSE, NULL); )
In GIMP CVS, we specify an alternative button order everywhere. Since we don't do that in GIMP 2.2, we should do as Owen suggested and globally disable the alternative button order.
I've done up a patch for 2.2, it just needs some testing.
Um, I can't reproduce this with GTK+ 2.6.4.
I guess to be completely correct, we'd have to do this for all screens. For Win32, I assume it should be sufficient to tweak the settings of the default screen... 2005-03-16 Sven Neumann <sven@gimp.org> * app/gui/gui.c (gui_init): disable "gtk-alternative-button-order" since we don't provide an alternative button order in this branch. Fixes bug #170543.
Yosh, sorry, but I had the change committed already (after testing that my changes work).
Your change only affected the app, and not plugins: 2005-03-14 Manish Singh <yosh@gimp.org> * libgimpwidgets/gimpwidgets-private.c (gimp_widgets_init): disable "gtk-alternative-button-order" here, so the plug-ins get it unset too. Completely fixes bug #170543. * app/gui/gui.c (gui_int): removed now redundant code.
Good catch, thanks!