[kupfer: 19/24] plugin.{openoffice, truecrypt, vinagre): fix strings and versions
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer: 19/24] plugin.{openoffice, truecrypt, vinagre): fix strings and versions
- Date: Fri, 27 Nov 2009 13:40:07 +0000 (UTC)
commit c44003689fb83e942e51801150453e2a60897340
Author: Karol BÄ?dkowski <karol bedkowsk+gh gmail com>
Date: Tue Nov 24 13:43:48 2009 +0100
plugin.{openoffice,truecrypt,vinagre): fix strings and versions
kupfer/plugin/openoffice.py | 2 +-
kupfer/plugin/truecrypt.py | 6 +++---
kupfer/plugin/vinagre.py | 7 ++++---
3 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/kupfer/plugin/openoffice.py b/kupfer/plugin/openoffice.py
index 1750351..46b590b 100644
--- a/kupfer/plugin/openoffice.py
+++ b/kupfer/plugin/openoffice.py
@@ -10,7 +10,7 @@ from kupfer.helplib import PicklingHelperMixin
__kupfer_name__ = _("OpenOffice")
__kupfer_sources__ = ("RecentsSource", )
__description__ = _("Recently used documents in OpenOffice")
-__version__ = "2009-11-23"
+__version__ = "2009-11-24"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
diff --git a/kupfer/plugin/truecrypt.py b/kupfer/plugin/truecrypt.py
index d2b9125..8272265 100644
--- a/kupfer/plugin/truecrypt.py
+++ b/kupfer/plugin/truecrypt.py
@@ -12,7 +12,7 @@ __kupfer_name__ = _("TrueCrypt")
__kupfer_sources__ = ("VolumeSource", )
__kupfer_actions__ = ('DismountAll', )
__description__ = _("Volumes from TrueCrypt history")
-__version__ = "2009-11-23"
+__version__ = "2009-11-24"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
@@ -27,7 +27,7 @@ class Volume(Leaf):
return "truecrypt"
def get_description(self):
- return _("TrueCrypt Volume: %(file)s") % dict(file=unicode(self.object))
+ return _("TrueCrypt volume: %(file)s") % dict(file=unicode(self.object))
def get_actions(self):
yield MountVolume()
@@ -103,7 +103,7 @@ class VolumeSource (AppLeafContentMixin, Source, PicklingHelperMixin):
self.output_error(err)
def get_description(self):
- return _("Volumes from TrueCrypt History")
+ return _("Volumes from TrueCrypt history")
def get_icon_name(self):
return "truecrypt"
diff --git a/kupfer/plugin/vinagre.py b/kupfer/plugin/vinagre.py
index 7a42ca3..43cebd2 100644
--- a/kupfer/plugin/vinagre.py
+++ b/kupfer/plugin/vinagre.py
@@ -13,10 +13,12 @@ __kupfer_name__ = _("Vinagre")
__kupfer_sources__ = ("SessionSource", )
__kupfer_actions__ = ('VinagreStartSession', )
__description__ = _("Vinagre bookmarks and actions")
-__version__ = "2009-11-23"
+__version__ = "2009-11-24"
__author__ = "Karol BÄ?dkowski <karol bedkowski gmail com>"
+BOOKMARKS_FILE = '~/.local/share/vinagre/vinagre-bookmarks.xml'
+
class Bookmark(Leaf):
def __init__(self, url, name):
Leaf.__init__(self, url, name)
@@ -63,8 +65,7 @@ class SessionSource(AppLeafContentMixin, Source, PicklingHelperMixin,
self.monitor = None
def unpickle_finish(self):
- self._bookmark_file = os.path.expanduser(
- '~/.local/share/vinagre/vinagre-bookmarks.xml')
+ self._bookmark_file = os.path.expanduser(BOOKMARKS_FILE)
gfile = gio.File(self._bookmark_file)
self.monitor = gfile.monitor_file(gio.FILE_MONITOR_NONE, None)
if self.monitor:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]