diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:23:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:23:22 +0000 |
commit | e42129241681dde7adae7d20697e7b421682fbb4 (patch) | |
tree | af1fe815a5e639e68e59fabd8395ec69458b3e5e /themes/System/gtkrc | |
parent | Initial commit. (diff) | |
download | gimp-upstream.tar.xz gimp-upstream.zip |
Adding upstream version 2.10.22.upstream/2.10.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | themes/System/gtkrc | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/themes/System/gtkrc b/themes/System/gtkrc new file mode 100644 index 0000000..c304938 --- /dev/null +++ b/themes/System/gtkrc @@ -0,0 +1,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" |