Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"Fixing" the button order of Ok/Cancel in Firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Locke355
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2002
Posts: 98

PostPosted: Sat Feb 21, 2004 9:07 am    Post subject: "Fixing" the button order of Ok/Cancel in Firefox Reply with quote

Putting the Cancel button before the Ok button frustrates me to no end. I went hunting, and found a "fix" that reverses the order of that line in all the dialogs. If someone finds a better way, please let me know. The only problem I have found with this is if there is a checkbox on the same line as the buttons, the checkbox comes after the cancel button (not a big deal).

Put the following in your userChrome.css
Code:
.dialog-button-box { -moz-box-direction: reverse; -moz-box-pack: right; }
.dialog-button-box spacer { display: none !important; }


If you dont know where to put it, search for "userChrome-example.css". There should be a place in your Firefox directory, and also in "~/.phoenix"

Hope this helps someone.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Feb 21, 2004 11:31 am    Post subject: Reply with quote

Nice one :)
I wonder if they put it in like that on purpose or by accident.
It ' s very annoying.
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Sat Feb 21, 2004 12:05 pm    Post subject: Reply with quote

Hadn't really noticed it, but I have changed it now, and it is better, so thanks for the info.
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
Jefklak
l33t
l33t


Joined: 26 Oct 2003
Posts: 818
Location: Belgium

PostPosted: Sat Feb 21, 2004 2:11 pm    Post subject: Reply with quote

Intresting tip.
Thanks mate!
Back to top
View user's profile Send private message
gurke
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 260

PostPosted: Sat Feb 21, 2004 2:22 pm    Post subject: Reply with quote

just applied, now i still must check if it works. thanks for the tip.
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Sat Feb 21, 2004 2:24 pm    Post subject: Reply with quote

Just when i got used to it :0
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Sat Feb 21, 2004 2:29 pm    Post subject: Reply with quote

I heard they did it on purpose. It really pissed me off though. I pressed cancel so many times by accident.
Back to top
View user's profile Send private message
Locke355
Tux's lil' helper
Tux's lil' helper


Joined: 21 May 2002
Posts: 98

PostPosted: Sat Feb 21, 2004 9:21 pm    Post subject: Reply with quote

AlterEgo wrote:
Nice one :)
I wonder if they put it in like that on purpose or by accident.
It ' s very annoying.


when i was looking for a fix.. i read multiple places that it was done only on linux to keep compatibility with GTK.. in that GNOME development wants you to put the ok button always on the bottom right.

Personally .. i think they are nuts and should be beat for not making it easier to put back to reverse. Then again, firefox has so many stupid design decisions like that, I am not surprised.

Glad you guys found this useful.
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Sat Feb 21, 2004 10:59 pm    Post subject: Reply with quote

thanks! that button order confuses me to no end since almost everything else works in reverse
_________________
what up
Back to top
View user's profile Send private message
saleck
n00b
n00b


Joined: 16 Feb 2003
Posts: 34

PostPosted: Thu Jun 10, 2004 10:09 am    Post subject: Cool Reply with quote

Hey, thanks man - I was stupid to look for this at the mozilla site.

Btw - it's not a bug in their eyes - they say it's the default buttons order for gnome and they compile it with a library that doesn't differentiate between gtk1 and gtk2.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum