Commit 4ddba18d authored by Dicson's avatar Dicson

Remove descriptions from plugins

parent ae13d1a8
......@@ -35,7 +35,6 @@ class AntiSpamPlugin(GajimPlugin):
@log_calls('AntiSpamPlugin')
def init(self):
self.description = _('Allows to block some kind of incoming messages')
self.config_dialog = AntiSpamPluginConfigDialog(self)
self.gui_extension_points = {
......
......@@ -4,7 +4,7 @@ Appindicator integration plugin.
Rewriten from Ubuntu Ayatana Integration plugin
2013 Denis Borenko <borenko@rambler.ru>
:license: GPLv3
:license: GPLv3
"""
# Python
import os
......@@ -28,9 +28,6 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
@log_calls("AppindicatorIntegrationPlugin")
def init(self):
self.description = _('This plugin integrates Gajim with the appindicator.<br/>'
'You must have python-appindicator (and Gajim obviously) '
'installed to enable this plugin.\n')
self.config_dialog = None
self.test_activatable()
self.events_handlers = {'our-show': (ged.GUI2, self.set_indicator_icon)}
......@@ -93,8 +90,8 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
if gajim.config.get_per('accounts', account,
'sync_with_global_status'):
gajim.connections[account].change_status('online','online')
def set_indicator_icon(self, obj=''):
is_connected = 0
for account in gajim.connections:
......
......@@ -45,11 +45,6 @@ class BannerTweaksPlugin(GajimPlugin):
@log_calls('BannerTweaksPlugin')
def init(self):
self.description = _('Allows user to tweak chat window banner '
'appearance (eg. make it compact).<br/>'
'Based on patch by pb in '
'<a href="http://trac.gajim.org/attachment/ticket/4133">ticket '
'#4133</a>.')
self.config_dialog = BannerTweaksPluginConfigDialog(self)
self.gui_extension_points = {
......
......@@ -19,7 +19,6 @@ class BirthDayPlugin(GajimPlugin):
def init(self):
self.config_dialog = None
self.description = ('Birthday reminder plugin')
self.events_handlers = {
'roster-received': (ged.GUI2, self.roster_received)}
configpath = configpaths.ConfigPaths()
......@@ -118,4 +117,3 @@ class BirthDayPlugin(GajimPlugin):
if obj.conn.name not in self.showed_accounts:
self.check_birthdays(obj.conn.name)
self.showed_accounts.append(obj.conn.name)
......@@ -31,11 +31,6 @@ class ChatstatePlugin(GajimPlugin):
@log_calls('ChatstatePlugin')
def init(self):
self.description = _('Chat State Notifications in roster.<br/>'
'Font color of the contact varies depending on the chat state.<br/>'
'The plugin does not work if you use custom font color for contacts in roster.'
'<br/>See <a href="http://trac.gajim.org/ticket/3628">ticket #3628</a> and '
'<a href="http://xmpp.org/extensions/xep-0085.html">XEP-0085</a>.')
self.config_dialog = None # ChatstatePluginConfigDialog(self)
self.events_handlers = {'chatstate-received':
(ged.GUI2, self.chatstate_received), }
......
......@@ -13,8 +13,6 @@ class ClickableNicknames(GajimPlugin):
@log_calls('ClickableNicknamesPlugin')
def init(self):
self.description = _('Clickable nicknames '
'in the conversation textview.')
self.config_dialog = None # ClickableNicknamesPluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -163,8 +163,6 @@ class ClientsIconsPlugin(GajimPlugin):
@log_calls('ClientsIconsPlugin')
def init(self):
self.description = _('Shows the client icons in the roster'
' and in groupchats.')
self.pos_list = [_('after statusicon'), _('before avatar')]
self.events_handlers = {'presence-received':
(ged.POSTGUI, self.presence_received),
......
......@@ -34,8 +34,6 @@ class EmoticonsPackPlugin(GajimPlugin):
@log_calls('EmoticonsPackPlugin')
def init(self):
self.description = _('Install, update and view detailed legend '
'of emoticons')
self.config_dialog = None # EmoticonsPackPluginConfigDialog(self)
self.window = None
self.model = None
......
......@@ -26,8 +26,6 @@ class FileSharePlugin(GajimPlugin):
@log_calls('FileSharePlugin')
def init(self):
self.activated = False
self.description = _('This plugin allows you to share folders'
' with a peer using jingle file transfer.')
self.config_dialog = FileSharePluginConfigDialog(self)
home_path = os.path.expanduser('~/')
self.config_default_values = {'incoming_dir': (home_path, '')}
......@@ -176,7 +174,7 @@ class FileSharePluginConfigDialog(GajimPluginConfigDialog):
def on_run(self):
widget = self.xml.get_object('dl_folder')
widget.set_text(str(self.plugin.config['incoming_dir']))
def on_hide(self, widget):
widget = self.xml.get_object('dl_folder')
self.plugin.config['incoming_dir'] = widget.get_text()
......@@ -13,7 +13,6 @@ from plugins.gui import GajimPluginConfigDialog
class FlashingKeyboard(GajimPlugin):
@log_calls('FlashingKeyboard')
def init(self):
self.description = _('Flashing keyboard led when there are unread messages.')
self.config_dialog = FlashingKeyboardPluginConfigDialog(self)
self.config_default_values = {
'command1': ("xset led named 'Scroll Lock'", ''),
......
......@@ -32,7 +32,6 @@ class GnomeSessionManagerPlugin(GajimPlugin):
@log_calls('GnomeSessionManagerPlugin')
def init(self):
self.description = _('Set and react on GNOME Session presence settings')
self.config_dialog = None
self.events_handlers = {}
......
......@@ -109,8 +109,6 @@ class GoogleTranslationPlugin(GajimPlugin):
@log_calls('GoogleTranslationPlugin')
def init(self):
self.description = _('Translates (currently only incoming)'
'messages using Google Translate.')
self.config_dialog = None
self.config_default_values = {
......
......@@ -258,8 +258,6 @@ class OtrPlugin(GajimPlugin):
otr = None
def init(self):
self.description = _('Provide OTR encryption. See <a href='
'"http://www.cypherpunks.ca/otr/">Author website</a>')
self.us = {}
......
......@@ -11,7 +11,6 @@ class GuiForMe(GajimPlugin):
@log_calls('GuiForMePlugin')
def init(self):
self.description = _('Gui for the \'/me\' command.')
self.config_dialog = None # GuiForMePluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -25,10 +25,6 @@ class HamsterIntegrationPlugin(GajimPlugin):
@log_calls('HamsterIntegrationPlugin')
def init(self):
self.description = _('Integration with project hamster<br/>'
'see <a href="https://trac.gajim.org/ticket/6993">ticket #6993</a>'
'and <a href="http://projecthamster.wordpress.com/about/">hamster '
'project</a>')
self.config_dialog = None
self.events_handlers = {}
if os.name == 'nt':
......
......@@ -16,12 +16,6 @@ NS_XHTML_IM = 'http://jabber.org/protocol/xhtml-im' # XEP-0071
class ImagePlugin(GajimPlugin):
@log_calls('ImagePlugin')
def init(self):
self.description = _('This plugin is designed to send '
'a small(0 - 40 kb) graphic image to your contact.<br/>'
'Client on the other side must support <a href='
'"http://xmpp.org/extensions/xep-0071.html">XEP-0071: XHTML-IM</a>'
' and maintain the scheme data: URI.<br/>'
'Psi+ and Jabbim supported this.')
self.config_dialog = None # ImagePluginConfigDialog(self)
self.controls = []
self.gui_extension_points = {
......
......@@ -31,10 +31,6 @@ if not dir(common.xmpp):
class JuickPlugin(GajimPlugin):
@log_calls('JuickPlugin')
def init(self):
self.description = _('Clickable Juick links , Juick nicks, '
'preview Juick picturs.<br/>The key combination alt + up in the '
'textbox allow insert the number of last message '
'(comment or topic).')
self.config_dialog = JuickPluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -281,8 +281,6 @@ class LatexPluginConfiguration(GajimPluginConfigDialog):
class LatexPlugin(GajimPlugin):
def init(self):
self.description = _('Invoke Latex to render $$foobar$$ sourrounded ' \
'Latex equations. Needs latex and dvipng or ImageMagick.')
self.config_dialog = LatexPluginConfiguration(self)
self.config_default_values = {'png_dpi': ('108', '')}
......@@ -383,7 +381,7 @@ class LatexPlugin(GajimPlugin):
for pair in split_list(points):
tb.apply_tag_by_name('latex', pair[0][1], pair[1][0])
end_iter = tb.get_end_iter()
eol_tag = tb.get_tag_table().lookup('eol')
it = end_iter.copy()
......@@ -423,4 +421,3 @@ class LatexPlugin(GajimPlugin):
tv.get_buffer().disconnect(d['h_id'])
self.latex_tag.disconnect(d['tag_id'])
......@@ -36,8 +36,6 @@ class LengthNotifierPlugin(GajimPlugin):
@log_calls('LengthNotifierPlugin')
def init(self):
self.description = _('Highlights message entry field in chat window '
'when given length of message is exceeded.')
self.config_dialog = LengthNotifierPluginConfigDialog(self)
self.gui_extension_points = {
......
......@@ -11,8 +11,6 @@ from plugins.gui import GajimPluginConfigDialog
class MsgBoxSizePlugin(GajimPlugin):
@log_calls('MsgBoxSizePlugin')
def init(self):
self.description = _('Allows you to adjust the height'
' of the new message input field.')
self.config_dialog = MsgBoxSizePluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -22,8 +22,6 @@ class MusicTrackInfo(object):
class Mpris2Plugin(GajimPlugin):
@log_calls('Mpris2Plugin')
def init(self):
self.description = _('MPRIS2 support. Allows to update status message '
'according to the music you\'re listening via the MPRIS2 D-Bus API.')
self.config_dialog = None
self.artist = self.title = self.source = ''
self.listener = MusicTrackListener().get()
......
......@@ -18,8 +18,6 @@ class NowListenPlugin(GajimPlugin):
@log_calls('NowListenPlugin')
def init(self):
self.description = _('Copy tune info to conversation input box '
'(alt + n) at cursor position')
self.config_dialog = NowListenPluginConfigDialog(self)
self.gui_extension_points = {'chat_control_base':
(self.connect_with_chat_control, self.disconnect_from_chat_control)}
......
......@@ -17,11 +17,6 @@ class OfflineBookmarksPlugin(GajimPlugin):
@log_calls('OfflineBookmarksPlugin')
def init(self):
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).<br/>'
'Support to import bookmarks from one account to another.')
self.events_handlers = {
'bookmarks-received': (ged.POSTGUI, self.bookmarks_received),
'signed-in': (ged.POSTGUI, self.handle_event_signed_in),}
......
......@@ -61,7 +61,6 @@ class PluginInstaller(GajimPlugin):
@log_calls('PluginInstallerPlugin')
def init(self):
self.description = _('Install and upgrade plugins from ftp')
self.config_dialog = PluginInstallerPluginConfigDialog(self)
self.config_default_values = {'ftp_server': ('ftp.gajim.org', ''),
'check_update': (True, ''),
......
......@@ -14,8 +14,6 @@ class PluginsTranslationsPlugin(GajimPlugin):
@log_calls('PluginsTranslationsPlugin')
def init(self):
self.description = _('This plugin contains translation files '
'for Gajim plugins')
self.config_dialog = None
self.config_default_values = {'last_version': '0'}
self.locale_dir = os.path.join(gajim.PLUGINS_DIRS[1], 'locale')
......
......@@ -12,7 +12,6 @@ class QuickRepliesPlugin(GajimPlugin):
@log_calls('QuickRepliesPlugin')
def init(self):
self.description = _('Plugin for quick insert template message and add your own template messages')
self.config_dialog = QuickRepliesPluginConfigDialog(self)
self.chat_control = None
self.gui_extension_points = {
......
......@@ -38,7 +38,6 @@ class RegexFilterPlugin(GajimPlugin):
@log_calls('RegexFilterPlugin')
def init(self):
self.description = _('Filter incoming messages using regex.')
self.config_dialog = None
self.events_handlers = {
......
......@@ -16,12 +16,6 @@ class RosterTweaksPlugin(GajimPlugin):
@log_calls('RosterTweaksPlugin')
def init(self):
self.description = _('Allows user to tweak roster window appearance '
'(eg. make it compact).<br/>Based on <a href='
'"http://trac.gajim.org/ticket/3340">ticket #3340</a>.<br/>'
'Added ability to quickly change the status message '
'to all connected accounts.<br/>Based on <a href='
'"http://trac.gajim.org/ticket/5085">ticket #5085</a>.')
self.config_default_values = {'hide_status_combo': (False, ''),
'use_ctr_m': (False, ''),
'menu_visible': (True, ''),
......
......@@ -17,8 +17,6 @@ class ServerStatusIconsPlugin(GajimPlugin):
@log_calls('ServerStatusIconsPlugin')
def init(self):
self.description = _('Replace standard Gajim status icons with server'
' specific for known XMPP server accounts (vk.com, ...)')
self.pos_list = [_('after statusicon'), _('before avatar')]
self.gui_extension_points = {
'roster_draw_contact': (self.connect_with_roster_draw_contact,
......
......@@ -18,10 +18,6 @@ from dialogs import InputDialog, WarningDialog
class SetLocationPlugin(GajimPlugin):
@log_calls('SetLocationPlugin')
def init(self):
self.description = _('Set information about the current geographical '
'or physical location.<br/>'
'To be able to specify a location on the built-in card, '
'you must install python-osmgpsmap > 0.5')
self.config_dialog = SetLocationPluginConfigDialog(self)
self.config_default_values = {
'alt': (1609, ''),
......
......@@ -3,7 +3,7 @@ name: Snarl Notifications
short_name: snarl_notifications
version: 0.1.2
description: Shows events notification using <a href="http://www.fullphat.net/">Snarl</a> under Windows.
Snarl needs to be installed in system.<br/>'
Snarl needs to be installed in system.<br/>
<a href="http://code.google.com/p/pysnarl/">PySnarl bindings</a> are used.
authors = Yann Leboulanger <asterix@lagaule.org>
homepage = http://trac-plugins.gajim.org/wiki/SnarlNotificationsPlugin
......
......@@ -44,11 +44,6 @@ class SnarlNotificationsPlugin(GajimPlugin):
@log_calls('SnarlNotificationsPlugin')
def init(self):
self.description = _('Shows events notification using <a href='
'"http://www.fullphat.net/">Snarl</a> under Windows. '
'Snarl needs to be installed in system.<br/>'
'<a href="http://code.google.com/p/pysnarl/">PySnarl bindings</a> '
'are used.')
self.config_dialog = None
self.h = SnarlActionHandler
self.snarl_win = pySnarl.SnarlApp(
......
......@@ -51,7 +51,6 @@ NS_GAMES_TICTACTOE = NS_GAMES + '/tictactoe'
class TictactoePlugin(GajimPlugin):
@log_calls('TictactoePlugin')
def init(self):
self.description = _('Play Tictactoe.')
self.config_dialog = TictactoePluginConfigDialog(self)
self.events_handlers = {
'decrypted-message-received': (ged.GUI1,
......
......@@ -36,7 +36,6 @@ class Triggers(GajimPlugin):
@log_calls('TriggersPlugin')
def init(self):
self.description = _('Configure Gajim\'s behaviour for each contact')
self.config_dialog = TriggersPluginConfigDialog(self)
self.config_default_values = {}
......
......@@ -42,12 +42,6 @@ class UbuntuIntegrationPlugin(GajimPlugin):
"""
Does nothing.
"""
self.description = _('This plugin integrates Gajim '
'with the Ubuntu Messaging Menu.<br/><br/>'
'You must have python-indicate and python-xdg (and Gajim obviously)'
' installed to enable this plugin.<br/><br/>'
'Many thanks to the guys from gajim@conference.gajim.org for '
'answering my questions :)')
self.config_dialog = None
self.test_activatable()
......
......@@ -17,9 +17,6 @@ EXTENSIONS = ('.png','.jpg','.jpeg','.gif','.raw','.svg')
class UrlImagePreviewPlugin(GajimPlugin):
@log_calls('UrlImagePreviewPlugin')
def init(self):
self.description = _('Url image preview in chatbox.<br/>'
'Based on patch in <a href='
'"http://trac.gajim.org/attachment/ticket/5300">ticket #5300</a>.')
self.config_dialog = UrlImagePreviewPluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -16,12 +16,6 @@ USER = 'dicson'
class UrlShortenerPlugin(GajimPlugin):
@log_calls('UrlShortenerPlugin')
def init(self):
self.description = _('Plugin that allows users to shorten a long URL '
'in received messages.<br/>'
'For example, you can turn this link:<br/>'
'<a href="%s">%s</a><br/>'
'Into this link:<br/>'
'<a href="http://bit.ly/CUjV">http://bit.ly/CUjV</a>') % ('http://maps.google.com/maps?f=d&amp;saddr=New+York+Penn+Station&amp;daddr=9th+Ave+%26+14th+St,+New+York,+NY&amp;hl=en&amp;geocode=&amp;mra=ls&amp;dirflg=r&amp;date=11%2F12%2F08&amp;time=4:13pm&amp;ttype=dep&amp;noexp=0&amp;noal=0&amp;sort=&amp;sll=40.746175,-73.998395&amp;sspn=0.014468,0.036392&amp;ie=UTF8&amp;z=14', 'http://maps.google.com/maps?f=d&amp;saddr=New+York+Penn+Station&amp;daddr=9th+Ave+%26+14th+St,+New+York,+NY&amp;hl=en&amp;geocode=&amp;mra=ls&amp;dirflg=r&amp;date=11%2F12%2F08&amp;time=4:13pm&amp;ttype=dep&amp;noexp=0&amp;noal=0&amp;sort=&amp;sll=40.746175,-73.998395&amp;sspn=0.014468,0.036392&amp;ie=UTF8&amp;z=14')
self.config_dialog = UrlShortenerPluginConfigDialog(self)
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
......@@ -56,8 +56,6 @@ NS_SXE = 'urn:xmpp:sxe:0'
class WhiteboardPlugin(GajimPlugin):
@log_calls('WhiteboardPlugin')
def init(self):
self.description = _('Shows a whiteboard in chat.'
' python-pygoocanvas is required.')
self.config_dialog = None
self.events_handlers = {
'jingle-request-received': (ged.GUI1, self._nec_jingle_received),
......
......@@ -12,8 +12,6 @@ from common import dbus_support
class WicdPlugin(GajimPlugin):
@log_calls('WicdPlugin')
def init(self):
self.description = _('Support for autodetection of network status '
'for Wicd Network Manager.<br/>Requires wicd and python-dbus.')
self.config_dialog = None
self.test_activatable()
......
......@@ -11,8 +11,6 @@ from plugins.helpers import log_calls, log
class WrongLayoutPlugin(GajimPlugin):
@log_calls('WrongLayoutPlugin')
def init(self):
self.description = _('Press alt+r to convert chars typed in '
'wrong layout Rus&lt;&gt;Eng')
self.config_dialog = None
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment