deskbar-applet r1923 - in trunk: . deskbar/handlers/actions
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r1923 - in trunk: . deskbar/handlers/actions
- Date: Sat, 9 Feb 2008 14:57:07 +0000 (GMT)
Author: sebp
Date: Sat Feb 9 14:57:07 2008
New Revision: 1923
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1923&view=rev
Log:
Fixed bug #506927: Ignore applications that have None as command
Modified:
trunk/ChangeLog
trunk/deskbar/handlers/actions/ActionsFactory.py
Modified: trunk/deskbar/handlers/actions/ActionsFactory.py
==============================================================================
--- trunk/deskbar/handlers/actions/ActionsFactory.py (original)
+++ trunk/deskbar/handlers/actions/ActionsFactory.py Sat Feb 9 14:57:07 2008
@@ -53,7 +53,7 @@
# 3: can open multiple files (bool)
# 4: expects_uri (int)
# 5: supported uri schemes (list)
- if mime_default_cmd == None or app[2] != mime_default_cmd:
+ if (mime_default_cmd == None or app[2] != mime_default_cmd) and app[2] != None:
actions.append( OpenWithApplicationAction(display_name, app[2], [path],
display_program_name=app[1]) )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]