1# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
2#
3# include "rc-file"
4#
5# style <name> [= <name>]
6# {
7#   <option>
8# }
9#
10# widget <widget_set> style <style_name>
11# widget_class <widget_class_set> style <style_name>
12
13
14# Don't define icons for the Default theme as they are compiled in
15#
16# include "imagerc"
17
18# Do override some GTK stock icons however.
19
20style "gimp-default-style"
21{
22  stock["gtk-dialog-error"] =
23    {
24      { "../../icons/Color/64x64/apps/gimp-error.png", *, *, "gtk-dialog" }
25    }
26  stock["gtk-dialog-info"] =
27    {
28      { "../../icons/Color/64x64/apps/gimp-info.png", *, *, "gtk-dialog" }
29    }
30  stock["gtk-dialog-question"] =
31    {
32      { "../../icons/Color/64x64/apps/gimp-question.png", *, *, "gtk-dialog" }
33    }
34  stock["gtk-dialog-warning"] =
35    {
36      { "../../icons/Color/64x64/apps/gimp-warning.png", *, *, "gtk-dialog" }
37    }
38
39# Uncommenting this line allows to set a different font for GIMP.
40#
41# font_name = "sans 10"
42
43  GtkPaned::handle-size             = 6
44  GimpDockWindow::default-height    = 300
45  GimpDock::font-scale              = 0.8333
46  GimpMenuDock::minimal-width       = 200
47  GimpDockWindow::menu-preview-size = button
48  GimpToolPalette::tool-icon-size   = button
49  GimpToolPalette::button-relief    = none
50  GimpDockbook::tab-border          = 0
51  GimpDockbook::tab-icon-size       = button
52  GimpColorNotebook::tab-border     = 0
53  GimpColorNotebook::tab-icon-size  = button
54  GimpDeviceEditor::handle-size     = 12
55  GimpDockable::content-border      = 2
56  GimpEditor::content-spacing       = 2
57  GimpEditor::button-spacing        = 2
58  GimpEditor::button-icon-size      = menu
59  GimpDataEditor::minimal-height    = 96
60  GtkDialog::content-area-border    = 0
61  GtkDialog::button-spacing         = 6
62  GtkDialog::action-area-border     = 12
63}
64
65class "GtkWidget" style "gimp-default-style"
66
67
68style "gimp-tool-dialog-style" = "gimp-default-style"
69{
70  GtkDialog::action-area-border = 6
71}
72
73class "GimpToolDialog" style "gimp-tool-dialog-style"
74
75
76style "gimp-grid-view-style" = "gimp-default-style"
77{
78  bg[NORMAL] = { 1.0, 1.0, 1.0 }
79}
80
81widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"
82
83
84style "gimp-dockable-style" = "gimp-default-style"
85{
86  GimpFrame::label-bold       = 0
87  GimpFrame::label-spacing    = 2
88  GtkWidget::focus-line_width = 1
89  GtkWidget::focus-padding    = 0
90}
91
92widget "*GimpDockable.*" style "gimp-dockable-style"
93
94
95style "gimp-display-style" = "gimp-default-style"
96{
97  GimpRuler::font-scale          = 0.8333
98  GimpUnitComboBox::label-scale  = 0.8333
99  GimpScaleComboBox::label-scale = 0.8333
100  GtkComboBox::arrow-size        = 8
101  GtkButton::inner-border        = { 0, 0, 0, 0 }
102  GtkWidget::focus-line_width    = 1
103  GtkWidget::focus-padding       = 0
104}
105
106widget "*GimpDisplayShell.*" style "gimp-display-style"
107