[nanny] Fix help crash in jaunty
- From: Roberto Majadas <telemaco src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nanny] Fix help crash in jaunty
- Date: Sun, 21 Feb 2010 18:55:47 +0000 (UTC)
commit 3abd3c645332ba137b1a3295fc3e98cb31541df6
Author: Roberto Majadas <roberto majadas openshine com>
Date: Sun Feb 21 19:54:37 2010 +0100
Fix help crash in jaunty
client/gnome/admin/src/AdminConsole.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/client/gnome/admin/src/AdminConsole.py b/client/gnome/admin/src/AdminConsole.py
index deb0300..c9838a0 100644
--- a/client/gnome/admin/src/AdminConsole.py
+++ b/client/gnome/admin/src/AdminConsole.py
@@ -348,7 +348,10 @@ class AdminConsole:
self.im_hoursday_spinbutton.set_sensitive (False)
def __on_help_button_clicked (self, widget, data=None):
- gtk.show_uri(None , "ghelp:nanny", gtk.get_current_event_time())
+ try:
+ gtk.show_uri(None , "ghelp:nanny", gtk.get_current_event_time())
+ except:
+ os.system("xdg-open ghelp:nanny")
def __on_close_button_clicked (self, widget, data=None):
gtk.main_quit()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]