All information should live in exactly one place. This means that the list
2008-05-02 Thomas Thurman <tthurman@gnome.org> All information should live in exactly one place. This means that the list of atoms should not be replicated anywhere. Therefore, we include it via x-macros. Closes #530843. * src/core/atomnames.h: added list of atom names * src/Makefile.am: added reference to new file * src/core/display.h * src/core/display.c (twice) * src/core/screen.c: #included atomnames.h instead of having an enormous list of atoms * src/core/group-props.c * src/core/window.c * src/core/compositor.c * src/core/window-props.c * src/core/delete.c * src/core/workspace.c * src/core/stack.c * src/core/keybindings.c * src/core/iconcache.c * src/core/group.c * src/core/xprops.c: changed to new, simpler identifiers for atoms svn path=/trunk/; revision=3702
This commit is contained in:

committed by
Thomas James Alexander Thurman

parent
4916fedc28
commit
b455ac62d2
@ -3186,10 +3186,10 @@ handle_panel_keybinding (MetaDisplay *display,
|
||||
switch (action)
|
||||
{
|
||||
case META_KEYBINDING_ACTION_PANEL_MAIN_MENU:
|
||||
action_atom = display->atom_gnome_panel_action_main_menu;
|
||||
action_atom = display->atom__GNOME_PANEL_ACTION_MAIN_MENU;
|
||||
break;
|
||||
case META_KEYBINDING_ACTION_PANEL_RUN_DIALOG:
|
||||
action_atom = display->atom_gnome_panel_action_run_dialog;
|
||||
action_atom = display->atom__GNOME_PANEL_ACTION_RUN_DIALOG;
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
@ -3197,7 +3197,7 @@ handle_panel_keybinding (MetaDisplay *display,
|
||||
|
||||
ev.type = ClientMessage;
|
||||
ev.window = screen->xroot;
|
||||
ev.message_type = display->atom_gnome_panel_action;
|
||||
ev.message_type = display->atom__GNOME_PANEL_ACTION;
|
||||
ev.format = 32;
|
||||
ev.data.l[0] = action_atom;
|
||||
ev.data.l[1] = event->xkey.time;
|
||||
|
Reference in New Issue
Block a user