[deskbar-applet] Use URI in url_show_file instead of absolute path
- From: Sebastian Polsterl <sebp src gnome org>
- To: svn-commits-list gnome org
- Subject: [deskbar-applet] Use URI in url_show_file instead of absolute path
- Date: Mon, 13 Jul 2009 17:36:13 +0000 (UTC)
commit 18ea08662c6006aeacbd6b433317edf888e2df7c
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Mon Jul 13 19:31:00 2009 +0200
Use URI in url_show_file instead of absolute path
deskbar/handlers/templates.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/deskbar/handlers/templates.py b/deskbar/handlers/templates.py
index 68e0879..a6a7325 100644
--- a/deskbar/handlers/templates.py
+++ b/deskbar/handlers/templates.py
@@ -147,7 +147,7 @@ class TemplateAction(deskbar.interfaces.Action):
return
shutil.copyfile(self.template_file.uri, created_file)
- deskbar.core.Utils.url_show_file(created_file)
+ deskbar.core.Utils.url_show_file("file://%s" % created_file)
dialog.destroy()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]