2003-09-21 Michael Natterer <mitch@gimp.org> * app/widgets/gimpdockable.[ch]: added a title bar showing the dockable's name, a "close" and a "menu" button. Not quite finished, but almost... * app/gui/dialogs-constructors.c: changed accordingly. * themes/Default/images/Makefile.am * themes/Default/images/stock-close-12.png * themes/Default/images/stock-menu-12.png: new icons for the above. * libgimpwidgets/gimpstock.[ch]: register them. * themes/Default/gtkrc: remove any focus spacing from the dockables' new buttons since they can't get the focus anyway.
91 lines
2.1 KiB
Text
91 lines
2.1 KiB
Text
# 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-default-style"
|
|
{
|
|
stock["gtk-dialog-error"] =
|
|
{
|
|
{ "images/stock-error-64.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-info"] =
|
|
{
|
|
{ "images/stock-info-64.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-question"] =
|
|
{
|
|
{ "images/stock-question-64.png", *, *, "gtk-dialog" }
|
|
}
|
|
stock["gtk-dialog-warning"] =
|
|
{
|
|
{ "images/stock-warning-64.png", *, *, "gtk-dialog" }
|
|
}
|
|
|
|
GtkPaned::handle_size = 6
|
|
GimpDock::separator_height = 6
|
|
GimpImageDock::minimal_width = 250
|
|
GimpImageDock::menu_preview_size = button
|
|
GimpToolbox::tool_icon_size = button
|
|
GimpToolbox::button_relief = none
|
|
GimpDockbook::tab_border = 0
|
|
GimpDockbook::tab_icon_size = button
|
|
GimpColorNotebook::tab_border = 0
|
|
GimpColorNotebook::tab_icon_size = button
|
|
GimpDockable::content_border = 2
|
|
GimpEditor::content_spacing = 2
|
|
GimpEditor::button_spacing = 2
|
|
GimpEditor::button_icon_size = menu
|
|
GtkDialog::content_area_border = 0
|
|
GtkDialog::button_spacing = 4
|
|
GtkDialog::action_area_border = 4
|
|
}
|
|
|
|
class "GtkWidget" style "gimp-default-style"
|
|
|
|
|
|
style "gimp-tiny-font-style"
|
|
{
|
|
font_name = "sans 8"
|
|
}
|
|
|
|
class "*Ruler*" style "gimp-tiny-font-style"
|
|
|
|
|
|
style "gimp-hscale-style"
|
|
{
|
|
GtkRange::slider_width = 11
|
|
}
|
|
|
|
class "GtkHScale" style "gimp-hscale-style"
|
|
|
|
|
|
style "gimp-grid-view-style" = "gimp-default-style"
|
|
{
|
|
bg[NORMAL] = { 1.0, 1.0, 1.0 }
|
|
}
|
|
|
|
widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"
|
|
|
|
|
|
style "gimp-dockable-button-style" = "gimp-default-style"
|
|
{
|
|
GtkButton::focus_line_width = 0
|
|
GtkButton::focus_line_padding = 0
|
|
}
|
|
|
|
widget "*GimpDockable.GtkButton*" style "gimp-dockable-button-style"
|