diff --git a/system/fluent.glade b/system/fluent.glade index 8938d44..0f286fb 100644 --- a/system/fluent.glade +++ b/system/fluent.glade @@ -195,6 +195,38 @@ + + + + True + Open the fluents documentation. + _Index + True + + + + + True + gtk-help + 1 + 0.5 + 0.5 + 0 + 0 + + + + + + + + True + Report a bug in the program. + _Report bug + True + + + diff --git a/system/fluents.py b/system/fluents.py index 6d5d336..16977b1 100755 --- a/system/fluents.py +++ b/system/fluents.py @@ -111,7 +111,9 @@ class FluentApp: 'on_new1_activate' : (self.on_create_project), 'on_button_new_clicked' : (self.on_create_project), 'on_workflow_refresh_clicked' : (self.on_workflow_refresh_clicked), - 'on_about1_activate' : (self.on_help_about)} + 'on_index1_activate' : (self.on_help_index), + 'on_about1_activate' : (self.on_help_about), + 'on_report_bug1_activate' : (self.on_help_report_bug)} self.widget_tree.signal_autoconnect(signals) # Log that we've set up the app now @@ -141,6 +143,12 @@ class FluentApp: about = widget_tree.get_widget('aboutdialog') about.run() + def on_help_index(self, *ignored): + gnome.help_display_uri('https://dev.pvv.org/projects/fluent/wiki/help') + + def on_help_report_bug(self, *ignored): + gnome.help_display_uri('https://dev.pvv.org/projects/fluent/newticket') + def on_workflow_refresh_clicked(self, *ignored): try: reload(sys.modules[self.workflow.__class__.__module__]) @@ -149,3 +157,4 @@ class FluentApp: logger.log('warning', e) else: logger.log('notice', 'Successfully reloaded workflow') +