diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2019-04-24 00:34:01 +0200 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2019-04-24 23:07:35 +0200 |
commit | 9ff7a20801d53b8f7921e6f9de3d2404cf3836db (patch) | |
tree | aba66c7b959ac8604d4a878d5cee6598325fba46 /settings | |
parent | 27739195dee728cd88f86eb688a130a0d83bf0fb (diff) | |
download | xfce4-session-9ff7a20801d53b8f7921e6f9de3d2404cf3836db.tar.gz |
Make the Autostart buttons an inline toolbar
Diffstat (limited to 'settings')
-rw-r--r-- | settings/xfae-window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/xfae-window.c b/settings/xfae-window.c index ed0b3a12..5f05188c 100644 --- a/settings/xfae-window.c +++ b/settings/xfae-window.c @@ -87,11 +87,11 @@ xfae_window_init (XfaeWindow *window) vbox = GTK_WIDGET(window); gtk_orientable_set_orientation (GTK_ORIENTABLE (vbox), GTK_ORIENTATION_VERTICAL); - gtk_box_set_spacing (GTK_BOX (vbox), 6); + gtk_box_set_spacing (GTK_BOX (vbox), 0); gtk_container_set_border_width (GTK_CONTAINER (vbox), 12); hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); - gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 6); gtk_widget_show (hbox); img = gtk_image_new_from_icon_name ("dialog-information", GTK_ICON_SIZE_DIALOG); @@ -172,8 +172,9 @@ xfae_window_init (XfaeWindow *window) gtk_tree_view_append_column (GTK_TREE_VIEW (window->treeview), column); - bbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); + bbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start (GTK_BOX (vbox), bbox, FALSE, TRUE, 0); + gtk_style_context_add_class (gtk_widget_get_style_context (bbox), "inline-toolbar"); gtk_widget_show (bbox); button = gtk_button_new_with_label (_("Add")); |