[gnome-control-center] bluetooth: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] bluetooth: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:05:21 +0000 (UTC)
commit 37b31bec3bbfe090a544e17dc7917b1498868456
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 11:51:28 2013 +0200
bluetooth: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/bluetooth/bluetooth.ui | 5 -----
panels/bluetooth/cc-bluetooth-panel.c | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/panels/bluetooth/bluetooth.ui b/panels/bluetooth/bluetooth.ui
index d172a40..5b17064 100644
--- a/panels/bluetooth/bluetooth.ui
+++ b/panels/bluetooth/bluetooth.ui
@@ -20,9 +20,6 @@
</packing>
</child>
</object>
- <object class="GtkWindow" id="window1">
- <property name="can_focus">False</property>
- <child>
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -659,6 +656,4 @@
</packing>
</child>
</object>
- </child>
- </object>
</interface>
diff --git a/panels/bluetooth/cc-bluetooth-panel.c b/panels/bluetooth/cc-bluetooth-panel.c
index e769ae7..bb51c05 100644
--- a/panels/bluetooth/cc-bluetooth-panel.c
+++ b/panels/bluetooth/cc-bluetooth-panel.c
@@ -817,7 +817,7 @@ cc_bluetooth_panel_init (CcBluetoothPanel *self)
}
widget = WID ("grid");
- gtk_widget_reparent (widget, GTK_WIDGET (self));
+ gtk_container_add (GTK_CONTAINER (self), widget);
/* Overall device state */
cc_bluetooth_panel_update_state (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]