summaryrefslogtreecommitdiff
path: root/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/agave/files/patch-src__gcs-mainwindow-actions.cc')
-rw-r--r--graphics/agave/files/patch-src__gcs-mainwindow-actions.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc b/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc
deleted file mode 100644
index 1a7a12c8c419..000000000000
--- a/graphics/agave/files/patch-src__gcs-mainwindow-actions.cc
+++ /dev/null
@@ -1,32 +0,0 @@
---- 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
- }
-
-