[gnome-control-center] online-accounts: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] online-accounts: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:07:12 +0000 (UTC)
commit 9288bbbffc7208bb6806068713b26dfe9df3ba11
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 16:40:24 2013 +0200
online-accounts: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/online-accounts/cc-online-accounts-panel.c | 2 +-
panels/online-accounts/online-accounts.ui | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index 2edacf8..18a063a 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -329,7 +329,7 @@ cc_goa_panel_init (CcGoaPanel *panel)
out:
w = GTK_WIDGET (gtk_builder_get_object (panel->builder, "goa-top-widget"));
- gtk_widget_reparent (w, GTK_WIDGET (panel));
+ gtk_container_add (GTK_CONTAINER (panel), w);
gtk_widget_show_all (w);
}
diff --git a/panels/online-accounts/online-accounts.ui b/panels/online-accounts/online-accounts.ui
index bba7f7f..ea85a96 100644
--- a/panels/online-accounts/online-accounts.ui
+++ b/panels/online-accounts/online-accounts.ui
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkWindow" id="goa-main-window">
- <property name="can_focus">False</property>
- <child>
<object class="GtkBox" id="goa-top-widget">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -218,6 +215,4 @@
</packing>
</child>
</object>
- </child>
- </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]