[Github-comments] [geany/geany] Add support for platform-specific keybindings (#1395)

Jiří Techet notifications at xxxxx
Sat Sep 30 19:49:22 UTC 2017


techee commented on this pull request.



> @@ -782,6 +768,36 @@ static void load_kb(GeanyKeyGroup *group, GeanyKeyBinding *kb, gpointer user_dat
 }
 
 
+static void init_platform_kb(void)
+{
+#ifdef __APPLE__
+	gchar *configfile = g_build_filename(app->datadir, "keybindings_osx.conf", NULL);

Meh, my bad, I haven't looked at the code for ages and completely forgot the defaults were in the code, not a config file.

The config file location probably isn't a big problem, especially when there's no Windows config file (which may never be needed) and no system-wide config file. So I guess your patch is good then.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1395#discussion_r142013731
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170930/6504dc07/attachment.html>


More information about the Github-comments mailing list