[kupfer: 7/24] plugin.{vinagre, truecrypt, openoffice): add SETTING_PREFER_CATALOG
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer: 7/24] plugin.{vinagre, truecrypt, openoffice): add SETTING_PREFER_CATALOG
- Date: Fri, 27 Nov 2009 13:39:06 +0000 (UTC)
commit b6acdc7ef8a3b330113309c7daa95e7b37e264d3
Author: Karol BÄ?dkowski <karol bedkowsk+gh gmail com>
Date: Mon Nov 16 15:38:04 2009 +0100
plugin.{vinagre,truecrypt,openoffice): add SETTING_PREFER_CATALOG
kupfer/plugin/openoffice.py | 4 ++++
kupfer/plugin/truecrypt.py | 4 ++++
kupfer/plugin/vinagre.py | 5 +++++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/openoffice.py b/kupfer/plugin/openoffice.py
index 07a4ad0..b1c6aa6 100644
--- a/kupfer/plugin/openoffice.py
+++ b/kupfer/plugin/openoffice.py
@@ -6,6 +6,7 @@ import gio
from kupfer.objects import (Source, FileLeaf, UrlLeaf, PicklingHelperMixin,
AppLeafContentMixin)
+from kupfer import plugin_support
__kupfer_name__ = _("OpenOffice")
__kupfer_sources__ = ("RecentsSource", )
@@ -13,6 +14,9 @@ __description__ = _("Recently used documents in OpenOffice")
__version__ = "1.0"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
+__kupfer_settings__ = plugin_support.PluginSettings(
+ plugin_support.SETTING_PREFER_CATALOG,
+)
_HISTORY_FILE = "~/.openoffice.org/3/user/registry/data/org/openoffice/Office/Histories.xcu"
_NAME_ATTR="{http://openoffice.org/2001/registry}name"
diff --git a/kupfer/plugin/truecrypt.py b/kupfer/plugin/truecrypt.py
index 3db6fdd..1834b95 100644
--- a/kupfer/plugin/truecrypt.py
+++ b/kupfer/plugin/truecrypt.py
@@ -7,6 +7,7 @@ import gio
from kupfer.objects import (Action, Source, Leaf, PicklingHelperMixin,
AppLeafContentMixin, AppLeaf)
from kupfer import utils
+from kupfer import plugin_support
__kupfer_name__ = _("TrueCrypt")
__kupfer_sources__ = ("VolumeSource", )
@@ -15,6 +16,9 @@ __description__ = _("Volumes from TrueCrypt History.")
__version__ = "1.0"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
+__kupfer_settings__ = plugin_support.PluginSettings(
+ plugin_support.SETTING_PREFER_CATALOG,
+)
_HISTORY_FILE = "~/.TrueCrypt/History.xml"
diff --git a/kupfer/plugin/vinagre.py b/kupfer/plugin/vinagre.py
index 43d1c77..f82b470 100644
--- a/kupfer/plugin/vinagre.py
+++ b/kupfer/plugin/vinagre.py
@@ -8,6 +8,7 @@ from xml.etree import ElementTree
from kupfer.objects import Leaf, Action, Source, AppLeafContentMixin, UrlLeaf
from kupfer.helplib import FilesystemWatchMixin, PicklingHelperMixin
from kupfer import utils
+from kupfer import plugin_support
__kupfer_name__ = _("Vinagre")
__kupfer_sources__ = ("SessionSource", )
@@ -16,6 +17,10 @@ __description__ = _("Vinagre Bookmarks and Actions")
__version__ = "0.1"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
+__kupfer_settings__ = plugin_support.PluginSettings(
+ plugin_support.SETTING_PREFER_CATALOG,
+)
+
class Bookmark(Leaf):
def __init__(self, url, name):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]