[Xfce4-commits] [xfce/xfce4-session] 01/01: Make the Autostart buttons an inline toolbar
noreply at xfce.org
noreply at xfce.org
Wed Apr 24 23:07:56 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-session.
commit 9ff7a20801d53b8f7921e6f9de3d2404cf3836db
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Apr 24 00:34:01 2019 +0200
Make the Autostart buttons an inline toolbar
---
settings/xfae-window.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index ed0b3a1..5f05188 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"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list