[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-github> showdesktop: use a small icon.

Andrzej noreply at xfce.org
Mon Dec 12 11:40:18 CET 2011


Updating branch refs/heads/andrzejr/deskbar-github
         to 6b7e88c842aacf31f88c066a3aa30edb81e7ffa8 (commit)
       from d2ed6c4d7e0ea5418c289aec14947c4964287075 (commit)

commit 6b7e88c842aacf31f88c066a3aa30edb81e7ffa8
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Sat Nov 12 04:52:10 2011 +0900

    showdesktop: use a small icon.

 plugins/showdesktop/showdesktop.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/showdesktop/showdesktop.c b/plugins/showdesktop/showdesktop.c
index b7d7388..5dddd82 100644
--- a/plugins/showdesktop/showdesktop.c
+++ b/plugins/showdesktop/showdesktop.c
@@ -172,7 +172,8 @@ show_desktop_plugin_size_changed (XfcePanelPlugin *panel_plugin,
   panel_return_val_if_fail (XFCE_IS_SHOW_DESKTOP_PLUGIN (panel_plugin), FALSE);
 
   /* keep the button squared */
-  gtk_widget_set_size_request (GTK_WIDGET (panel_plugin), size, size);
+  /* gtk_widget_set_size_request (GTK_WIDGET (panel_plugin), size, size); */
+  xfce_panel_plugin_set_small (panel_plugin, TRUE);
 
   return TRUE;
 }


More information about the Xfce4-commits mailing list