xfce_panel_plugin_set_expand() behavior

Adriano Winter Bess awbess at gmail.com
Sat Apr 29 21:57:12 CEST 2006


On Sat, Apr 29, 2006 at 04:55:12PM -0300, Adriano Winter Bess wrote:
> to another panel, it is no longer expanded. Please consider the trivial patch
> attached to the testplugin in xfce4-panel sources that adds expand = TRUE to the
> plugin.

Oops, sorry, I forgot the patch.

Regards,
Adriano
-- 
Adriano Winter Bess

-------------- next part --------------
Index: plugins/testplugin/testplugin.c
===================================================================
--- plugins/testplugin/testplugin.c	(revis?o 21323)
+++ plugins/testplugin/testplugin.c	(c?pia de trabalho)
@@ -136,6 +136,7 @@
 
     g_signal_connect (plugin, "size-changed", 
                       G_CALLBACK (test_set_size), GTK_BIN (button)->child);
+    xfce_panel_plugin_set_expand (plugin, TRUE);
 
     xfce_panel_plugin_menu_show_configure (plugin);
     g_signal_connect (plugin, "configure-plugin", 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060429/30610a58/attachment.pgp>


More information about the Xfce4-dev mailing list