diff -Nru unity-lens-github-0.32/debian/changelog unity-lens-github-0.33/debian/changelog --- unity-lens-github-0.32/debian/changelog 2012-12-07 03:17:45.000000000 +0000 +++ unity-lens-github-0.33/debian/changelog 2012-12-11 02:05:49.000000000 +0000 @@ -1,3 +1,9 @@ +unity-lens-github (0.33) quantal; urgency=low + + * Closes: (LP: #1087873) + + -- Chris Wayne Mon, 10 Dec 2012 21:05:16 -0500 + unity-lens-github (0.32) quantal; urgency=low * Fixed depends diff -Nru unity-lens-github-0.32/unity_lens_github/__init__.py unity-lens-github-0.33/unity_lens_github/__init__.py --- unity-lens-github-0.32/unity_lens_github/__init__.py 2012-12-07 03:00:06.000000000 +0000 +++ unity-lens-github-0.33/unity_lens_github/__init__.py 2012-12-11 02:00:37.000000000 +0000 @@ -20,6 +20,7 @@ import subprocess import gconf import re +from gi.repository import Gio import locale from locale import gettext as _ @@ -69,6 +70,9 @@ return [] def search(self, search, results): + lens_settings = Gio.Settings('com.canonical.Unity.Lenses') + if lens_settings.get_string('remote-content-search') == 'none': + return if len(search) > 2: if search[0] == "@": for user_repo in self.search_user_repo(search.strip('@')):