[Xfce4-commits] <xfdesktop:master> Update default icon size, spacing, and text proportion

Eric Koegel noreply at xfce.org
Mon Feb 10 20:12:01 CET 2014


Updating branch refs/heads/master
         to 09f4a5e334a6858369ea69cc62ddd381250c9d62 (commit)
       from 03900b4256dcd4e597882fa7116da3b2d7b56001 (commit)

commit 09f4a5e334a6858369ea69cc62ddd381250c9d62
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Mon Feb 10 22:05:27 2014 +0300

    Update default icon size, spacing, and text proportion

 common/xfdesktop-common.h            |    2 +-
 settings/xfdesktop-settings-ui.glade |    2 +-
 src/xfdesktop-icon-view.c            |    5 ++---
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/common/xfdesktop-common.h b/common/xfdesktop-common.h
index f73606a..0c4c6fc 100644
--- a/common/xfdesktop-common.h
+++ b/common/xfdesktop-common.h
@@ -35,7 +35,7 @@
 #define XFDESKTOP_CHANNEL        "xfce4-desktop"
 #define DEFAULT_BACKDROP         DATADIR "/backgrounds/xfce/xfce-blue.jpg"
 #define DEFAULT_ICON_FONT_SIZE   12
-#define DEFAULT_ICON_SIZE        32
+#define DEFAULT_ICON_SIZE        48
 #define ITHEME_FLAGS             (GTK_ICON_LOOKUP_USE_BUILTIN \
                                   | GTK_ICON_LOOKUP_GENERIC_FALLBACK)
 
diff --git a/settings/xfdesktop-settings-ui.glade b/settings/xfdesktop-settings-ui.glade
index 9630a31..0fef408 100644
--- a/settings/xfdesktop-settings-ui.glade
+++ b/settings/xfdesktop-settings-ui.glade
@@ -7,7 +7,7 @@
     <property name="page_increment">10</property>
     <property name="step_increment">1</property>
     <property name="page_size">0</property>
-    <property name="value">36</property>
+    <property name="value">48</property>
   </object>
   <object class="GtkAdjustment" id="adjustment4">
     <property name="upper">144</property>
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index a7f1faa..1b3b9a1 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -53,7 +53,6 @@
 #include <xfconf/xfconf.h>
 
 #define DEFAULT_FONT_SIZE     12
-#define DEFAULT_ICON_SIZE     32
 #define DEFAULT_TOOLTIP_SIZE 128
 #define MAX_TOOLTIP_SIZE     512
 
@@ -556,7 +555,7 @@ xfdesktop_icon_view_class_init(XfdesktopIconViewClass *klass)
                                             g_param_spec_int("cell-spacing",
                                                              "Cell spacing",
                                                              "Spacing between desktop icon cells",
-                                                             0, 255, 6,
+                                                             0, 255, 2,
                                                              G_PARAM_READABLE));
     
     gtk_widget_class_install_style_property(widget_class,
@@ -571,7 +570,7 @@ xfdesktop_icon_view_class_init(XfdesktopIconViewClass *klass)
                                                                 "Cell text width proportion",
                                                                 "Width of text in desktop icon cell, "
                                                                 "calculated as multiplier of the icon size",
-                                                                1.0, 10.0, 2.5,
+                                                                1.0, 10.0, 1.9,
                                                                 G_PARAM_READABLE));
     gtk_widget_class_install_style_property(widget_class,
                                             g_param_spec_boolean("ellipsize-icon-labels",


More information about the Xfce4-commits mailing list