diff --git a/offline_bookmarks/manifest.ini b/offline_bookmarks/manifest.ini index 372d1e38cf12c09352c187ba709bf5bbe5029b10..731d345a7053877e5ae6e65b3d5c3d2f2b5c425c 100644 --- a/offline_bookmarks/manifest.ini +++ b/offline_bookmarks/manifest.ini @@ -1,8 +1,8 @@ [info] name: Offline Bookmarks short_name: offline_bookmarks -#version: 0.1 -description: OfflineBookmarks - For icons in tooltip support, you need to install Gajim r14117 or above. +version: 0.1 +description: Saving bookmarks inside the plugin configuration file. Allows the use of locally stored bookmarks if the server does not support the storage of bookmarks (eg talk.google.com). + Support to import bookmarks from one account to another. authors = Denis Fomin <fominde@gmail.com> homepage = http://trac-plugins.gajim.org/wiki/OfflineBookmarksPlugin diff --git a/offline_bookmarks/offline_bookmarks.py b/offline_bookmarks/offline_bookmarks.py index 89f89121b0982d6341a0151de2389f42df1a49ae..d499b9e3cadcce8018d3acd9e151562d6e31d1c2 100644 --- a/offline_bookmarks/offline_bookmarks.py +++ b/offline_bookmarks/offline_bookmarks.py @@ -3,22 +3,24 @@ import gtk +import gtkgui_helpers from plugins.gui import GajimPluginConfigDialog from plugins import GajimPlugin from plugins.helpers import log_calls from common import ged from common import gajim -import gtkgui_helpers -from config import ManageBookmarksWindow from common.i18n import Q_ +from config import ManageBookmarksWindow class OfflineBookmarksPlugin(GajimPlugin): @log_calls('OfflineBookmarksPlugin') def init(self): - self.description = _('OfflineBookmarks') - self.pos_list = [_('after statusicon'), _('before avatar')] + self.description = _('Saving bookmarks inside the plugin configuration ' + 'file. Allows the use of locally stored bookmarks if the server ' + 'does not support the storage of bookmarks (eg talk.google.com).\n' + 'Support to import bookmarks from one account to another.') self.events_handlers = { 'bookmarks-received': (ged.POSTGUI, self.bookmarks_received), @@ -362,7 +364,6 @@ class OfflineBookmarksPluginConfigDialog(GajimPluginConfigDialog, to_bookmarks.append(bm) self.fill_treeview() - # select root iter self.view.set_cursor((0,)) self.import_from_combo.set_active(-1) self.import_to_combo.set_active(-1)