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

Colomban Wendling notifications at xxxxx
Sun Sep 24 01:14:51 UTC 2017


b4n 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);

I suggest something like 28ac94dac806b2fed92c3c7406557341c978fbcd (https://github.com/b4n/geany/tree/techee/osx_keybindings_followup).
To be tested if it properly detects OSX on an OSX system, but it should.

-- 
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_r140644913
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170924/f58dd046/attachment.html>


More information about the Github-comments mailing list