[Xfce4-commits] [apps/xfburn] 29/42: added some alignments to the welcome buttons

noreply at xfce.org noreply at xfce.org
Tue Oct 15 02:22:12 CEST 2019


This is an automated email from the git hooks/post-receive script.

k   a   t   a   n   a   s   t   e   e   l       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 apps/xfburn.

commit e4a04cbb6473b52d5197f24755437bcf4d90f2a6
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date:   Sat Dec 15 11:39:31 2018 -0800

    added some alignments to the welcome buttons
---
 xfburn/xfburn-welcome-tab.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/xfburn/xfburn-welcome-tab.c b/xfburn/xfburn-welcome-tab.c
index e91c73e..fa892f7 100644
--- a/xfburn/xfburn-welcome-tab.c
+++ b/xfburn/xfburn-welcome-tab.c
@@ -189,12 +189,19 @@ create_welcome_button (const gchar *stock, const gchar *text, const gchar *secon
   gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), text);
   gtk_label_set_mnemonic_widget (GTK_LABEL (label), button);
 
-  image = gtk_image_new_from_icon_name (stock, GTK_ICON_SIZE_DIALOG);
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+  
+  align = gtk_label_new (NULL);
+  gtk_box_pack_start (GTK_BOX (hbox), align, TRUE, TRUE, 0);
 
+  image = gtk_image_new_from_icon_name (stock, GTK_ICON_SIZE_DIALOG);
   gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
-  gtk_box_pack_end (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
+  // adding the lables
+  gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
+
+  align = gtk_label_new (NULL);
+  gtk_box_pack_end (GTK_BOX (hbox), align, TRUE, TRUE, 0);
 
   gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list