diff options
-rw-r--r-- | panels/keyboard/cc-keyboard-panel.c | 2 | ||||
-rw-r--r-- | panels/keyboard/gnome-keyboard-panel.ui | 76 |
2 files changed, 1 insertions, 77 deletions
diff --git a/panels/keyboard/cc-keyboard-panel.c b/panels/keyboard/cc-keyboard-panel.c index 6c84fd03e..f39141d4a 100644 --- a/panels/keyboard/cc-keyboard-panel.c +++ b/panels/keyboard/cc-keyboard-panel.c @@ -138,7 +138,7 @@ cc_keyboard_panel_constructor (GType gtype, widget = (GtkWidget *) gtk_builder_get_object (priv->builder, "keyboard_notebook"); - gtk_widget_reparent (widget, (GtkWidget *) self); + gtk_container_add (GTK_CONTAINER (self), widget); return obj; } diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui index dcd3b36bd..ce26f2dd3 100644 --- a/panels/keyboard/gnome-keyboard-panel.ui +++ b/panels/keyboard/gnome-keyboard-panel.ui @@ -154,69 +154,6 @@ <action-widget response="-5">okbutton1</action-widget> </action-widgets> </object> - <object class="GtkDialog" id="gnome-keyboard-dialog"> - <property name="can_focus">False</property> - <property name="border_width">5</property> - <property name="title" translatable="yes">Keyboard</property> - <property name="type_hint">dialog</property> - <child internal-child="vbox"> - <object class="GtkBox" id="keyboard_vbox"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">2</property> - <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="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> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <object class="GtkButton" id="button1"> - <property name="label">gtk-close</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">3</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="pack_type">end</property> - <property name="position">0</property> - </packing> - </child> - <child> <object class="GtkNotebook" id="keyboard_notebook"> <property name="visible">True</property> <property name="can_focus">True</property> @@ -849,19 +786,6 @@ </packing> </child> </object> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - </object> - </child> - <action-widgets> - <action-widget response="0">helpbutton1</action-widget> - <action-widget response="0">button1</action-widget> - </action-widgets> - </object> <object class="GtkSizeGroup" id="lower_sizegroup"> <widgets> <widget name="delay_short_label"/> |