diff options
author | Florian Pelz <pelzflorian@pelzflorian.de> | 2017-10-24 14:16:52 +0200 |
---|---|---|
committer | Florian Pelz <pelzflorian@pelzflorian.de> | 2017-10-24 14:17:25 +0200 |
commit | a2f051865a54ed26657fe367942bebed16bcce04 (patch) | |
tree | 39311bc2b11838ad3a4aff2a94f83c590a224932 | |
parent | 41707c3d624ce6b2a0747c6a91636f03ac17fa00 (diff) |
Use <Control> instead of <Ctrl> in accelerator names.
Both work, but Control seems more standard.
-rw-r--r-- | bin/text2/text.c | 4 | ||||
-rw-r--r-- | bin/text3/text.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/text2/text.c b/bin/text2/text.c index 069f48f..2314530 100644 --- a/bin/text2/text.c +++ b/bin/text2/text.c @@ -228,8 +228,8 @@ main (int argc, G_N_ELEMENTS (action_entries), app); - const gchar *open_accel[] = { "<Ctrl>O", NULL }; - const gchar *quit_accel[] = { "<Ctrl>Q", NULL }; + const gchar *open_accel[] = { "<Control>O", NULL }; + const gchar *quit_accel[] = { "<Control>Q", NULL }; gtk_application_set_accels_for_action (app, "app.open", diff --git a/bin/text3/text.c b/bin/text3/text.c index 85baccd..81c2982 100644 --- a/bin/text3/text.c +++ b/bin/text3/text.c @@ -253,8 +253,8 @@ main (int argc, G_N_ELEMENTS (action_entries), app); - const gchar *open_accel[] = { "<Ctrl>O", NULL }; - const gchar *quit_accel[] = { "<Ctrl>Q", NULL }; + const gchar *open_accel[] = { "<Control>o", NULL }; + const gchar *quit_accel[] = { "<Control>q", NULL }; gtk_application_set_accels_for_action (app, "app.open", |