=== modified file 'data/whoopsie.ui'
--- data/whoopsie.ui 2013-07-19 10:31:55 +0000
+++ data/whoopsie.ui 2014-02-03 11:32:22 +0000
@@ -23,6 +23,7 @@
False
0
Ubuntu can collect anonymous information that helps developers improve it. All information collected is covered by our privacy policy.
+ 60
True
@@ -147,6 +148,7 @@
0
<small>Error reports include information about what a program was doing when it failed. You always have the choice to send or cancel an error report.</small>
True
+ 60
True
@@ -256,6 +258,7 @@
24
<small>This includes things like how many programs are running, how much disk space the computer has, and what devices are connected.</small>
True
+ 60
True
=== modified file 'src/diagnostics-widget.c'
--- src/diagnostics-widget.c 2013-07-19 10:31:55 +0000
+++ src/diagnostics-widget.c 2014-02-03 11:32:22 +0000
@@ -191,10 +191,13 @@
GtkWidget* show_previous_reports = NULL;
WhoopsieDaisyPreferencesPrivate* priv;
priv = self->priv = WHOOPSIE_DAISY_PREFERENCES_PRIVATE (self);
+ gchar **objects;
priv->builder = gtk_builder_new ();
gtk_builder_set_translation_domain (priv->builder, GETTEXT_PACKAGE);
- gtk_builder_add_from_file(priv->builder, GNOMECC_UI_DIR "/whoopsie.ui", &error);
+ objects = g_strsplit ("privacy_page_box", ":", -1);
+ gtk_builder_add_objects_from_file(priv->builder, GNOMECC_UI_DIR "/whoopsie.ui", objects, &error);
+ g_strfreev (objects);
if (error != NULL) {
g_warning ("Could not load interface file: %s", error->message);
g_error_free (error);
@@ -214,7 +217,7 @@
show_previous_reports = GTK_WIDGET (
gtk_builder_get_object (priv->builder, "show_previous_reports"));
- gtk_widget_reparent (privacy_page, (GtkWidget *) self);
+ gtk_box_pack_start (GTK_BOX (self), privacy_page, TRUE, TRUE, 0);
g_object_set (self, "valign", GTK_ALIGN_START, NULL);
priv->permission = polkit_permission_new_sync (POL_PATH, NULL, NULL, &error);
=== modified file 'src/unified-privacy.vala'
--- src/unified-privacy.vala 2013-07-11 02:13:34 +0000
+++ src/unified-privacy.vala 2014-02-03 11:32:22 +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);