You are not logged in.

#1 2010-05-19 23:24:56

MkFly
Member
From: Mars
Registered: 2009-12-10
Posts: 141

[SOLVED] Firefox/GTK - How to disable the icons on buttons?

I'm running GNOME 2.30 with Firefox 3.6.3.

I have set: gtk-button-images = 0 in .gtkrc-2.0 (although I think it might be deprecated), as well as setting buttons_have_icons to false in gconf under /apps/desktop/gnome/interface.

All other programs have icon-free buttons, but Firefox insists:

[img]redacted[/img]

Is there something I'm missing?

Last edited by jasonwryan (2013-03-17 23:23:30)

Offline

#2 2010-05-20 22:36:48

silenc3r
Member
From: Poland
Registered: 2009-08-29
Posts: 149

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

I'm pretty sure it depends on gtk theme. Change your gtk theme to one which has no icons on menus/buttons.

Offline

#3 2010-05-29 02:51:41

MkFly
Member
From: Mars
Registered: 2009-12-10
Posts: 141

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

I'm not so sure ... I've tried all of the ~25 GTK themes I have installed, and they all still have icons, but only in Firefox.  All (most?) other GTK apps I've tried removed the button icons.

I'm in Xfce now, and the situation is the same.  Look at the "Close" buttons in both sceens:

Icons on buttons ENABLED:
9r6ic2_th.png

Icons on buttons DISABLED:
n47eac_th.png

So maybe this is a Firefox issue?

Last edited by MkFly (2010-05-29 02:52:12)

Offline

#4 2010-05-29 08:58:27

kaptenen
Member
Registered: 2009-12-06
Posts: 287
Website

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

Hm, what if you put this in your gtkrc

gtk-icon-sizes = "panel-menu=12,12:panel=12,12:gtk-button=12,12:gtk-large-toolbar=12,12"
gtk-button-images = 0
gtk-menu-images = 0

?

Offline

#5 2010-05-29 17:33:11

MkFly
Member
From: Mars
Registered: 2009-12-10
Posts: 141

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

kaptenen wrote:

Hm, what if you put this in your gtkrc?

I already have that in there, except that I use 16 instead of 12.  Although I did try yours verbatim, but the icons are still there.

Offline

#6 2010-05-30 21:45:46

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

show.php?id=3691

Add the following to your ~/.mozilla/firefox/profile/chrome/userChrome.css

/* Disable button icons. */
.button-box .button-icon {
    display: none;
}

PS. DOM Inspector is your friend. wink big_smile

Last edited by N30N (2010-05-31 18:00:03)

Offline

#7 2010-05-31 16:31:56

MkFly
Member
From: Mars
Registered: 2009-12-10
Posts: 141

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

N30N wrote:

PS. DOM Inspector is for friend. wink

Of course! I don't know how I forgot about DOM Inspector.  I kept trying to do this via GTK, when I could have done this your way and been done in seconds.  Thank you, they're finally gone now.

Still though, I wonder why Firefox ignores my preferences. roll

Last edited by MkFly (2010-05-31 16:36:57)

Offline

#8 2010-06-01 17:23:59

grassmonk
Member
From: Utah
Registered: 2007-11-14
Posts: 68

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

MkFly wrote:

Still though, I wonder why Firefox ignores my preferences. roll

Firefox is just that way, using GTK+ in some areas but not others.  For example, tabs will be styled according to your GTK+ theme, but not on mouseover.

Offline

#9 2010-06-01 18:40:48

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Firefox/GTK - How to disable the icons on buttons?

^ And the reason for that is Firefox is a XUL app not GTK (although it does a good job of imitating GTK).

Offline

Board footer

Powered by FluxBB