From 5b9fd5277921ae09ba13536915cf44d9217c6ad8 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 10 Aug 2014 08:22:55 +0000 Subject: graphics/agave: Upgrade version 0.4.2 => 0.4.7 and stage PR: 192477 Submitted by: Ports Fury --- .../files/patch-src__gcs-mainwindow-actions.cc | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 graphics/agave/files/patch-src__gcs-mainwindow-actions.cc (limited to 'graphics/agave/files/patch-src__gcs-mainwindow-actions.cc') 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 + #include ++ ++#include ++#ifdef HAVE_GNOME + #include ++#endif // HAVE_GNOME ++ + #include + #include + #include +@@ -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 + } + + -- cgit v1.2.3