[buoh/cleanups: 3/3] ui: Remove Help menu item
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/cleanups: 3/3] ui: Remove Help menu item
- Date: Wed, 12 Sep 2018 11:54:28 +0000 (UTC)
commit 72db863605af10be5c9f1cf4414903c928ea64a8
Author: Jan Tojnar <jtojnar gmail com>
Date: Mon Sep 3 17:29:04 2018 +0200
ui: Remove Help menu item
Help was never implemented, the menu item is just confusing.
https://bugzilla.gnome.org/show_bug.cgi?id=741816
data/buoh-ui.xml | 1 -
src/buoh-window.c | 11 -----------
2 files changed, 12 deletions(-)
---
diff --git a/data/buoh-ui.xml b/data/buoh-ui.xml
index 6531447..439b887 100644
--- a/data/buoh-ui.xml
+++ b/data/buoh-ui.xml
@@ -28,7 +28,6 @@
<menuitem action="GoLast" name="GoLastMenu"/>
</menu>
<menu action="Help" name="HelpMenu">
- <menuitem action="HelpContents" name="HelpContentsMenu"/>
<menuitem action="HelpAbout" name="HelpAboutMenu"/>
</menu>
</menubar>
diff --git a/src/buoh-window.c b/src/buoh-window.c
index 4859f07..74b7401 100644
--- a/src/buoh-window.c
+++ b/src/buoh-window.c
@@ -147,8 +147,6 @@ static void buoh_window_cmd_go_first (GtkAction *actio
gpointer gdata);
static void buoh_window_cmd_go_last (GtkAction *action,
gpointer gdata);
-static void buoh_window_cmd_help_contents (GtkAction *action,
- gpointer gdata);
static void buoh_window_cmd_help_about (GtkAction *action,
gpointer gdata);
@@ -209,9 +207,6 @@ static const GtkActionEntry menu_entries[] = {
G_CALLBACK (buoh_window_cmd_go_last) },
/* Help menu */
- { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1",
- N_("Display help for the Buoh online comic reader"),
- G_CALLBACK (buoh_window_cmd_help_contents) },
{ "HelpAbout", GTK_STOCK_ABOUT, N_("_About"), NULL,
N_("Display credits for the Buoh online comic reader creators"),
G_CALLBACK (buoh_window_cmd_help_about) }
@@ -826,12 +821,6 @@ buoh_window_cmd_go_last (GtkAction *action, gpointer gdata)
buoh_view_set_comic (window->priv->view, comic);
}
-static void
-buoh_window_cmd_help_contents (GtkAction *action, gpointer gdata)
-{
- /* TODO */
-}
-
static void
buoh_window_cmd_help_about (GtkAction *action, gpointer gdata)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]