[gnome-control-center] universal-access: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:08:12 +0000 (UTC)
commit 926615b3f57d8674a12d02748b42c869bca0665d
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Sep 18 13:19:55 2013 +0200
universal-access: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/universal-access/cc-ua-panel.c | 2 +-
panels/universal-access/uap.ui | 5 -----
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index b9bd707..ba6c14b 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -840,5 +840,5 @@ cc_ua_panel_init (CcUaPanel *self)
priv->focus_adjustment = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (panel));
gtk_container_set_focus_vadjustment (GTK_CONTAINER (content), priv->focus_adjustment);
- gtk_widget_reparent (panel, GTK_WIDGET (self));
+ gtk_container_add (GTK_CONTAINER (self), panel);
}
diff --git a/panels/universal-access/uap.ui b/panels/universal-access/uap.ui
index cd2bd0d..4ba90ef 100644
--- a/panels/universal-access/uap.ui
+++ b/panels/universal-access/uap.ui
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkWindow" id="window1">
- <property name="can_focus">False</property>
- <child>
<object class="GtkScrolledWindow" id="universal_access_panel">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -739,8 +736,6 @@
</object>
</child>
</object>
- </child>
- </object>
<object class="GtkAdjustment" id="text_scaling_factor_adjustment">
<property name="lower">0.5</property>
<property name="upper">3</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]