Hi,

On Thu, 11 Nov 2004 18:59:28 +0100, GSR - FR <[EMAIL PROTECTED]> wrote:

---8<---
style "gimp-classic-no-icons" {

  GimpToolbox::button_relief = 1

  ## GTK+ derived
  ##
  stock["gtk-help"] =
  {
    { "./images/single-pix.png", *, *, "gtk-menu" },
    { "./images/single-pix.png", *, *, "gtk-button" },
    { "./images/single-pix.png", *, *, "gtk-small-toolbar" },
    { "./images/single-pix.png", *, *, "gtk-large-toolbar" },
    { "./images/single-pix.png", *, *, "gtk-dnd" },
    { "./images/single-pix.png", *, *, "gtk-dialog" }

[snip... and it is a lot of snip]

  stock["gimp-tool-zoom"] =
  {
    { "./images/single-pix.png", *, *, "gtk-menu" },
    { "./images/single-pix.png", *, *, "gtk-button" },
    { "./images/single-pix.png", *, *, "gtk-small-toolbar" },
    { "./images/single-pix.png", *, *, "gtk-large-toolbar" },
    { "./images/single-pix.png", *, *, "gtk-dnd" },
    { "./images/single-pix.png", *, *, "gtk-dialog" }
  }
}

widget_class "*GtkButton*" style "gimp-classic-no-icons"
widget_class "*GtkMenu*" style "gimp-classic-no-icons"
--->8---

Which "seems" to work, but I guess there will be some case in which it
will not. The only hope is that with all the GTK+ widget reorg, they
pass the GNOME part that handles menus and buttons (or whatever way
they do it which allows to have such option in the GNOME config), and
can be set via some kind of boolean options like GtkMenu::have_icons
and GtkButtons::have_icons. It will probably make integration with
other OSes better (some have no icons in buttons or in both) without
putting the heavy weight in the theme, as well just making some other
users happy in general, btw.

If someone know a better way, tell me.


Thank you, GSR - FR

I haven't figured out so far how to use your fix to remove "OK", "Cancel", "Reset", and "Save" icons from buttons though. I tried adding it to gtkrc and imagerc in all locations, overwriting existing image related entries in gtkrc with this. Maybe there's something like

stock["gtk-button-cancel"] ... etc. that I need to add there using this as a template?
(I don't know these stock image variables)


Many thanks again.
_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to