summaryrefslogtreecommitdiff
path: root/src/glade-window.c
diff options
context:
space:
mode:
authorSabri Ünal <libreajans@gmail.com>2020-05-20 17:47:22 +0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2022-04-21 10:41:16 -0300
commit31909a3c8ce7d226d2f828e53903436b0e246290 (patch)
treed3d6bca590532310b03317a6e519c060df27493c /src/glade-window.c
parentfbebfdbf0dde1ed98c9e28be511693b8c374929d (diff)
downloadglade-31909a3c8ce7d226d2f828e53903436b0e246290.tar.gz
Add new menu entry: User Manuel
Diffstat (limited to 'src/glade-window.c')
-rw-r--r--src/glade-window.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/glade-window.c b/src/glade-window.c
index 7cb5a1b2..08d34eef 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -51,6 +51,7 @@
#define READONLY_INDICATOR (_("[Read Only]"))
#define URL_DEVELOPER_MANUAL "http://library.gnome.org/devel/gladeui/"
+#define URL_USER_MANUAL "https://help.gnome.org/users/glade/stable/"
#define CONFIG_GROUP_WINDOWS "Glade Windows"
#define GLADE_WINDOW_DEFAULT_WIDTH 720
@@ -1434,6 +1435,14 @@ on_reference_action_activate (GSimpleAction *action,
}
static void
+on_user_manuel_action_activate (GSimpleAction *action,
+ GVariant *parameter,
+ gpointer data)
+{
+ glade_util_url_show (URL_USER_MANUAL);
+}
+
+static void
on_preferences_action_activate (GSimpleAction *action,
GVariant *parameter,
gpointer data)
@@ -2321,6 +2330,7 @@ on_application_notify (GObject *gobject, GParamSpec *pspec)
{ "registration", on_registration_action_activate, NULL, NULL, NULL },
{ "intro", on_intro_action_activate, NULL, NULL, NULL },
{ "reference", on_reference_action_activate, NULL, NULL, NULL },
+ { "help", on_user_manuel_action_activate, NULL, NULL, NULL },
{ "preferences", on_preferences_action_activate, NULL, NULL, NULL },
{ "about", on_about_action_activate, NULL, NULL, NULL },
{ "quit", on_quit_action_activate, NULL, NULL, NULL },