[accerciser/pygi] python-gnome dependency deleted from about dialog
- From: Javier HernÃndez AntÃnez <jhernandez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser/pygi] python-gnome dependency deleted from about dialog
- Date: Mon, 29 Aug 2011 09:10:15 +0000 (UTC)
commit 7335e231233dcca035dcc313e29bef509d27f162
Author: Javier HernÃndez <jhernandez emergya es>
Date: Mon Aug 29 11:02:52 2011 +0200
python-gnome dependency deleted from about dialog
src/lib/accerciser/about_dialog.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/lib/accerciser/about_dialog.py b/src/lib/accerciser/about_dialog.py
index e573244..8ce890e 100644
--- a/src/lib/accerciser/about_dialog.py
+++ b/src/lib/accerciser/about_dialog.py
@@ -16,7 +16,6 @@ is available at U{http://www.opensource.org/licenses/bsd-license.php}
import gi
from gi.repository import Gtk as gtk
-from gnome import program_get, url_show
from i18n import _
class AccerciserAboutDialog(gtk.AboutDialog):
@@ -59,10 +58,9 @@ class AccerciserAboutDialog(gtk.AboutDialog):
'''
Initialize dialog.
'''
- program = program_get()
gtk.AboutDialog.__init__(self)
self.connect('response', self._onResponse)
- self.connect('activate-link', lambda dialog, url, data: url_show(url), None)
+# self.connect('activate-link', lambda dialog, url, data: url_show(url), None)
gtk.AboutDialog.set_authors(self, self.AUTHORS)
gtk.AboutDialog.set_artists(self, self.ARTISTS)
gtk.AboutDialog.set_documenters(self, self.DOCUMENTERS)
@@ -70,7 +68,7 @@ class AccerciserAboutDialog(gtk.AboutDialog):
gtk.AboutDialog.set_copyright(self, self.COPYRIGHT)
gtk.AboutDialog.set_license(self, self.LICENSE)
gtk.AboutDialog.set_logo_icon_name(self, 'accerciser')
- gtk.AboutDialog.set_version(self, program.get_app_version())
+# gtk.AboutDialog.set_version(self, program.get_app_version())
gtk.AboutDialog.set_website(self, self.WEB_URL)
gtk.AboutDialog.set_website_label(self, self.WEB_LABEL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]