summaryrefslogtreecommitdiffstats
path: root/themes/System/gtkrc
blob: c304938b5d1d92802a692ef683eb3b631bb4fde3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# 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"] =
    {
      { "../../icons/Color/64x64/apps/gimp-error.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-info"] =
    {
      { "../../icons/Color/64x64/apps/gimp-info.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-question"] =
    {
      { "../../icons/Color/64x64/apps/gimp-question.png", *, *, "gtk-dialog" }
    }
  stock["gtk-dialog-warning"] =
    {
      { "../../icons/Color/64x64/apps/gimp-warning.png", *, *, "gtk-dialog" }
    }

# Uncommenting this line allows to set a different font for GIMP.
#
# font_name = "sans 10"

  GtkPaned::handle-size             = 6
  GimpDockWindow::default-height    = 300
  GimpDock::font-scale              = 0.8333
  GimpMenuDock::minimal-width       = 200
  GimpDockWindow::menu-preview-size = button
  GimpToolPalette::tool-icon-size   = button
  GimpToolPalette::button-relief    = none
  GimpDockbook::tab-border          = 0
  GimpDockbook::tab-icon-size       = button
  GimpColorNotebook::tab-border     = 0
  GimpColorNotebook::tab-icon-size  = button
  GimpDeviceEditor::handle-size     = 12
  GimpDockable::content-border      = 2
  GimpEditor::content-spacing       = 2
  GimpEditor::button-spacing        = 2
  GimpEditor::button-icon-size      = menu
  GimpDataEditor::minimal-height    = 96
  GtkDialog::content-area-border    = 0
  GtkDialog::button-spacing         = 6
  GtkDialog::action-area-border     = 12
}

class "GtkWidget" style "gimp-default-style"


style "gimp-tool-dialog-style" = "gimp-default-style"
{
  GtkDialog::action-area-border = 6
}

class "GimpToolDialog" style "gimp-tool-dialog-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-style" = "gimp-default-style"
{
  GimpFrame::label-bold       = 0
  GimpFrame::label-spacing    = 2
  GtkWidget::focus-line_width = 1
  GtkWidget::focus-padding    = 0
}

widget "*GimpDockable.*" style "gimp-dockable-style"


style "gimp-display-style" = "gimp-default-style"
{
  GimpRuler::font-scale          = 0.8333
  GimpUnitComboBox::label-scale  = 0.8333
  GimpScaleComboBox::label-scale = 0.8333
  GtkComboBox::arrow-size        = 8
  GtkButton::inner-border        = { 0, 0, 0, 0 }
  GtkWidget::focus-line_width    = 1
  GtkWidget::focus-padding       = 0
}

widget "*GimpDisplayShell.*" style "gimp-display-style"