[Xfce4-commits] [xfce/xfdesktop] 02/02: Fix icon size in Settings -> Default Icons
noreply at xfce.org
noreply at xfce.org
Sat Dec 22 02:43:26 CET 2018
This is an automated email from the git hooks/post-receive script.
a n d r e 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/xfdesktop.
commit 552b607ce7fb3fd3a199a5e98f8c95cc1c39a94e
Author: Andre Miranda <andreldm at xfce.org>
Date: Fri Dec 21 22:42:19 2018 -0300
Fix icon size in Settings -> Default Icons
Also introduce spacing between cell renderers
---
settings/main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/settings/main.c b/settings/main.c
index 38f2da3..76bf6ca 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -444,9 +444,9 @@ setup_special_icon_list(GtkBuilder *gxml,
GdkPixbuf *pix = NULL;
if(gtk_icon_theme_has_icon(itheme, icons[i].icon))
- pix = gtk_icon_theme_load_icon(itheme, icons[i].icon, w, 0, NULL);
+ pix = gtk_icon_theme_load_icon(itheme, icons[i].icon, w, GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
else
- pix = gtk_icon_theme_load_icon(itheme, icons[i].icon_fallback, w, 0, NULL);
+ pix = gtk_icon_theme_load_icon(itheme, icons[i].icon_fallback, w, GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
if(i < REMOVABLE_DEVICES) {
gtk_tree_store_append(ts, &parent_iter, NULL);
@@ -472,6 +472,7 @@ setup_special_icon_list(GtkBuilder *gxml,
treeview = GTK_WIDGET(gtk_builder_get_object(gxml, "treeview_default_icons"));
g_object_set_data(G_OBJECT(treeview), "xfconf-channel", channel);
col = gtk_tree_view_column_new();
+ gtk_tree_view_column_set_spacing(col, 6);
gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), col);
render = gtk_cell_renderer_toggle_new();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list