[ease/plugins] Fix progress bar size.



commit ec3fc131c7e4e4ad043e03d9ad0f1dd2abf4b0a0
Author: Nate Stedman <natesm gmail com>
Date:   Thu Jun 17 12:00:07 2010 -0400

    Fix progress bar size.

 plugins/oca-dialog.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/oca-dialog.vala b/plugins/oca-dialog.vala
index 8f5af1d..a867f84 100644
--- a/plugins/oca-dialog.vala
+++ b/plugins/oca-dialog.vala
@@ -54,7 +54,6 @@ public class OCA.Dialog : Gtk.Dialog
 		
 		// progress
 		progress = new Gtk.ProgressBar();
-		progress.set_size_request(SPIN_SIZE, SPIN_SIZE);
 		progress_align = new Gtk.Alignment(0, 1, 1, 0);
 		progress_align.add(progress);
 		
@@ -62,6 +61,7 @@ public class OCA.Dialog : Gtk.Dialog
 		icons = new Gtk.IconView();
 		icons_scroll = new Gtk.ScrolledWindow(null, null);
 		icons_scroll.add_with_viewport(icons);
+		icons_scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.ALWAYS);
 		
 		// pack search field and button
 		var hbox = new Gtk.HBox(false, 5);



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