[Xfce4-commits] <xfce4-panel:master> Tasklist: Make the plugin shrink instead of expand (bug #7389, #7129).

Nick Schermer noreply at xfce.org
Fri Apr 22 12:56:03 CEST 2011


Updating branch refs/heads/master
         to 080db5582e9f522206bf865a19407499e3682d21 (commit)
       from 9703cf78e25e0641b8ea1307b77e639279f55718 (commit)

commit 080db5582e9f522206bf865a19407499e3682d21
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 22 12:01:18 2011 +0200

    Tasklist: Make the plugin shrink instead of expand (bug #7389, #7129).
    
    Not the same as the fixed length option, but it improves the
    tasklist allocation with other plugins. With this the tasklist
    can be aligned with separators.

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

diff --git a/plugins/tasklist/tasklist.c b/plugins/tasklist/tasklist.c
index 73741b3..383c235 100644
--- a/plugins/tasklist/tasklist.c
+++ b/plugins/tasklist/tasklist.c
@@ -144,7 +144,8 @@ tasklist_plugin_construct (XfcePanelPlugin *panel_plugin)
   xfce_panel_plugin_menu_show_configure (XFCE_PANEL_PLUGIN (plugin));
 
   /* expand the plugin */
-  xfce_panel_plugin_set_expand (panel_plugin, TRUE);
+  /* xfce_panel_plugin_set_expand (panel_plugin, FALSE); */
+  xfce_panel_plugin_set_shrink (panel_plugin, TRUE);
 
   /* bind all properties */
   panel_properties_bind (NULL, G_OBJECT (plugin->tasklist),



More information about the Xfce4-commits mailing list