mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
2a2318cee8
2002-01-13 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpstock.[ch]: removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW etc.). * libgimpwidgets/gimpquerybox.[ch]: moved the icon code from the boolean query box constructor to create_query_box() so it can be used for all of them. New macro GIMP_QUERY_BOX_VBOX() to pack custom widgets into the dialogs. Will probably have to make a real widget out of it to get a sane API... * app/gui/menus.c * app/gui/select-commands.c * app/widgets/gimpbufferview.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpdocumentview.c * app/widgets/gimpdrawablelistview.c * libgimpwidgets/gimppatheditor.c * plug-ins/common/uniteditor.c: changed accordingly. * libgimpwidgets/gimpwidgets.c: register the WM icons in large -> small order. * themes/Default/Makefile.am: don't create inline pixbufs of the removed stock items' icons... * themes/Default/gtkrc: ...but simply override them here. * themes/Default/imagerc: removed them here too.
137 lines
2.9 KiB
Plaintext
137 lines
2.9 KiB
Plaintext
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
|
|
#
|
|
# include "rc-file"
|
|
#
|
|
# style <name> [= <name>]
|
|
# {
|
|
# <option>
|
|
# }
|
|
#
|
|
# widget <widget_set> style <style_name>
|
|
# widget_class <widget_class_set> style <style_name>
|
|
|
|
|
|
# Don't define icons for the Default theme as they are compiled in
|
|
#
|
|
# include "imagerc"
|
|
|
|
# Do override some GTK stock icons however.
|
|
|
|
style "gimp-gtk-icons"
|
|
{
|
|
stock["gtk-delete"] =
|
|
{
|
|
{ "images/stock-button-delete.png", *, *, "gtk-button" },
|
|
{ "images/stock-button-delete.png", *, *, * }
|
|
}
|
|
stock["gtk-go-down"] =
|
|
{
|
|
{ "images/stock-button-lower.png", *, *, "gtk-button" },
|
|
{ "images/stock-button-lower.png", *, *, * }
|
|
}
|
|
stock["gtk-go-up"] =
|
|
{
|
|
{ "images/stock-button-raise.png", *, *, "gtk-button" },
|
|
{ "images/stock-button-raise.png", *, *, * }
|
|
}
|
|
stock["gtk-new"] =
|
|
{
|
|
{ "images/stock-button-new.png", *, *, "gtk-button" },
|
|
{ "images/stock-button-new.png", *, *, * }
|
|
}
|
|
stock["gtk-refresh"] =
|
|
{
|
|
{ "images/stock-button-refresh.png", *, *, "gtk-button" },
|
|
{ "images/stock-button-refresh.png", *, *, * }
|
|
}
|
|
|
|
stock["gtk-dialog-error"] =
|
|
{
|
|
{ "images/gimp-dialog-error.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-info"] =
|
|
{
|
|
{ "images/gimp-dialog-info.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-question"] =
|
|
{
|
|
{ "images/gimp-dialog-question.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-warning"] =
|
|
{
|
|
{ "images/gimp-dialog-warning.png", *, *, "gtk-dialog" }
|
|
}
|
|
}
|
|
|
|
class "GtkImage" style "gimp-gtk-icons"
|
|
|
|
|
|
style "gimp-normal-font-style"
|
|
{
|
|
font_name = "sans 12"
|
|
}
|
|
|
|
style "gimp-small-font-style"
|
|
{
|
|
font_name = "sans 11"
|
|
}
|
|
|
|
style "gimp-tiny-font-style"
|
|
{
|
|
font_name = "sans 8"
|
|
}
|
|
|
|
|
|
class "GtkWidget" style "gimp-normal-font-style"
|
|
|
|
class "*Ruler*" style "gimp-tiny-font-style"
|
|
|
|
|
|
style "gimp-dialog-style"
|
|
{
|
|
GtkDialog::content_area_border = 0
|
|
GtkDialog::button_spacing = 4
|
|
GtkDialog::action_area_border = 4
|
|
}
|
|
|
|
widget "*GimpDialog*" style "gimp-dialog-style"
|
|
|
|
|
|
style "gimp-hscale-style"
|
|
{
|
|
GtkRange::slider_width = 11
|
|
}
|
|
|
|
class "GtkHScale" style "gimp-hscale-style"
|
|
|
|
|
|
style "gimp-dock-style" = "gimp-small-font-style"
|
|
{
|
|
GimpDock::separator_height = 6
|
|
GimpDockbook::tab_border = 0
|
|
GimpDockable::content_border = 2
|
|
GimpContainerView::content_spacing = 2
|
|
GimpContainerView::button_spacing = 2
|
|
GimpContainerEditor::content_spacing = 2
|
|
GimpContainerEditor::button_spacing = 2
|
|
}
|
|
|
|
widget "*Gimp*Dock*" style "gimp-dock-style"
|
|
|
|
|
|
style "gimp-grid-view-style" = "gimp-dock-style"
|
|
{
|
|
bg[NORMAL] = { 1.0, 1.0, 1.0 }
|
|
}
|
|
|
|
widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"
|
|
|
|
|
|
style "gimp-tooltips"
|
|
{
|
|
fg[NORMAL] = { 0.0, 0.0, 0.0 }
|
|
bg[NORMAL] = { 0.94, 0.90, 0.54 }
|
|
}
|
|
|
|
widget "gtk-tooltips" style "gimp-tooltips"
|