← Back to team overview

zeitgeist team mailing list archive

[Merge] lp:~robert-ancell/activity-log-manager/panel-width into lp:activity-log-manager

 

Robert Ancell has proposed merging lp:~robert-ancell/activity-log-manager/panel-width into lp:activity-log-manager.

Commit message:
Stop control center panel from expanding too wide

Requested reviews:
  Activity Log Manager (activity-log-manager)
Related bugs:
  Bug #1265239 in activity-log-manager (Ubuntu): "Security and Privacy in System Settings is too big"
  https://bugs.launchpad.net/ubuntu/+source/activity-log-manager/+bug/1265239

For more details, see:
https://code.launchpad.net/~robert-ancell/activity-log-manager/panel-width/+merge/204452
-- 
https://code.launchpad.net/~robert-ancell/activity-log-manager/panel-width/+merge/204452
Your team Activity Log Manager is requested to review the proposed merge of lp:~robert-ancell/activity-log-manager/panel-width into lp:activity-log-manager.
=== modified file 'src/unified-privacy.vala'
--- src/unified-privacy.vala	2013-07-11 02:13:34 +0000
+++ src/unified-privacy.vala	2014-02-03 10:59:45 +0000
@@ -176,6 +176,7 @@
 			label.set_line_wrap(true);
 			label.set_line_wrap_mode(Pango.WrapMode.WORD);
 			label.set_alignment(0, 0.5f);
+			label.set_max_width_chars(60);
 			this.pack_start(label, false);
 			
 			record_button = new Switch();
@@ -250,7 +251,7 @@
 			al.add (checkbox_label);
 			
 			var checkbox_vbox = new Box(Orientation.VERTICAL, 0);
-			checkbox_vbox.pack_start (al, false);
+			checkbox_vbox.pack_start (al, false, false, 5);
 			checkbox_vbox.pack_start (checkbox_hbox, true);
 			
 			//Exception List
@@ -328,8 +329,8 @@
 
 			exception_vbox.pack_start(exception_toolbar, false, false);
 			
-			var general_hbox = new Box(Orientation.HORIZONTAL, 0);
-			general_hbox.pack_start(checkbox_vbox, true);
+			var general_hbox = new Box(Orientation.HORIZONTAL, 5);
+			general_hbox.pack_start(checkbox_vbox, false);
 			general_hbox.pack_start(exception_vbox, true);
 			
 			this.pack_start(general_hbox, false);


References