[Xfce4-commits] [xfce/xfdesktop] 02/02: Fix icon size in Settings -> Default Icons Also introduce spacing between cell renderers
noreply at xfce.org
noreply at xfce.org
Fri May 10 22:54:21 CEST 2019
This is an automated email from the git hooks/post-receive script.
a l e x p u s h e d a c o m m i t t o b r a n c h x f c e - 4 . 1 2
in repository xfce/xfdesktop.
commit de120eaf1975d3d50f13cae203b89e014ec0c62d
Author: Andre Miranda <andreldm at xfce.org>
Date: Fri May 10 22:48:15 2019 +0200
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 7c85bc0..c42fb35 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -441,9 +441,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);
@@ -469,6 +469,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