[Xfce4-commits] <xfdesktop:master> Change wallpaper iconview spacing and max width
Eric Koegel
noreply at xfce.org
Sun Aug 4 10:36:23 CEST 2013
Updating branch refs/heads/master
to 520f3055a62a5c125be42127bd81a6bf705d760c (commit)
from 9587dfd4a006c121ceceb068b969093956b24fc0 (commit)
commit 520f3055a62a5c125be42127bd81a6bf705d760c
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri Apr 12 11:08:51 2013 +0300
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 7c167ab..1e0df52 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);
More information about the Xfce4-commits
mailing list