Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Huelsmann
gajim
Commits
36882345
Commit
36882345
authored
11 years ago
by
Dicson
Browse files
Options
Downloads
Patches
Plain Diff
easy way to clear plugin_description_textview
parent
a17e40ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/gui.py
+3
-8
3 additions, 8 deletions
src/plugins/gui.py
with
3 additions
and
8 deletions
src/plugins/gui.py
+
3
−
8
View file @
36882345
...
...
@@ -35,6 +35,7 @@ from htmltextview import HtmlTextView
from
common
import
gajim
from
plugins.helpers
import
log_calls
,
log
from
plugins.helpers
import
GajimPluginActivateException
from
plugins.plugins_i18n
import
_
from
common.exceptions
import
PluginsystemError
(
...
...
@@ -142,14 +143,8 @@ class PluginsWindow(object):
self
.
plugin_homepage_linkbutton
.
set_uri
(
plugin
.
homepage
)
self
.
plugin_homepage_linkbutton
.
set_label
(
plugin
.
homepage
)
self
.
plugin_homepage_linkbutton
.
set_property
(
'
sensitive
'
,
True
)
sw
=
self
.
xml
.
get_object
(
'
scrolledwindow2
'
)
old_tv
=
sw
.
get_children
()[
0
]
old_tv
.
destroy
()
self
.
plugin_description_textview
=
HtmlTextView
()
sw
.
add
(
self
.
plugin_description_textview
)
sw
.
show_all
()
from
plugins.plugins_i18n
import
_
desc_textbuffer
=
self
.
plugin_description_textview
.
get_buffer
()
desc_textbuffer
.
set_text
(
''
)
txt
=
plugin
.
description
txt
.
replace
(
'
</body>
'
,
''
)
if
plugin
.
available_text
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment