[gnome-control-center] datetime: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] datetime: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:06:06 +0000 (UTC)
commit a401a914eb6091344483e5c67843cccfc3b9163d
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 12:15:31 2013 +0200
datetime: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/datetime/cc-datetime-panel.c | 2 +-
panels/datetime/datetime.ui | 6 ------
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index 7a70780..65da3d6 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -1339,7 +1339,7 @@ cc_date_time_panel_init (CcDateTimePanel *self)
}
widget = W ("vbox_datetime");
- gtk_widget_reparent (widget, GTK_WIDGET (self));
+ gtk_container_add (GTK_CONTAINER (self), widget);
/* setup the time itself */
priv->clock_tracker = g_object_new (GNOME_TYPE_WALL_CLOCK, NULL);
diff --git a/panels/datetime/datetime.ui b/panels/datetime/datetime.ui
index 7aa2a1b..29c8b7b 100644
--- a/panels/datetime/datetime.ui
+++ b/panels/datetime/datetime.ui
@@ -448,10 +448,6 @@
</object>
</child>
</object>
- <object class="GtkWindow" id="window_datetime">
- <property name="can_focus">False</property>
- <property name="resizable">False</property>
- <child>
<object class="GtkBox" id="vbox_datetime">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -796,8 +792,6 @@
</packing>
</child>
</object>
- </child>
- </object>
<object class="GtkSizeGroup" id="row_sizegroup">
<property name="mode">vertical</property>
<widgets>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]