[gnome-applets/wip/gnome-3.10+: 4/5] modemlights: remove help menu item
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/gnome-3.10+: 4/5] modemlights: remove help menu item
- Date: Sun, 21 Sep 2014 00:14:39 +0000 (UTC)
commit 0ae220a07c6c397a9827ef15e2d5daa7ca474d91
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Jul 10 11:45:08 2014 +0300
modemlights: remove help menu item
modemlights/Makefile.am | 2 --
modemlights/modem-applet-menu.xml | 4 ----
modemlights/modem-applet.c | 16 ----------------
3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/modemlights/Makefile.am b/modemlights/Makefile.am
index 71680ad..f16a431 100644
--- a/modemlights/Makefile.am
+++ b/modemlights/Makefile.am
@@ -1,5 +1,3 @@
-#SUBDIRS = help
-
AM_CPPFLAGS = -I. -I$(srcdir) \
-DMODEM_MENU_UI_DIR=\""$(uidir)"\" \
$(GNOME_APPLETS_CFLAGS) \
diff --git a/modemlights/modem-applet-menu.xml b/modemlights/modem-applet-menu.xml
index a52d4e1..052f5ff 100644
--- a/modemlights/modem-applet-menu.xml
+++ b/modemlights/modem-applet-menu.xml
@@ -14,10 +14,6 @@
<attribute name="action">modem.preferences</attribute>
</item>
<item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="action">modem.help</attribute>
- </item>
- <item>
<attribute name="label" translatable="yes">_About</attribute>
<attribute name="action">modem.about</attribute>
</item>
diff --git a/modemlights/modem-applet.c b/modemlights/modem-applet.c
index ed9f033..aff7ba0 100644
--- a/modemlights/modem-applet.c
+++ b/modemlights/modem-applet.c
@@ -128,9 +128,6 @@ static void on_modem_applet_deactivate (GSimpleAction *action,
static void on_modem_applet_properties_clicked (GSimpleAction *action,
GVariant *parameter,
gpointer user_data);
-static void on_modem_applet_help_clicked (GSimpleAction *action,
- GVariant *parameter,
- gpointer user_data);
static void launch_backend (ModemApplet *applet,
gboolean root_auth);
@@ -142,7 +139,6 @@ static const GActionEntry menu_actions [] = {
{ "activate", on_modem_applet_activate, NULL, NULL, NULL },
{ "deactivate", on_modem_applet_deactivate, NULL, NULL, NULL },
{ "preferences", on_modem_applet_properties_clicked, NULL, NULL, NULL },
- { "help", on_modem_applet_help_clicked, NULL, NULL, NULL },
{ "about", on_modem_applet_about_clicked, NULL, NULL, NULL }
};
@@ -1002,18 +998,6 @@ on_modem_applet_about_clicked (GSimpleAction *action,
NULL);
}
-static void
-on_modem_applet_help_clicked (GSimpleAction *action,
- GVariant *parameter,
- gpointer user_data)
-{
- ModemApplet *applet = (ModemApplet *) user_data;
- gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (applet)),
- "help:modemlights",
- gtk_get_current_event_time (),
- NULL);
-}
-
static gboolean
modem_applet_fill (ModemApplet *applet)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]