From 520f3055a62a5c125be42127bd81a6bf705d760c Mon Sep 17 00:00:00 2001 From: Eric Koegel Date: Fri, 12 Apr 2013 11:08:51 +0300 Subject: Change wallpaper iconview spacing and max width Changed the max aspect ratio of the xfdesktop-settings iconview so it would pack the images better. Removed some of the row and column spacing and increased the item-padding so that the selected item stands out better. --- settings/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings/main.c b/settings/main.c index 7c167abc..1e0df52f 100644 --- a/settings/main.c +++ b/settings/main.c @@ -55,7 +55,7 @@ #include "xfdesktop-settings-appearance-frame-ui.h" #define PREVIEW_HEIGHT 96 -#define MAX_ASPECT_RATIO 2.0f +#define MAX_ASPECT_RATIO 1.5f #define SHOW_DESKTOP_MENU_PROP "/desktop-menu/show" #define DESKTOP_MENU_SHOW_ICONS_PROP "/desktop-menu/show-icons" @@ -1220,7 +1220,9 @@ xfdesktop_settings_setup_image_iconview(AppearancePanel *panel) "pixbuf-column", COL_PIX, "tooltip-column", COL_NAME, "selection-mode", GTK_SELECTION_BROWSE, - "column-spacing", 2, + "column-spacing", 1, + "row-spacing", 1, + "item-padding", 10, "margin", 2, NULL); -- cgit v1.2.1