summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2008-08-07 19:47:13 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2008-08-07 19:47:13 +0000
commit83df26891181bd61c92d5efc849b7ff6054fe323 (patch)
tree69058ae5da9463456d7b040ca2736dabb4c1b5c7 /gui
parent429adbfbd4afef4c3a679453305df784b0a3ddab (diff)
downloadgdm-83df26891181bd61c92d5efc849b7ff6054fe323.tar.gz
Don't show help menu item. It doesn't do anything.
2008-08-07 William Jon McCann <jmccann@redhat.com> * gui/user-switch-applet/applet.c (fill_applet): Don't show help menu item. It doesn't do anything. svn path=/trunk/; revision=6361
Diffstat (limited to 'gui')
-rw-r--r--gui/user-switch-applet/applet.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c
index 1cb06caa..26befaa4 100644
--- a/gui/user-switch-applet/applet.c
+++ b/gui/user-switch-applet/applet.c
@@ -35,7 +35,6 @@
#include <bonobo/bonobo-ui-util.h>
#include <libgnome/gnome-init.h>
-#include <libgnomeui/gnome-help.h>
#include <panel-applet.h>
#include <panel-applet-gconf.h>
@@ -131,23 +130,6 @@ menubar_button_press_event_cb (GtkWidget *menubar,
}
static void
-help_cb (BonoboUIComponent *ui_container,
- GdmAppletData *adata,
- const char *cname)
-{
- GError *err;
-
- err = NULL;
- gnome_help_display_on_screen ("gdm-user-switch-applet", NULL,
- gtk_widget_get_screen (GTK_WIDGET (adata->applet)),
- &err);
- if (err != NULL) {
- g_warning ("Could not open help document: %s", err->message);
- g_error_free (err);
- }
-}
-
-static void
about_cb (BonoboUIComponent *ui_container,
gpointer data,
const char *cname)
@@ -1051,7 +1033,6 @@ fill_applet (PanelApplet *applet)
static const BonoboUIVerb menu_verbs[] = {
BONOBO_UI_VERB ("GdmAboutMe", about_me_cb),
BONOBO_UI_VERB ("GdmUsersGroupsAdmin", admin_cb),
- BONOBO_UI_VERB ("GdmHelp", (BonoboUIVerbFn)help_cb),
BONOBO_UI_VERB ("GdmAbout", about_cb),
BONOBO_UI_VERB_END
};