new panel and old plugins

Jasper Huijsmans jasper at xfce.org
Thu Nov 18 23:18:23 CET 2004


Benedikt Meurer wrote:
...
>>
>> Bumping the API version would solve the problems at the expense of 
>> extra work for people who installed 4.2 betas. Please, could some 
>> other devs share their opinion on this? Benedikt? Olivier?
> 
> 
> This will break quite a lot of installations, but it saves us from 
> thousands of complains from 4.0-upgraders. So, count me for `yes'. :-)
> 
>> If we're going to do this, I'd advocate doing the same for the 
>> settings manager.
> 
> 
> This has the advantage that the `workspace plugin' issue will be solved 
> automagically by this as well.
> 

Olivier, is it alright if I commit this? Change is minor, but the impact 
is a bit larger, because all settings manager plugins must be rebuild.

The panel still accepts previous version, so plugins build for RC1 will 
still work.

	Jasper


Index: xfce-mcs-manager/configure
===================================================================
RCS file: /var/cvs/xfce/xfce4/xfce-mcs-manager/configure,v
retrieving revision 1.95
diff -u -r1.95 configure
--- xfce-mcs-manager/configure  11 Nov 2004 20:21:40 -0000      1.95
+++ xfce-mcs-manager/configure  18 Nov 2004 22:13:36 -0000
@@ -22785,7 +22785,7 @@
    fi


-XFCE_MCS_PLUGIN_VERSION=1
+XFCE_MCS_PLUGIN_VERSION=2



Index: xfce-mcs-manager/configure.ac
===================================================================
RCS file: /var/cvs/xfce/xfce4/xfce-mcs-manager/configure.ac,v
retrieving revision 1.59
diff -u -r1.59 configure.ac
--- xfce-mcs-manager/configure.ac       6 Nov 2004 16:23:59 -0000       1.59
+++ xfce-mcs-manager/configure.ac       18 Nov 2004 22:13:36 -0000
@@ -63,7 +63,7 @@
  BM_DEBUG_SUPPORT

  dnl XFce4 mcs plugin API version
-XFCE_MCS_PLUGIN_VERSION=1
+XFCE_MCS_PLUGIN_VERSION=2
  AC_SUBST([XFCE_MCS_PLUGIN_VERSION])

  AC_OUTPUT([
Index: xfce4-panel/panel/plugins.h
===================================================================
RCS file: /var/cvs/xfce/xfce4/xfce4-panel/panel/plugins.h,v
retrieving revision 1.12
diff -u -r1.12 plugins.h
--- xfce4-panel/panel/plugins.h 7 Nov 2004 12:00:12 -0000       1.12
+++ xfce4-panel/panel/plugins.h 18 Nov 2004 22:13:36 -0000
@@ -25,7 +25,7 @@

  #include <panel/xfce.h>

-#define XFCE_PLUGIN_API_VERSION 6
+#define XFCE_PLUGIN_API_VERSION 7

  G_BEGIN_DECLS




More information about the Xfce4-dev mailing list