Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2013-08-28 15:42:21 +0400
committerYann Leboulanger <asterix@lagaule.org>2013-08-28 15:42:21 +0400
commitb12887eb3dc54e9f8ad4f3563a85fa355c1378b6 (patch)
treedc6e8ee492a42ba197872acd3aadb4375eadd96d
parent41fb67d242071dc925d2ba17313e141522f963a0 (diff)
plugin installer: don't use HtmlTextView in 0.15 branch
-rw-r--r--plugin_installer/plugin_installer.py16
-rw-r--r--wrong_layout/plugin.py2
2 files changed, 9 insertions, 9 deletions
diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py
index 8a63e30..6a0142c 100644
--- a/plugin_installer/plugin_installer.py
+++ b/plugin_installer/plugin_installer.py
@@ -34,7 +34,7 @@ import zipfile
from common import gajim
from plugins import GajimPlugin
from plugins.helpers import log_calls, log
-from htmltextview import HtmlTextView
+from conversation_textview import ConversationTextview
from dialogs import WarningDialog, HigDialog, YesNoDialog
from plugins.gui import GajimPluginConfigDialog
@@ -256,9 +256,9 @@ class PluginInstaller(GajimPlugin):
self._clear_available_plugin_info()
- self.plugin_description_textview = HtmlTextView()
+ self.plugin_description_textview = ConversationTextview(None)
sw = self.xml.get_object('scrolledwindow1')
- sw.add(self.plugin_description_textview)
+ sw.add(self.plugin_description_textview.tv)
self.xml.connect_signals(self)
self.window.show_all()
@@ -366,9 +366,9 @@ class PluginInstaller(GajimPlugin):
def available_plugins_treeview_selection_changed(self, treeview_selection):
model, iter = treeview_selection.get_selected()
self.xml.get_object('scrolledwindow1').get_children()[0].destroy()
- self.plugin_description_textview = HtmlTextView()
+ self.plugin_description_textview = ConversationTextview(None)
sw = self.xml.get_object('scrolledwindow1')
- sw.add(self.plugin_description_textview)
+ sw.add(self.plugin_description_textview.tv)
sw.show_all()
if iter:
self.plugin_name_label1.set_text(model.get_value(iter, C_NAME))
@@ -385,9 +385,9 @@ class PluginInstaller(GajimPlugin):
desc = '<body xmlns=\'http://www.w3.org/1999/xhtml\'>' + \
desc + ' </body>'
desc = desc.replace('\n', '<br/>')
- self.plugin_description_textview.display_html(desc,
- self.plugin_description_textview, None)
- self.plugin_description_textview.set_property('sensitive', True)
+ self.plugin_description_textview.tv.display_html(desc,
+ self.plugin_description_textview)
+ self.plugin_description_textview.tv.set_property('sensitive', True)
else:
self._clear_available_plugin_info()
diff --git a/wrong_layout/plugin.py b/wrong_layout/plugin.py
index e013db2..4edc243 100644
--- a/wrong_layout/plugin.py
+++ b/wrong_layout/plugin.py
@@ -12,7 +12,7 @@ class WrongLayoutPlugin(GajimPlugin):
@log_calls('WrongLayoutPlugin')
def init(self):
self.description = _('Press alt+r to convert chars typed in '
- 'wrong layout Rus<>Eng')
+ 'wrong layout Rus&lt;&gt;Eng')
self.config_dialog = None
self.gui_extension_points = {
'chat_control_base': (self.connect_with_chat_control,