[Xfce4-commits] <xfce4-panel:andrzejr/deskbar-github> plugin-external-46: added new panel properties to avoid external plugin crashes.

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


Updating branch refs/heads/andrzejr/deskbar-github
         to 6a0f88a699f1b7bd272d62b80ffe4dd5b15d6469 (commit)
       from eb8f5550c646f2c56c8ab5d344398dab383ad145 (commit)

commit 6a0f88a699f1b7bd272d62b80ffe4dd5b15d6469
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Thu Nov 24 12:46:53 2011 +0900

    plugin-external-46: added new panel properties to avoid external plugin crashes.

 panel/panel-plugin-external-46.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/panel/panel-plugin-external-46.c b/panel/panel-plugin-external-46.c
index 6e96b64..d0bf65c 100644
--- a/panel/panel-plugin-external-46.c
+++ b/panel/panel-plugin-external-46.c
@@ -245,6 +245,7 @@ panel_plugin_external_46_set_properties (PanelPluginExternal *external,
         case PROVIDER_PROP_TYPE_SET_SIZE:
         case PROVIDER_PROP_TYPE_SET_ORIENTATION:
         case PROVIDER_PROP_TYPE_SET_SCREEN_POSITION:
+        case PROVIDER_PROP_TYPE_SET_NROWS:
           event.data.s[1] = g_value_get_int (&property->value);
           break;
 
@@ -254,6 +255,7 @@ panel_plugin_external_46_set_properties (PanelPluginExternal *external,
 
         case PROVIDER_PROP_TYPE_SET_LOCKED:
         case PROVIDER_PROP_TYPE_SET_SENSITIVE:
+        case PROVIDER_PROP_TYPE_SET_DESKBAR_MODE:
           event.data.s[1] = g_value_get_boolean (&property->value);
           break;
 


More information about the Xfce4-commits mailing list