[gnome-control-center] info: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:06:22 +0000 (UTC)
commit ae198328262746786fa12f44a98da288df6b6078
Author: Rui Matos <tiagomatos gmail com>
Date: Tue Sep 17 14:33:09 2013 +0200
info: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/info/cc-info-panel.c | 2 +-
panels/info/info.ui | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 04112e0..247f41c 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1568,7 +1568,7 @@ info_panel_setup_overview (CcInfoPanel *self)
gtk_label_set_markup (GTK_LABEL (widget), self->priv->graphics_data->hardware_string);
widget = WID ("info_vbox");
- gtk_widget_reparent (widget, (GtkWidget *) self);
+ gtk_container_add (GTK_CONTAINER (self), widget);
refresh_update_button (self);
}
diff --git a/panels/info/info.ui b/panels/info/info.ui
index c7b193a..dcc9b93 100644
--- a/panels/info/info.ui
+++ b/panels/info/info.ui
@@ -175,9 +175,6 @@
<action-widget response="0">button1</action-widget>
</action-widgets>
</object>
- <object class="GtkWindow" id="window1">
- <property name="can_focus">False</property>
- <child>
<object class="GtkBox" id="info_vbox">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1193,6 +1190,4 @@
</packing>
</child>
</object>
- </child>
- </object>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]