deskbar-applet r2182 - in trunk: . deskbar/handlers/actions
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2182 - in trunk: . deskbar/handlers/actions
- Date: Wed, 28 May 2008 11:41:44 +0000 (UTC)
Author: sebp
Date: Wed May 28 11:41:43 2008
New Revision: 2182
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2182&view=rev
Log:
Escape url for tooltip
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/actions/ShowUrlAction.py
Modified: trunk/deskbar/handlers/actions/ShowUrlAction.py
==============================================================================
--- trunk/deskbar/handlers/actions/ShowUrlAction.py (original)
+++ trunk/deskbar/handlers/actions/ShowUrlAction.py Wed May 28 11:41:43 2008
@@ -1,6 +1,7 @@
import deskbar.interfaces.Action
from gettext import gettext as _
from deskbar.core.Utils import url_show
+import cgi
class ShowUrlAction(deskbar.interfaces.Action):
"""
@@ -27,4 +28,4 @@
url_show(self._url)
def get_tooltip(self, text=None):
- return self._url
\ No newline at end of file
+ return cgi.escape(self._url)
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]