deskbar-applet r2121 - in trunk: . deskbar/handlers
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r2121 - in trunk: . deskbar/handlers
- Date: Tue, 15 Apr 2008 17:58:52 +0100 (BST)
Author: sebp
Date: Tue Apr 15 17:58:52 2008
New Revision: 2121
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2121&view=rev
Log:
Use **args insted of *args in match and set name
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/googlecodesearch.py
Modified: trunk/deskbar/handlers/googlecodesearch.py
==============================================================================
--- trunk/deskbar/handlers/googlecodesearch.py (original)
+++ trunk/deskbar/handlers/googlecodesearch.py Tue Apr 15 17:58:52 2008
@@ -85,8 +85,8 @@
class GoogleCodeSearchMatch(deskbar.interfaces.Match):
- def __init__(self, id, title, content, pkg_name, pkg_uri, *args):
- deskbar.interfaces.Match.__init__(self, category="web", icon="google.png", *args)
+ def __init__(self, id, title, content, pkg_name, pkg_uri, **args):
+ deskbar.interfaces.Match.__init__(self, name=title, category="web", icon="google.png", **args)
self._id = id
self.set_snippet(content)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]