diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-02-19 17:56:34 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2013-02-19 17:56:34 -0300 |
commit | 54acec0fb1fff81a9778d2295df627805bf6e4d7 (patch) | |
tree | a49111556813d4240a41c0842517967dcac0a00c /gladeui | |
parent | 5e46d5b8356bfbaf13bdb6c00827bf03d3d51edc (diff) | |
download | glade-54acec0fb1fff81a9778d2295df627805bf6e4d7.tar.gz |
Replaced GtkButtonBox with a regular GtkBox to pack clear and info buttons
Diffstat (limited to 'gladeui')
-rw-r--r-- | gladeui/glade-editor.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c index e72246ab..ce39e81b 100644 --- a/gladeui/glade-editor.c +++ b/gladeui/glade-editor.c @@ -578,20 +578,17 @@ glade_editor_init (GladeEditor *editor) gtk_box_pack_start (GTK_BOX (editor), priv->class_field, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (editor), priv->notebook, TRUE, TRUE, 0); - hbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); - gtk_box_set_spacing (GTK_BOX (hbox), 6); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_hexpand (hbox, FALSE); /* Reset button */ priv->reset_button = glade_editor_create_reset_button (editor); - gtk_box_pack_start (GTK_BOX (hbox), editor->priv->reset_button, FALSE, FALSE, 0); - gtk_button_box_set_child_non_homogeneous (GTK_BUTTON_BOX (hbox), priv->reset_button, TRUE); + gtk_box_pack_start (GTK_BOX (hbox), priv->reset_button, FALSE, FALSE, 0); gtk_widget_set_no_show_all (editor->priv->reset_button, TRUE); /* Documentation button */ priv->info_button = glade_editor_create_info_button (editor); gtk_box_pack_start (GTK_BOX (hbox), priv->info_button, FALSE, FALSE, 0); - gtk_button_box_set_child_non_homogeneous (GTK_BUTTON_BOX (hbox), priv->info_button, TRUE); gtk_widget_set_no_show_all (priv->info_button, TRUE); gtk_notebook_set_action_widget (GTK_NOTEBOOK (priv->notebook), hbox, GTK_PACK_END); |