[gnome-tweak-tool] It looks nicer with the theme chooser button on the left



commit f0d919752d41ec16e85e4a7c9c0d41cc4fb1d00b
Author: John Stowers <john stowers gmail com>
Date:   Fri May 27 16:47:38 2011 +1200

    It looks nicer with the theme chooser button on the left

 gtweak/tweaks/tweak_shell.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_shell.py b/gtweak/tweaks/tweak_shell.py
index 20ffe1b..f902590 100644
--- a/gtweak/tweaks/tweak_shell.py
+++ b/gtweak/tweaks/tweak_shell.py
@@ -97,6 +97,10 @@ class ShellThemeTweak(Tweak):
                         os.path.exists(os.path.join(d, "gnome-shell")) and \
                         os.path.exists(os.path.join(d, "gnome-shell", "gnome-shell.css")))
 
+            chooser = ZipFileChooserButton("Select a theme file")
+            chooser.connect("file-set", self._on_file_set)
+            hb.pack_start(chooser, False, False, 5)
+
             #build a combo box with all the valid theme options
             #manually add Adwaita to represent the default
             cb = build_combo_box_text(
@@ -104,15 +108,11 @@ class ShellThemeTweak(Tweak):
                     ("", "Adwaita"),
                     *[(v,v) for v in valid])
             cb.connect('changed', self._on_combo_changed)
-            hb.pack_start(cb, False, False, 5)
+            hb.pack_start(cb, False, False, 0)
             self.combo = cb
 
-            chooser = ZipFileChooserButton("Select a theme file")
-            chooser.connect("file-set", self._on_file_set)
-            hb.pack_start(chooser, False, False, 0)
-
             self.widget = build_label_beside_widget(self.name, hb)
-            self.widget_for_size_group = chooser
+            self.widget_for_size_group = cb
     
     def _on_file_set(self, chooser):
         f = chooser.get_filename()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]