Re: Accessibility of Gnome panel / How to end session via keyboard
- From: "Padraig O'Briain" <Padraig Obriain sun com>
- To: zitt mailist sub18-175 member dsl-only net, bill haneman sun com
- Cc: gnome-accessibility-list gnome org
- Subject: Re: Accessibility of Gnome panel / How to end session via keyboard
- Date: Fri, 27 Jun 2003 08:46:29 +0100 (BST)
Patch to achieve this hack attached.
Padraig
>
>
> > If we look at Microshaft's implementation... you can do the following:
> > <CTRL><ESC> (brings up start menu)
> > S <selects Shutdown>
> > U <selects Shutdown> or R <selects Reboot>
> > <ENTER> (confirms selection)
> >
> > Ideally, I'd like to see Gnome do simular things:
> > <ALT><F1> (brings up foot menu>
> > L <selects Log Off>
> > etc.
> >
> > IF I wanted to hack in this capability; where in the source code would I
look?
> Look in gnome-panel/menu.c. I think just inserting underscores in
> front of the characters you want to make shortcuts, in the menu item labels,
> may do the trick. I am checking now (but have to rebuild things first).
>
> - Bill
> > John
> > _______________________________________________
> > gnome-accessibility-list mailing list
> > gnome-accessibility-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
>
>
> _______________________________________________
> gnome-accessibility-list mailing list
> gnome-accessibility-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
Index: menu.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/menu.c,v
retrieving revision 1.642.2.8
diff -u -p -r1.642.2.8 menu.c
--- menu.c 10 Mar 2003 02:01:41 -0000 1.642.2.8
+++ menu.c 27 Jun 2003 07:44:52 -0000
@@ -3567,7 +3567,7 @@ create_desktop_menu (GtkWidget *menu, gb
menuitem = gtk_image_menu_item_new ();
setup_stock_menu_item (
- menuitem, panel_menu_icon_get_size (), PANEL_STOCK_LOGOUT, _("Log Out"));
+ menuitem, panel_menu_icon_get_size (), PANEL_STOCK_LOGOUT, _("_Log Out"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
g_signal_connect (menuitem, "activate",
G_CALLBACK (panel_action_logout), 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]