[Xfce4-commits] <xfce4-indicator-plugin:master> Using 22px icon size by default.

Andrzej noreply at xfce.org
Thu Apr 4 17:44:32 CEST 2013


Updating branch refs/heads/master
         to 8c1c94439f5f7ba5e91f9c63ea7307c885de092c (commit)
       from dd4f96d9db59a24ad421fc13e8c633a384ce92a4 (commit)

commit 8c1c94439f5f7ba5e91f9c63ea7307c885de092c
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Fri Mar 22 00:36:35 2013 +0000

    Using 22px icon size by default.
    
    This is the size of icons most (all?) indicators provide.

 panel-plugin/indicator-button.c |    2 +-
 panel-plugin/indicator-config.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/indicator-button.c b/panel-plugin/indicator-button.c
index 0508674..8b269a6 100644
--- a/panel-plugin/indicator-button.c
+++ b/panel-plugin/indicator-button.c
@@ -465,7 +465,7 @@ xfce_indicator_button_get_icon_size (XfceIndicatorButton *button)
   gint                 border_thickness;
   GtkStyle            *style;
 
-  g_return_val_if_fail (XFCE_IS_INDICATOR_BUTTON (button), 24);
+  g_return_val_if_fail (XFCE_IS_INDICATOR_BUTTON (button), 22);
 
   indicator_size = xfce_indicator_button_get_size (button);
 
diff --git a/panel-plugin/indicator-config.c b/panel-plugin/indicator-config.c
index c4bcf16..d5f5cda 100644
--- a/panel-plugin/indicator-config.c
+++ b/panel-plugin/indicator-config.c
@@ -45,7 +45,7 @@
 
 
 
-#define DEFAULT_ICON_SIZE_MAX      24
+#define DEFAULT_ICON_SIZE_MAX      22
 #define DEFAULT_ALIGN_LEFT         FALSE
 #define DEFAULT_EXCLUDED_MODULES   NULL
 #define DEFAULT_ORIENTATION        GTK_ORIENTATION_HORIZONTAL


More information about the Xfce4-commits mailing list