From 3ba362a728add2b73ca5e0a95392a254859693ec Mon Sep 17 00:00:00 2001 From: Jay Carlson Date: Thu, 31 Oct 2013 20:36:08 -0400 Subject: [PATCH] Typo in preference name broke key mapping in VNC The keyboard mapping preference is stored under the name "keymap", but looked up by "gkeymap", which was always null. The "Map Meta" preference now works perfectly for me to connect to OS X. --- remmina-plugins/vnc/vnc_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remmina-plugins/vnc/vnc_plugin.c b/remmina-plugins/vnc/vnc_plugin.c index 1bc138f213..a95d3c5c6b 100644 --- a/remmina-plugins/vnc/vnc_plugin.c +++ b/remmina-plugins/vnc/vnc_plugin.c @@ -1511,7 +1511,7 @@ static gboolean remmina_plugin_vnc_on_key(GtkWidget *widget, GdkEventKey *event, if (remmina_plugin_service->file_get_int(remminafile, "viewonly", FALSE)) return FALSE; - keyval = remmina_plugin_service->pref_keymap_get_keyval(remmina_plugin_service->file_get_string(remminafile, "gkeymap"), + keyval = remmina_plugin_service->pref_keymap_get_keyval(remmina_plugin_service->file_get_string(remminafile, "keymap"), event->keyval); remmina_plugin_vnc_event_push(gp, REMMINA_PLUGIN_VNC_EVENT_KEY, GUINT_TO_POINTER(keyval),