[Xfce4-commits] [xfce/xfce4-session] 01/01: In autostart some apps (e.g. xfce-polkit) have bigger icons

noreply at xfce.org noreply at xfce.org
Sun Aug 26 16:25:35 CEST 2018


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

e   r   i   c       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 87f5537d3257459ca68373ef8a98a6d3166a4539
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Aug 26 10:24:39 2018 -0400

    In autostart some apps (e.g. xfce-polkit) have bigger icons
    
    Patch by Andre Miranda.
---
 settings/xfae-model.c  | 5 ++++-
 settings/xfae-window.c | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/settings/xfae-model.c b/settings/xfae-model.c
index b137c5e..f87d030 100644
--- a/settings/xfae-model.c
+++ b/settings/xfae-model.c
@@ -468,7 +468,10 @@ xfae_item_new (const gchar *relpath)
 
           value = xfce_rc_read_entry (rc, "Icon", "application-x-executable");
           if (G_UNLIKELY (value != NULL))
-            item->icon = gtk_icon_theme_load_icon (icon_theme, value, 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK, NULL);
+            {
+              item->icon = gtk_icon_theme_load_icon (icon_theme, value, 16,
+                GTK_ICON_LOOKUP_GENERIC_FALLBACK | GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
+            }
 
           value = xfce_rc_read_entry (rc, "Comment", NULL);
           if (G_LIKELY (value != NULL))
diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 41579be..65c73ef 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -97,7 +97,7 @@ xfae_window_init (XfaeWindow *window)
   img = gtk_image_new_from_icon_name ("dialog-information", GTK_ICON_SIZE_DIALOG);
   gtk_box_pack_start (GTK_BOX (hbox), img, FALSE, FALSE, 0);
   gtk_widget_set_halign (GTK_WIDGET (img), GTK_ALIGN_CENTER);
-  gtk_widget_set_valign (GTK_WIDGET (img), GTK_ALIGN_END);
+  gtk_widget_set_valign (GTK_WIDGET (img), GTK_ALIGN_CENTER);
   gtk_widget_show (img);
 
   label = g_object_new (GTK_TYPE_LABEL,

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


More information about the Xfce4-commits mailing list