mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
ad12cbf38d
2002-02-18 Sven Neumann <sven@gimp.org> * app/core/gimpimagefile.c: implemented thumbnail loading according to the latest version of the Thumbnail Managing standard. * app/widgets/gimpimagefilepreview.[ch]: draw a GTK_DIALOG_QUESTION pixbuf when no preview is available. The implementation is a bit ugly but we can improve this later when GimpPreview has been generalized to accept pixbufs also. * themes/Default/gtkrc: register the icons for GtkWidget instead of GtkImage so they can be used from other widgets too. * plug-ins/common/zealouscrop.c: merged fix for bug #71795 from stable branch.
124 lines
2.7 KiB
Plaintext
124 lines
2.7 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 "GtkWidget" style "gimp-gtk-icons"
|
|
|
|
|
|
style "gimp-tiny-font-style"
|
|
{
|
|
font_name = "sans 8"
|
|
}
|
|
|
|
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"
|
|
{
|
|
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-style"
|
|
{
|
|
fg[NORMAL] = { 0.0, 0.0, 0.0 }
|
|
bg[NORMAL] = { 0.94, 0.90, 0.54 }
|
|
}
|
|
|
|
widget "gtk-tooltips" style "gimp-tooltips-style"
|