Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84746 - GTK+2.6: Can't select alternative-button-order to be default.
Summary: GTK+2.6: Can't select alternative-button-order to be default.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 06:05 UTC by J.O. Aho
Modified: 2005-03-10 11:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gtk+-2.6-altbutton.patch (gtk+-2.6-altbutton.patch,543 bytes, patch)
2005-03-10 06:07 UTC, J.O. Aho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description J.O. Aho 2005-03-10 06:05:21 UTC
When compiling GTK+2.6, you will alwys get the "MacOS order" on your buttons without the chance to tell to use the Alternative-button-order, which makes gtk2 based applications always have the wrong orde on request windows when you are using KDE or any other environment that uses the "standard order".

Reproducible: Always
Steps to Reproduce:
1. emerge gtk+

Actual Results:  
You get the help-cancle-ok order on buttons

Expected Results:  
Users should have the option to select which order to have in gtk2 applications,
for KDE users it would be ok-cancle-help

The fix would be quite easy to implement to the gtk+2.6 ebuilds

IUSE="doc tiff jpeg static gtk-alt-buttons"
...
src_unpack() {
...
  use gtk-alt-buttons && epatch ${FILESDIR}/${PN}-2.6-altbutton.patch
...
}

and then have the following patch:

--- gtk/gtksettings.c   2005-03-04 14:22:19.170801664 +0100
+++ gtk/gtksettings.c   2005-03-04 14:22:28.709351584 +0100
@@ -431,7 +431,7 @@
                                              g_param_spec_boolean ("gtk-alterna
tive-button-order",
                                                                   P_("Alternati
ve button order"),
                                                                   P_("Whether b
uttons in dialogs should use the alternative button order"),
-                                                                  FALSE,
+                                                                  TRUE,
                                                                   G_PARAM_READW
RITE),
                                              NULL);
   g_assert (result == PROP_ALTERNATIVE_BUTTON_ORDER);
Comment 1 J.O. Aho 2005-03-10 06:07:48 UTC
Created attachment 53072 [details, diff]
gtk+-2.6-altbutton.patch

Makes alternative button order default, this makes it easy for KDE users to
have applications like GIMP2 to fit in buttonwise into the KDE environment.
Comment 2 foser (RETIRED) gentoo-dev 2005-03-10 11:31:28 UTC
this is not an error, it's a design choice. Go look up the gnome hig.

Luckily for users who take ye old mistakes over usability design they made it easy to set in gtkrc. Good luck with that, but thats the best we can do for you.