[gedit] Fix bug in quickopen checking gedit version for filebrowser support
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix bug in quickopen checking gedit version for filebrowser support
- Date: Thu, 22 Apr 2010 19:47:58 +0000 (UTC)
commit e7a754cd09469dd28aca48f2151a50ca4a331db2
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Thu Apr 22 21:47:03 2010 +0200
Fix bug in quickopen checking gedit version for filebrowser support
plugins/quickopen/quickopen/windowhelper.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/windowhelper.py b/plugins/quickopen/quickopen/windowhelper.py
index 992c28d..70ea26f 100644
--- a/plugins/quickopen/quickopen/windowhelper.py
+++ b/plugins/quickopen/quickopen/windowhelper.py
@@ -88,7 +88,7 @@ class WindowHelper:
paths.append(gfile.get_parent())
# File browser root directory
- if gedit.version[0] >= 2 and gedit.version[1] >= 26 and gedit.version[2] >= 2:
+ if gedit.version[0] > 2 or (gedit.version[0] == 2 and (gedit.version[1] > 26 or (gedit.version[1] == 26 and gedit.version[2] >= 2))):
bus = self._window.get_message_bus()
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]