aboutsummaryrefslogtreecommitdiffstats
path: root/mvc
diff options
context:
space:
mode:
Diffstat (limited to 'mvc')
-rw-r--r--mvc/openfiles.py4
-rw-r--r--mvc/ui/widgets.py6
-rw-r--r--mvc/widgets/gtk/__init__.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/mvc/openfiles.py b/mvc/openfiles.py
index 49de26e..ef6710a 100644
--- a/mvc/openfiles.py
+++ b/mvc/openfiles.py
@@ -16,10 +16,10 @@ def _open_path_osx(path):
subprocess.call(['open', '--', path])
def _open_path_kde(path):
- subprocess.call(["kfmclient", "exec", "file://" + path])
+ subprocess.call(["kfmclient", "exec", "file://" + path]) # kfmclient is part of konqueror
def _open_path_gnome(path):
- subprocess.call(["gnome-open", path])
+ subprocess.call(["gnome-open",'--'. path])
def _open_path_windows(path):
subprocess.call(['explorer', path])
diff --git a/mvc/ui/widgets.py b/mvc/ui/widgets.py
index 1980a88..28dabff 100644
--- a/mvc/ui/widgets.py
+++ b/mvc/ui/widgets.py
@@ -894,9 +894,9 @@ class ConversionCellRenderer(widgetset.CustomCellRenderer):
if hotspot == 'show-file':
layout_manager.set_text_color(TEXT_CLICKED)
top.pack(cellpack.Hotspot('show-file', IconWithText(
- self.showfile,
- layout_manager.textbox('Show File',
- underline=True))))
+ self.showfile,
+ layout_manager.textbox('Show File',
+ underline=True))))
elif self.status in ('failed', 'canceled'):
color = TEXT_CLICKED if hotspot == 'show-log' else TEXT_COLOR
layout_manager.set_text_color(color)
diff --git a/mvc/widgets/gtk/__init__.py b/mvc/widgets/gtk/__init__.py
index 4f42a43..8e58700 100644
--- a/mvc/widgets/gtk/__init__.py
+++ b/mvc/widgets/gtk/__init__.py
@@ -41,7 +41,7 @@ def check_kde():
def open_file_linux(filename):
if check_kde():
- os.spawnlp(os.P_NOWAIT, "kfmclient", "kfmclient",
+ os.spawnlp(os.P_NOWAIT, "kfmclient", "kfmclient", # kfmclient is part of konqueror
"exec", "file://" + filename)
else:
os.spawnlp(os.P_NOWAIT, "gnome-open", "gnome-open", filename)