[gedit] Increase iAge to version 3.



commit 3da9073c18b6219940e3480245e226be22e7ed11
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun May 2 20:41:03 2010 +0200

    Increase iAge to version 3.

 gedit/gedit-plugin-info.c                          |    6 ++++--
 .../changecase/changecase.gedit-plugin.desktop.in  |    2 +-
 .../checkupdate.gedit-plugin.desktop.in            |    2 +-
 plugins/docinfo/docinfo.gedit-plugin.desktop.in    |    2 +-
 .../externaltools.gedit-plugin.desktop.in          |    2 +-
 .../filebrowser.gedit-plugin.desktop.in            |    2 +-
 .../modelines/modelines.gedit-plugin.desktop.in    |    2 +-
 .../pythonconsole.gedit-plugin.desktop.in          |    2 +-
 .../quickopen/quickopen.gedit-plugin.desktop.in    |    2 +-
 plugins/snippets/snippets.gedit-plugin.desktop.in  |    2 +-
 plugins/sort/sort.gedit-plugin.desktop.in          |    2 +-
 plugins/spell/spell.gedit-plugin.desktop.in        |    2 +-
 plugins/taglist/taglist.gedit-plugin.desktop.in    |    2 +-
 plugins/time/time.gedit-plugin.desktop.in          |    2 +-
 14 files changed, 17 insertions(+), 15 deletions(-)
---
diff --git a/gedit/gedit-plugin-info.c b/gedit/gedit-plugin-info.c
index be4907c..3a8dd65 100644
--- a/gedit/gedit-plugin-info.c
+++ b/gedit/gedit-plugin-info.c
@@ -42,6 +42,8 @@
 #include "gedit-debug.h"
 #include "gedit-plugin.h"
 
+#define GEDIT_PLUGIN_IAGE 3
+
 void
 _gedit_plugin_info_ref (GeditPluginInfo *info)
 {
@@ -145,11 +147,11 @@ _gedit_plugin_info_new (const gchar *file)
 		goto error;
 	}
 	
-	/* Check IAge=2 */
+	/* Check IAge=GEDIT_PLUGIN_IAGE */
 	if (g_key_file_get_integer (plugin_file,
 				    "Gedit Plugin",
 				    "IAge",
-				    NULL) != 2)
+				    NULL) != GEDIT_PLUGIN_IAGE)
 	{
 		gedit_debug_message (DEBUG_PLUGINS,
 				     "Wrong IAge in file: %s", file);
diff --git a/plugins/changecase/changecase.gedit-plugin.desktop.in b/plugins/changecase/changecase.gedit-plugin.desktop.in
index 52a226f..1dc10ef 100644
--- a/plugins/changecase/changecase.gedit-plugin.desktop.in
+++ b/plugins/changecase/changecase.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=changecase
-IAge=2
+IAge=3
 _Name=Change Case
 _Description=Changes the case of selected text.
 Authors=Paolo Borelli <pborelli katamail com>
diff --git a/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in b/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in
index 4699b6a..3e57e1a 100644
--- a/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in
+++ b/plugins/checkupdate/checkupdate.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=checkupdate
-IAge=2
+IAge=3
 _Name=Check update
 _Description=Check for latest version of gedit
 Icon=gedit-plugin
diff --git a/plugins/docinfo/docinfo.gedit-plugin.desktop.in b/plugins/docinfo/docinfo.gedit-plugin.desktop.in
index 77f2793..e62598e 100644
--- a/plugins/docinfo/docinfo.gedit-plugin.desktop.in
+++ b/plugins/docinfo/docinfo.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=docinfo
-IAge=2
+IAge=3
 _Name=Document Statistics
 _Description=Analyzes the current document and reports the number of words, lines, characters and non-space characters in it.
 Authors=Paolo Maggi <paolo maggi polito it>;Jorge Alberto Torres <jorge deadoak com>
diff --git a/plugins/externaltools/externaltools.gedit-plugin.desktop.in b/plugins/externaltools/externaltools.gedit-plugin.desktop.in
index 5212c49..5f3adcc 100644
--- a/plugins/externaltools/externaltools.gedit-plugin.desktop.in
+++ b/plugins/externaltools/externaltools.gedit-plugin.desktop.in
@@ -1,7 +1,7 @@
 [Gedit Plugin]
 Loader=python
 Module=externaltools
-IAge=2
+IAge=3
 _Name=External Tools
 _Description=Execute external commands and shell scripts.
 Authors=Steve Frécinaux <steve istique net>
diff --git a/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in b/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in
index 808816c..d260188 100644
--- a/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in
+++ b/plugins/filebrowser/filebrowser.gedit-plugin.desktop.in
@@ -1,7 +1,7 @@
 [Gedit Plugin]
 Loader=C
 Module=filebrowser
-IAge=2
+IAge=3
 _Name=File Browser Pane
 _Description=Easy file access from the side pane
 Icon=system-file-manager
diff --git a/plugins/modelines/modelines.gedit-plugin.desktop.in b/plugins/modelines/modelines.gedit-plugin.desktop.in
index c72f019..e67ff2b 100644
--- a/plugins/modelines/modelines.gedit-plugin.desktop.in
+++ b/plugins/modelines/modelines.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=modelines
-IAge=2
+IAge=3
 _Name=Modelines
 _Description=Emacs, Kate and Vim-style modelines support for gedit.
 Authors=Steve Frécinaux <steve istique net>
diff --git a/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in b/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in
index 5c621fd..75ec3ac 100644
--- a/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in
+++ b/plugins/pythonconsole/pythonconsole.gedit-plugin.desktop.in
@@ -1,7 +1,7 @@
 [Gedit Plugin]
 Loader=python
 Module=pythonconsole
-IAge=2
+IAge=3
 _Name=Python Console
 _Description=Interactive Python console standing in the bottom panel
 Icon=gnome-mime-text-x-python
diff --git a/plugins/quickopen/quickopen.gedit-plugin.desktop.in b/plugins/quickopen/quickopen.gedit-plugin.desktop.in
index 40f7f04..70aea23 100644
--- a/plugins/quickopen/quickopen.gedit-plugin.desktop.in
+++ b/plugins/quickopen/quickopen.gedit-plugin.desktop.in
@@ -1,7 +1,7 @@
 [Gedit Plugin]
 Loader=python
 Module=quickopen
-IAge=2
+IAge=3
 _Name=Quick Open
 _Description=Quickly open files
 Icon=gtk-open
diff --git a/plugins/snippets/snippets.gedit-plugin.desktop.in b/plugins/snippets/snippets.gedit-plugin.desktop.in
index dc3c828..1d0436b 100644
--- a/plugins/snippets/snippets.gedit-plugin.desktop.in
+++ b/plugins/snippets/snippets.gedit-plugin.desktop.in
@@ -1,7 +1,7 @@
 [Gedit Plugin]
 Loader=python
 Module=snippets
-IAge=2
+IAge=3
 _Name=Snippets
 _Description=Insert often-used pieces of text in a fast way
 Authors=Jesse van den Kieboom <jesse icecrew nl>
diff --git a/plugins/sort/sort.gedit-plugin.desktop.in b/plugins/sort/sort.gedit-plugin.desktop.in
index 2dccda3..fd5c03e 100644
--- a/plugins/sort/sort.gedit-plugin.desktop.in
+++ b/plugins/sort/sort.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=sort
-IAge=2
+IAge=3
 _Name=Sort
 _Description=Sorts a document or selected text.
 Icon=gtk-sort-ascending
diff --git a/plugins/spell/spell.gedit-plugin.desktop.in b/plugins/spell/spell.gedit-plugin.desktop.in
index c75c9ee..797aa61 100644
--- a/plugins/spell/spell.gedit-plugin.desktop.in
+++ b/plugins/spell/spell.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=spell
-IAge=2
+IAge=3
 _Name=Spell Checker
 _Description=Checks the spelling of the current document.
 Icon=gtk-spell-check
diff --git a/plugins/taglist/taglist.gedit-plugin.desktop.in b/plugins/taglist/taglist.gedit-plugin.desktop.in
index 09d0f2d..a3b8e39 100644
--- a/plugins/taglist/taglist.gedit-plugin.desktop.in
+++ b/plugins/taglist/taglist.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=taglist
-IAge=2
+IAge=3
 _Name=Tag list
 _Description=Provides a method to easily insert commonly used tags/strings into a document without having to type them.
 Authors=Paolo Maggi <paolo maggi polito it>
diff --git a/plugins/time/time.gedit-plugin.desktop.in b/plugins/time/time.gedit-plugin.desktop.in
index aa8776b..e532c35 100644
--- a/plugins/time/time.gedit-plugin.desktop.in
+++ b/plugins/time/time.gedit-plugin.desktop.in
@@ -1,6 +1,6 @@
 [Gedit Plugin]
 Module=time
-IAge=2
+IAge=3
 _Name=Insert Date/Time
 _Description=Inserts current date and time at the cursor position.
 Authors=Paolo Maggi <paolo maggi polito it>;Lee Mallabone <gnome fonicmonkey net>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]