Commit 98ec15a5 authored by Rui Matos's avatar Rui Matos Committed by Bastien Nocera
Browse files

mouse: Remove unused toplevel windows from .ui files

https://bugzilla.gnome.org/show_bug.cgi?id=708286
parent 98719f36
......@@ -359,7 +359,7 @@ cc_mouse_properties_init (CcMouseProperties *object)
d->changing_scroll = FALSE;
gtk_widget_reparent (WID ("prefs_widget"), GTK_WIDGET (object));
gtk_container_add (GTK_CONTAINER (object), WID ("prefs_widget"));
create_dialog (d);
setup_dialog (d);
......
......@@ -22,17 +22,6 @@
<property name="step_increment">100</property>
<property name="page_increment">100</property>
</object>
<object class="GtkDialog" id="mouse_properties_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Mouse Preferences</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="prefs_widget">
<property name="visible">True</property>
<property name="can_focus">False</property>
......@@ -706,64 +695,4 @@
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="helpbutton1">
<property name="label">gtk-help</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="closebutton1">
<property name="label">gtk-close</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget response="0">helpbutton1</action-widget>
<action-widget response="0">closebutton1</action-widget>
</action-widgets>
</object>
</interface>
......@@ -374,7 +374,7 @@ cc_mouse_test_init (CcMouseTest *object)
d->button_drawing_area_timeout_id = 0;
d->scroll_image_timeout_id = 0;
gtk_widget_reparent (WID ("test_widget"), GTK_WIDGET (object));
gtk_container_add (GTK_CONTAINER (object), WID ("test_widget"));
setup_dialog (d);
}
......
......@@ -7,9 +7,6 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
<object class="GtkWindow" id="mouse_test_window">
<property name="can_focus">False</property>
<child>
<object class="GtkGrid" id="test_widget">
<property name="height_request">540</property>
<property name="visible">True</property>
......@@ -98,6 +95,4 @@
</packing>
</child>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment