diff options
author | John Marino <marino@FreeBSD.org> | 2014-08-10 08:22:55 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-08-10 08:22:55 +0000 |
commit | 5b9fd5277921ae09ba13536915cf44d9217c6ad8 (patch) | |
tree | f78e3bcf81f4385b77e346c8cec1b8b15c33fd17 /graphics/agave/files/patch-src__gcs-mainwindow-actions.cc | |
parent | Fix stage violation (diff) |
graphics/agave: Upgrade version 0.4.2 => 0.4.7 and stage
PR: 192477
Submitted by: Ports Fury
Diffstat (limited to 'graphics/agave/files/patch-src__gcs-mainwindow-actions.cc')
-rw-r--r-- | graphics/agave/files/patch-src__gcs-mainwindow-actions.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc b/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc new file mode 100644 index 000000000000..1a7a12c8c419 --- /dev/null +++ b/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc @@ -0,0 +1,32 @@ +--- src/gcs-mainwindow-actions.cc.orig ++++ src/gcs-mainwindow-actions.cc +@@ -25,7 +25,12 @@ + + #include <vector> + #include <gtk/gtk.h> ++ ++#include <config.h> ++#ifdef HAVE_GNOME + #include <libgnome/gnome-help.h> ++#endif // HAVE_GNOME ++ + #include <gtkmm/iconfactory.h> + #include <gtkmm/stock.h> + #include <gtkmm/clipboard.h> +@@ -251,9 +256,16 @@ + /* Help Menu Actions */ + void MainWindow::on_action_help_contents(void) + { ++#ifdef HAVE_GNOME + gnome_help_display("agave.xml", + NULL /* link id */, + NULL /* GError */); ++#else ++ gtk_show_uri(NULL, ++ "ghelp:agave", ++ gtk_get_current_event_time (), ++ NULL); ++#endif // HAVE_GNOME + } + + |