[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-github> wrapper: adding new panel properties (fixes crash e.g. on adding notification plugin to the panel)

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


Updating branch refs/heads/andrzejr/deskbar-github
         to 656b62ae709ad16083b0e8865d6955c2d2c6738b (commit)
       from a765e37d7b9b202703865bdf74fef244f2a0dba9 (commit)

commit 656b62ae709ad16083b0e8865d6955c2d2c6738b
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Sat Nov 19 14:39:56 2011 +0900

    wrapper: adding new panel properties (fixes crash e.g. on adding notification plugin to the panel)

 wrapper/main.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/wrapper/main.c b/wrapper/main.c
index 0deb4be..d03d769 100644
--- a/wrapper/main.c
+++ b/wrapper/main.c
@@ -93,6 +93,14 @@ wrapper_gproxy_set (DBusGProxy              *dbus_gproxy,
           xfce_panel_plugin_provider_set_orientation (provider, g_value_get_int (value));
           break;
 
+        case PROVIDER_PROP_TYPE_SET_NROWS:
+          xfce_panel_plugin_provider_set_nrows (provider, g_value_get_int (value));
+          break;
+
+        case PROVIDER_PROP_TYPE_SET_DESKBAR_MODE:
+          xfce_panel_plugin_provider_set_deskbar_mode (provider, g_value_get_boolean (value));
+          break;
+
         case PROVIDER_PROP_TYPE_SET_SCREEN_POSITION:
           xfce_panel_plugin_provider_set_screen_position (provider, g_value_get_int (value));
           break;


More information about the Xfce4-commits mailing list