[gnome-packagekit] Get rid of the 'Display Notification' section in the preferences pane after UI review
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Get rid of the 'Display Notification' section in the preferences pane after UI review
- Date: Fri, 19 Jun 2009 03:41:31 -0400 (EDT)
commit 834e246e53cd986d528f362a91d025d2b7776f4b
Author: Richard Hughes <richard hughsie com>
Date: Fri Jun 19 08:40:25 2009 +0100
Get rid of the 'Display Notification' section in the preferences pane after UI review
data/gpk-prefs.ui | 69 +----------------------------------------------------
src/gpk-prefs.c | 6 ----
2 files changed, 1 insertions(+), 74 deletions(-)
---
diff --git a/data/gpk-prefs.ui b/data/gpk-prefs.ui
index e58346f..379c587 100644
--- a/data/gpk-prefs.ui
+++ b/data/gpk-prefs.ui
@@ -153,6 +153,7 @@
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="stock">gtk-dialog-info</property>
+ <property name="icon-size">5</property>
</object>
<packing>
<property name="expand">False</property>
@@ -188,74 +189,6 @@
<property name="position">0</property>
</packing>
</child>
- <child>
- <object class="GtkVBox" id="vbox3">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <child>
- <object class="GtkLabel" id="label_notify2">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes" comments="section for notifications"><b>Display Notification</b></property>
- <property name="use_markup">True</property>
- </object>
- <packing>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkAlignment" id="alignment3">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="top_padding">6</property>
- <property name="left_padding">12</property>
- <child>
- <object class="GtkVBox" id="vbox2">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkCheckButton" id="checkbutton_notify_updates">
- <property name="label" translatable="yes">When _updates are available</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="checkbutton_notify_completed">
- <property name="label" translatable="yes">When long _tasks have completed</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="position">1</property>
- </packing>
- </child>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/gpk-prefs.c b/src/gpk-prefs.c
index 7e54182..a309a3b 100644
--- a/src/gpk-prefs.c
+++ b/src/gpk-prefs.c
@@ -466,12 +466,6 @@ main (int argc, char *argv[])
/* Get the main window quit */
g_signal_connect_swapped (main_window, "delete_event", G_CALLBACK (gtk_main_quit), NULL);
- widget = GTK_WIDGET (gtk_builder_get_object (builder, "checkbutton_notify_updates"));
- gpk_prefs_notify_checkbutton_setup (widget, GPK_CONF_NOTIFY_AVAILABLE);
-
- widget = GTK_WIDGET (gtk_builder_get_object (builder, "checkbutton_notify_completed"));
- gpk_prefs_notify_checkbutton_setup (widget, GPK_CONF_NOTIFY_COMPLETED);
-
widget = GTK_WIDGET (gtk_builder_get_object (builder, "checkbutton_mobile_broadband"));
gpk_prefs_notify_checkbutton_setup (widget, GPK_CONF_CONNECTION_USE_MOBILE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]