[gnome-control-center] user-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] user-accounts: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:08:07 +0000 (UTC)
commit 4001cbfc24497a5135e934e396e1b2a0e6c7eaf3
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Sep 18 11:56:36 2013 +0200
user-accounts: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/user-accounts/data/user-accounts-dialog.ui | 17 -----------------
panels/user-accounts/um-user-panel.c | 2 +-
2 files changed, 1 insertions(+), 18 deletions(-)
---
diff --git a/panels/user-accounts/data/user-accounts-dialog.ui
b/panels/user-accounts/data/user-accounts-dialog.ui
index b373deb..df5f740 100644
--- a/panels/user-accounts/data/user-accounts-dialog.ui
+++ b/panels/user-accounts/data/user-accounts-dialog.ui
@@ -33,19 +33,6 @@
<column type="gchararray"/>
</columns>
</object>
- <object class="GtkWindow" id="user-account-window">
- <property name="border_width">12</property>
- <property name="title" translatable="yes">Account Information</property>
- <property name="icon_name">system-users</property>
- <child>
- <object class="GtkVBox" id="user-account-main-vbox">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <property name="margin-left">6</property>
- <property name="margin-right">6</property>
- <property name="margin-top">6</property>
- <property name="margin-bottom">6</property>
- <child>
<object class="GtkVBox" id="accounts-vbox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
@@ -522,10 +509,6 @@
</object>
</child>
</object>
- </child>
- </object>
- </child>
- </object>
<object class="GtkSizeGroup" id="user-icon-sizegroup">
<property name="mode">both</property>
<widgets>
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 73a93e1..516d96d 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1429,7 +1429,7 @@ cc_user_panel_init (CcUserPanel *self)
button = get_widget (d, "user-icon-button");
d->photo_dialog = um_photo_dialog_new (button);
d->main_box = get_widget (d, "accounts-vbox");
- gtk_widget_reparent (d->main_box, GTK_WIDGET (self));
+ gtk_container_add (GTK_CONTAINER (self), d->main_box);
d->history_dialog = um_history_dialog_new ();
setup_main_window (d);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]