gdm r6361 - in trunk: . gui/user-switch-applet
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6361 - in trunk: . gui/user-switch-applet
- Date: Thu, 7 Aug 2008 19:47:13 +0000 (UTC)
Author: mccann
Date: Thu Aug 7 19:47:13 2008
New Revision: 6361
URL: http://svn.gnome.org/viewvc/gdm?rev=6361&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gui/user-switch-applet/applet.c
Modified: trunk/gui/user-switch-applet/applet.c
==============================================================================
--- trunk/gui/user-switch-applet/applet.c (original)
+++ trunk/gui/user-switch-applet/applet.c Thu Aug 7 19:47:13 2008
@@ -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 @@
}
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 @@
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
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]