[Spice-commits] client/application.cpp client/application.h
Christophe Fergau
teuf at kemper.freedesktop.org
Tue Sep 20 06:37:54 PDT 2011
client/application.cpp | 4 ++--
client/application.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 45ef140e23976c5cf4349cf4ae5b40486164d485
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Tue Sep 20 14:51:22 2011 +0200
client: fix typo commnad=>command
diff --git a/client/application.cpp b/client/application.cpp
index 115f28b..decf8a1 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -1232,7 +1232,7 @@ void Application::on_key_down(RedKey key)
}
if (!_sticky_info.sticky_mode) {
- int command = get_hotkeys_commnad();
+ int command = get_hotkeys_command();
if (command != APP_CMD_INVALID) {
do_command(command);
return;
@@ -1703,7 +1703,7 @@ bool Application::is_key_set_pressed(const HotkeySet& key_set)
return iter == key_set.end();
}
-int Application::get_hotkeys_commnad()
+int Application::get_hotkeys_command()
{
HotKeys::const_iterator iter = _hot_keys.begin();
diff --git a/client/application.h b/client/application.h
index de34488..db8d4e8 100644
--- a/client/application.h
+++ b/client/application.h
@@ -321,7 +321,7 @@ private:
void send_hotkey_key_set(const HotkeySet& key_set);
void menu_item_callback(unsigned int item_id);
int get_menu_item_id(AppMenuItemType type, int32_t conn_ref, uint32_t ext_id);
- int get_hotkeys_commnad();
+ int get_hotkeys_command();
bool is_key_set_pressed(const HotkeySet& key_set);
void do_on_key_up(RedKey key);
void __remove_key_handler(KeyHandler& handler);
More information about the Spice-commits
mailing list