[gnome-themes-standard] Add an inline toolbar special case for the file chooser
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Add an inline toolbar special case for the file chooser
- Date: Fri, 17 Aug 2012 15:10:16 +0000 (UTC)
commit 50862a7479c100109a61b26399fd3f7d56ec01a6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun Jul 8 19:31:17 2012 -0400
Add an inline toolbar special case for the file chooser
themes/Adwaita/gtk-2.0/Makefile.am | 6 ++++--
themes/Adwaita/gtk-2.0/Toolbar/inline-toolbar.png | Bin 0 -> 2883 bytes
themes/Adwaita/gtk-2.0/gtkrc | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-2.0/Makefile.am b/themes/Adwaita/gtk-2.0/Makefile.am
index 64b1f37..30b7cf7 100644
--- a/themes/Adwaita/gtk-2.0/Makefile.am
+++ b/themes/Adwaita/gtk-2.0/Makefile.am
@@ -5,7 +5,7 @@ theme_DATA = gtkrc
asset_dirs = "Arrows" "Buttons" "Check-Radio" "Entry" "Expanders" \
"Handles" "Lines" "Menu-Menubar" "Others" "ProgressBar" \
- "Range" "Scrollbars" "Shadows" "Spin" "Tabs"
+ "Range" "Scrollbars" "Shadows" "Spin" "Tabs" "Toolbar"
asset_data =
Arrows/arrow-down-insens.png \
Arrows/arrow-down.png \
@@ -86,7 +86,9 @@ asset_data =
Tabs/tab-bottom-active.png \
Tabs/tab-left-active.png \
Tabs/tab-right-active.png \
- Tabs/tab-top-active.png
+ Tabs/tab-top-active.png \
+ Toolbar/inline-toolbar.png
+
install-data-local:
for dir in $(asset_dirs); do \
for file in `cd $(srcdir)/$$dir && find . -maxdepth 1 \( -name "*.png" \)`; do \
diff --git a/themes/Adwaita/gtk-2.0/Toolbar/inline-toolbar.png b/themes/Adwaita/gtk-2.0/Toolbar/inline-toolbar.png
new file mode 100644
index 0000000..9173478
Binary files /dev/null and b/themes/Adwaita/gtk-2.0/Toolbar/inline-toolbar.png differ
diff --git a/themes/Adwaita/gtk-2.0/gtkrc b/themes/Adwaita/gtk-2.0/gtkrc
index d0b14d7..0a8f7a0 100755
--- a/themes/Adwaita/gtk-2.0/gtkrc
+++ b/themes/Adwaita/gtk-2.0/gtkrc
@@ -1375,6 +1375,21 @@ style "toolbar"
}
}
+style "inline_toolbar"
+{
+ GtkToolbar::button-relief = GTK_RELIEF_NORMAL
+
+ engine "pixmap"
+ {
+ image
+ {
+ function = BOX
+ file = "Toolbar/inline-toolbar.png"
+ stretch = TRUE
+ }
+ }
+}
+
style "tooltips"
{
xthickness = 8
@@ -1444,6 +1459,7 @@ widget_class "*<GtkComboBox>*<GtkButton>" style "combobox_button"
widget_class "*<GtkComboBox>*<GtkSeparator>" style "combobox_separator"
widget_class "*HandleBox" style "handlebox"
widget_class "*<GtkTreeView>*<GtkButton>*" style "treeview_header"
+widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
widget_class "*Chrom*Button*" style "button"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]