[Xfce4-commits] <xfce4-panel:nick/gtk3> Tasklist: fix config settings and remove unneeded shrink option.

Andrzej noreply at xfce.org
Mon Apr 22 23:12:01 CEST 2013


Updating branch refs/heads/nick/gtk3
         to 98cf4f832dc7976eedea38e7e9559ee9506ff6e7 (commit)
       from 5702d43b05bd76fafadb0b164211dfe59504da8b (commit)

commit 98cf4f832dc7976eedea38e7e9559ee9506ff6e7
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Apr 22 22:10:30 2013 +0100

    Tasklist: fix config settings and remove unneeded shrink option.

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

diff --git a/plugins/tasklist/tasklist.c b/plugins/tasklist/tasklist.c
index e6e222e..ad7f052 100644
--- a/plugins/tasklist/tasklist.c
+++ b/plugins/tasklist/tasklist.c
@@ -154,10 +154,6 @@ tasklist_plugin_construct (XfcePanelPlugin *panel_plugin)
   /* show configure */
   xfce_panel_plugin_menu_show_configure (XFCE_PANEL_PLUGIN (plugin));
 
-  /* expand the plugin */
-  /* 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),
                          xfce_panel_plugin_get_property_base (panel_plugin),
@@ -241,7 +237,8 @@ tasklist_plugin_configure_plugin (XfcePanelPlugin *panel_plugin)
   panel_return_if_fail (G_IS_OBJECT (object)); \
   g_object_bind_property (G_OBJECT (plugin->tasklist), (name), \
                           G_OBJECT (object), (property), \
-                          G_BINDING_SYNC_CREATE);
+                          G_BINDING_BIDIRECTIONAL \
+                          | G_BINDING_SYNC_CREATE);
 
 #define TASKLIST_DIALOG_BIND_INV(name, property) \
   object = gtk_builder_get_object (builder, (name)); \


More information about the Xfce4-commits mailing list