[Xfce4-commits] <xfdesktop:eric/wallpaper-and-settings-improvements> Change thumbnail and padding in the settings app

Eric Koegel noreply at xfce.org
Sat Mar 16 12:18:01 CET 2013


Updating branch refs/heads/eric/wallpaper-and-settings-improvements
         to 8e38b064c7c09c787d7af78efff4eaa59c235510 (commit)
       from f51d49ec663ae59c3c5c357eedd9c378a1fdfd13 (commit)

commit 8e38b064c7c09c787d7af78efff4eaa59c235510
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sat Mar 16 13:30:32 2013 +0300

    Change thumbnail and padding in the settings app
    
    Increase the thumbnail size and lower the padding between individual
    thumbnails in xfdesktop-settings.

 settings/main.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/settings/main.c b/settings/main.c
index 95ced14..71f917f 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -54,9 +54,8 @@
 #include "xfdesktop-settings-ui.h"
 #include "xfdesktop-settings-appearance-frame-ui.h"
 
-#define PREVIEW_HEIGHT  48
-#define MAX_ASPECT_RATIO 3.0f
-#define PREVIEW_WIDTH 128
+#define PREVIEW_HEIGHT  96
+#define MAX_ASPECT_RATIO 2.0f
 
 #define SHOW_DESKTOP_MENU_PROP               "/desktop-menu/show"
 #define DESKTOP_MENU_SHOW_ICONS_PROP         "/desktop-menu/show-icons"
@@ -1126,9 +1125,11 @@ xfdesktop_settings_setup_image_iconview(AppearancePanel *panel)
 
     g_object_set(G_OBJECT(iconview),
                 "pixbuf-column", COL_PIX,
-                "item-width", PREVIEW_WIDTH,
                 "tooltip-column", COL_NAME,
                 "selection-mode", GTK_SELECTION_BROWSE,
+                "column-spacing", 2,
+                "item-padding", 2,
+                "margin", 2,
                 NULL);
 
     g_signal_connect(G_OBJECT(iconview), "selection-changed",


More information about the Xfce4-commits mailing list