configure.in themes/Makefile.am themes/Small/.cvsignore
2003-11-16 Michael Natterer <mitch@gimp.org> * configure.in * themes/Makefile.am * themes/Small/.cvsignore * themes/Small/Makefile.am * themes/Small/gtkrc: added a "Small" theme so users don't have to edit their ~/.gimp-1.3/gtkrc to get the smaller look. * app/widgets/gimpdock.c: use "gimp-dock-separator", not just "dock-separator" as widget name. * etc/gtkrc: changed accordingly. Removed small style since it is a theme now. Cleanup.
This commit is contained in:

committed by
Michael Natterer

parent
d7ae65edc4
commit
d3e0332f8d
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
||||
2003-11-16 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* configure.in
|
||||
* themes/Makefile.am
|
||||
* themes/Small/.cvsignore
|
||||
* themes/Small/Makefile.am
|
||||
* themes/Small/gtkrc: added a "Small" theme so users don't have to
|
||||
edit their ~/.gimp-1.3/gtkrc to get the smaller look.
|
||||
|
||||
* app/widgets/gimpdock.c: use "gimp-dock-separator", not just
|
||||
"dock-separator" as widget name.
|
||||
|
||||
* etc/gtkrc: changed accordingly. Removed small style since it is
|
||||
a theme now. Cleanup.
|
||||
|
||||
2003-11-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/png.c: fixed the default gamma value which I
|
||||
|
@ -278,7 +278,7 @@ gimp_dock_separator_new (GimpDock *dock)
|
||||
|
||||
event_box = gtk_event_box_new ();
|
||||
|
||||
gtk_widget_set_name (event_box, "dock-separator");
|
||||
gtk_widget_set_name (event_box, "gimp-dock-separator");
|
||||
|
||||
gtk_widget_style_get (GTK_WIDGET (dock),
|
||||
"separator_height", &separator_height,
|
||||
|
@ -1438,6 +1438,7 @@ themes/Makefile
|
||||
themes/Default/Makefile
|
||||
themes/Default/images/Makefile
|
||||
themes/Default/images/preferences/Makefile
|
||||
themes/Small/Makefile
|
||||
data/Makefile
|
||||
data/environ/Makefile
|
||||
data/misc/Makefile
|
||||
|
36
etc/gtkrc
36
etc/gtkrc
@ -9,38 +9,13 @@
|
||||
#
|
||||
# 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
|
||||
GimpImageDock::menu_preview_size = small-toolbar
|
||||
GimpToolbox::tool_icon_size = menu
|
||||
GimpDockbook::tab_border = 0
|
||||
GimpDockbook::tab_icon_size = menu
|
||||
GimpColorNotebook::tab_border = 0
|
||||
GimpColorNotebook::tab_icon_size = menu
|
||||
GimpDockable::content_border = 1
|
||||
GimpEditor::content_spacing = 1
|
||||
GimpEditor::button_spacing = 1
|
||||
GimpEditor::button_icon_size = menu
|
||||
}
|
||||
|
||||
# class "GtkWidget" style "gimp-small-style"
|
||||
|
||||
|
||||
#
|
||||
# Example keybinding to remap Help to F2
|
||||
|
||||
#
|
||||
binding "gimp-help-binding"
|
||||
{
|
||||
bind "F2" { "show-help" (255) }
|
||||
@ -54,11 +29,12 @@ binding "gimp-help-binding"
|
||||
# class "GtkWidget" binding "gimp-help-binding"
|
||||
|
||||
|
||||
#
|
||||
# The dock separator DND highlight color is configurable.
|
||||
|
||||
#
|
||||
style "gimp-red-separator-style"
|
||||
{
|
||||
bg[SELECTED] = "#aa2448"
|
||||
}
|
||||
|
||||
# widget "*dock-separator*" style "gimp-red-separator-style"
|
||||
# widget "*gimp-dock-separator*" style "gimp-red-separator-style"
|
||||
|
@ -1,3 +1,3 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
SUBDIRS = Default
|
||||
SUBDIRS = Default Small
|
||||
|
2
themes/Small/.cvsignore
Normal file
2
themes/Small/.cvsignore
Normal file
@ -0,0 +1,2 @@
|
||||
Makefile
|
||||
Makefile.in
|
7
themes/Small/Makefile.am
Normal file
7
themes/Small/Makefile.am
Normal file
@ -0,0 +1,7 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
themedatadir = $(gimpdatadir)/themes/Small
|
||||
|
||||
themedata_DATA = gtkrc
|
||||
|
||||
EXTRA_DIST = $(themedata_DATA)
|
88
themes/Small/gtkrc
Normal file
88
themes/Small/gtkrc
Normal file
@ -0,0 +1,88 @@
|
||||
# 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>
|
||||
|
||||
|
||||
style "gimp-default-style"
|
||||
{
|
||||
stock["gtk-dialog-error"] =
|
||||
{
|
||||
{ "../Default/images/stock-error-64.png", *, *, "gtk-dialog" }
|
||||
}
|
||||
stock["gtk-dialog-info"] =
|
||||
{
|
||||
{ "../Default/images/stock-info-64.png", *, *, "gtk-dialog" }
|
||||
}
|
||||
stock["gtk-dialog-question"] =
|
||||
{
|
||||
{ "../Default/images/stock-question-64.png", *, *, "gtk-dialog" }
|
||||
}
|
||||
stock["gtk-dialog-warning"] =
|
||||
{
|
||||
{ "../Default/images/stock-warning-64.png", *, *, "gtk-dialog" }
|
||||
}
|
||||
|
||||
font_name = "sans 7"
|
||||
|
||||
# Enabling the following line for some reason breaks toolbox resize
|
||||
# increment calculation. You can enable it to get an even smaller GUI
|
||||
# but need to restart GIMP after the theme change.
|
||||
#
|
||||
# GtkWidget::focus_padding = 0
|
||||
|
||||
GtkOptionMenu::indicator_size = { 5, 11 }
|
||||
GtkOptionMenu::indicator_spacing = { 4, 3, 1, 1 }
|
||||
|
||||
GtkPaned::handle_size = 5
|
||||
GimpDock::separator_height = 5
|
||||
GimpImageDock::minimal_width = 200
|
||||
GimpImageDock::menu_preview_size = small-toolbar
|
||||
GimpToolbox::tool_icon_size = menu
|
||||
GimpToolbox::button_relief = none
|
||||
GimpDockbook::tab_border = 0
|
||||
GimpDockbook::tab_icon_size = menu
|
||||
GimpColorNotebook::tab_border = 0
|
||||
GimpColorNotebook::tab_icon_size = menu
|
||||
GimpDockable::content_border = 1
|
||||
GimpEditor::content_spacing = 1
|
||||
GimpEditor::button_spacing = 1
|
||||
GimpEditor::button_icon_size = menu
|
||||
GtkDialog::content_area_border = 0
|
||||
GtkDialog::button_spacing = 4
|
||||
GtkDialog::action_area_border = 6
|
||||
}
|
||||
|
||||
class "GtkWidget" style "gimp-default-style"
|
||||
|
||||
|
||||
style "gimp-hscale-style"
|
||||
{
|
||||
GtkRange::slider_width = 10
|
||||
}
|
||||
|
||||
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"
|
Reference in New Issue
Block a user