[gnome-control-center] color: Remove unused toplevel window from .ui file
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] color: Remove unused toplevel window from .ui file
- Date: Tue, 1 Oct 2013 08:05:41 +0000 (UTC)
commit 73a7f4c4e301a3b89959822d5fcceaca84e7c782
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Sep 16 23:17:43 2013 +0200
color: Remove unused toplevel window from .ui file
https://bugzilla.gnome.org/show_bug.cgi?id=708286
panels/color/cc-color-panel.c | 2 +-
panels/color/color.ui | 12 ------------
2 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/panels/color/cc-color-panel.c b/panels/color/cc-color-panel.c
index f0bd474..667ed75 100644
--- a/panels/color/cc-color-panel.c
+++ b/panels/color/cc-color-panel.c
@@ -2536,7 +2536,7 @@ cc_color_panel_init (CcColorPanel *prefs)
widget = WID (priv->builder, "dialog-vbox1");
- gtk_widget_reparent (widget, (GtkWidget *) prefs);
+ gtk_container_add (GTK_CONTAINER (prefs), widget);
g_signal_connect (widget, "realize",
G_CALLBACK (gcm_prefs_window_realize_cb),
prefs);
diff --git a/panels/color/color.ui b/panels/color/color.ui
index 454e5eb..ca93a6a 100644
--- a/panels/color/color.ui
+++ b/panels/color/color.ui
@@ -8,7 +8,6 @@
<property name="modal">True</property>
<property name="window_position">center-on-parent</property>
<property name="destroy_with_parent">True</property>
- <property name="transient_for">dialog_prefs</property>
<child>
<object class="GtkBox" id="box_calib_quality">
<property name="visible">True</property>
@@ -627,7 +626,6 @@
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
- <property name="transient_for">dialog_prefs</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox3">
<property name="visible">True</property>
@@ -764,7 +762,6 @@
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
- <property name="transient_for">dialog_prefs</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox2">
<property name="visible">True</property>
@@ -1002,13 +999,6 @@
<action-widget response="0">button_virtual_add</action-widget>
</action-widgets>
</object>
- <object class="GtkWindow" id="dialog_prefs">
- <property name="can_focus">False</property>
- <property name="border_width">12</property>
- <property name="title" translatable="yes">Color</property>
- <property name="window_position">center</property>
- <property name="icon_name">preferences-system</property>
- <child>
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1249,8 +1239,6 @@
</packing>
</child>
</object>
- </child>
- </object>
<object class="GtkListStore" id="liststore_assign">
<columns>
<!-- column-name title -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]