*** empty log message ***
authorgc <gc>
Tue, 29 Apr 2008 22:01:42 +0000 (22:01 +0000)
committergc <gc>
Tue, 29 Apr 2008 22:01:42 +0000 (22:01 +0000)
bin/booh

index 3e9fd47..028f3b4 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -2706,9 +2706,9 @@ def theme_choose(current)
         end
     }
 
-    dialog.vbox.add(sw = Gtk::ScrolledWindow.new(nil, nil).add(treeview).set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC))
+    dialog.vbox.add(sw = Gtk::ScrolledWindow.new(nil, nil).add(treeview).set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC))
 
-    `find '#{$FPATH}/themes' -mindepth 1 -maxdepth 1 -type d`.each { |dir|
+    ([ $FPATH + '/themes/simple' ] + (`find '#{$FPATH}/themes' -mindepth 1 -maxdepth 1 -type d`.find_all { |e| e !~ /simple$/ }.sort)).each { |dir|
         dir.chomp!
         iter = model.append
         iter[0] = File.basename(dir)
@@ -2719,9 +2719,9 @@ def theme_choose(current)
             treeview.selection.select_iter(iter)
         end
     }
-
-    dialog.set_default_size(700, 400)
+    dialog.set_default_size(-1, 500)
     dialog.vbox.show_all
+
     dialog.run { |response|
         iter = treeview.selection.selected
         dialog.destroy