projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PspppireKeypad: Add tooltips to buttons
[pspp]
/
src
/
ui
/
gui
/
help-menu.c
diff --git
a/src/ui/gui/help-menu.c
b/src/ui/gui/help-menu.c
index 712dbbadd29bd8b14d9417828d16bf5084dc174a..da87e235edf9dcf8588baf84b4e79f502d6b786b 100644
(file)
--- a/
src/ui/gui/help-menu.c
+++ b/
src/ui/gui/help-menu.c
@@
-34,11
+34,11
@@
/* Try to open html documentation uri via the default
browser on the operating system */
#ifdef __APPLE__
/* Try to open html documentation uri via the default
browser on the operating system */
#ifdef __APPLE__
-#define HTMLOPENA
RGV {"open", 0, 0}
+#define HTMLOPENA
PP "open"
#elif _WIN32
#elif _WIN32
-#define HTMLOPENA
RGV {"wscript", 0, 0}
+#define HTMLOPENA
PP "wscript"
#else
#else
-#define HTMLOPENA
RGV {"xdg-open", 0, 0}
+#define HTMLOPENA
PP "xdg-open"
#endif
static const gchar *artists[] = { "Bastián Díaz", "Hugo Alejandro", NULL};
#endif
static const gchar *artists[] = { "Bastián Díaz", "Hugo Alejandro", NULL};
@@
-132,7
+132,8
@@
void
online_help (const char *page)
{
GError *htmlerr = NULL;
online_help (const char *page)
{
GError *htmlerr = NULL;
- gchar *htmlargv[3] = HTMLOPENARGV;
+ gchar helpapp[] = HTMLOPENAPP;
+ gchar *htmlargv[3] = {helpapp, 0, 0};
gchar *htmlfilename = NULL;
gchar *htmlfullname = NULL;
gchar *htmluri = NULL;
gchar *htmlfilename = NULL;
gchar *htmlfullname = NULL;
gchar *htmluri = NULL;
@@
-239,5
+240,7
@@
create_help_menu (GtkWindow *toplevel)
gtk_widget_show_all (menuitem);
gtk_widget_show_all (menuitem);
+ g_object_unref (accel_group);
+
return menuitem;
}
return menuitem;
}