[meld] bin/meld: Check that we have the GtkSourceView stuff we need
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] bin/meld: Check that we have the GtkSourceView stuff we need
- Date: Sat, 10 Jan 2015 20:07:45 +0000 (UTC)
commit e2adc268ad7230054234cdbc58376ec8de477931
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Jan 10 09:58:28 2015 +1000
bin/meld: Check that we have the GtkSourceView stuff we need
bin/meld | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bin/meld b/bin/meld
index e60d303..be897c3 100755
--- a/bin/meld
+++ b/bin/meld
@@ -168,6 +168,7 @@ def check_requirements():
try:
from gi.repository import GtkSource
# TODO: There is no way to get at GtkSourceView's actual version
+ assert hasattr(GtkSource, 'SearchSettings')
except (ImportError, AssertionError) as e:
missing_reqs("GtkSourceView", gtksourceview_requirement, e)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]