mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
adef3095c1
2002-03-22 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/gimppreview-utils.[ch]: new file containing gimp_preview_type_from_viewable() so we don't need to include *all* vieable and preview subclasses in gimppreview.c * app/widgets/gimppreview.c: gimp_preview_set_viewable: never unset the drag source if the viewable is set to NULL (fixes dock tabs, thanks to sjburges), also check the passed viweable's type. * themes/Default/gtkrc: set the paned handle_size to 6 pixels, so it has the same size as the dock_separator. * etc/gtkrc_user: set both to 5 here, also fiddle around with the global focus padding and the GtkOptionMenu indicator.
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
|
|
#
|
|
# include "rc-file"
|
|
#
|
|
# style <name> [= <name>]
|
|
# {
|
|
# <option>
|
|
# }
|
|
#
|
|
# widget <widget_set> style <style_name>
|
|
# class <widget_class_set> style <style_name>
|
|
|
|
# You can add your own GIMP-specific GTK styles here.
|
|
|
|
|
|
# Example style for small screens:
|
|
|
|
style "gimp-small-style"
|
|
{
|
|
GtkWidget::focus_padding = 0
|
|
GtkOptionMenu::indicator_size = { 4, 7 }
|
|
GtkOptionMenu::indicator_spacing = { 4, 3, 1, 1 }
|
|
|
|
GtkPaned::handle_size = 5
|
|
GimpDock::separator_height = 5
|
|
GimpImageDock::minimal_width = 200
|
|
GimpToolbox::tool_icon_size = menu
|
|
GimpDockbook::tab_border = 0
|
|
GimpDockbook::tab_height = 16
|
|
GimpDockable::content_border = 1
|
|
GimpDockable::content_spacing = 1
|
|
GimpEditor::content_spacing = 1
|
|
GimpEditor::button_spacing = 1
|
|
GimpEditor::button_icon_size = menu
|
|
}
|
|
|
|
# class "GtkWidget" style "gimp-small-style"
|
|
|
|
|
|
# The dock separator is configurable using it's name:
|
|
|
|
style "gimp-blue-separator-style"
|
|
{
|
|
bg[NORMAL] = "#8888aa"
|
|
}
|
|
|
|
# widget "*dock-separator*" style "gimp-blue-separator-style"
|