summaryrefslogtreecommitdiff
path: root/stickynotes/stickynotes.c
diff options
context:
space:
mode:
authorValentin Villenave <[email protected]>2021-10-07 13:18:09 +0200
committerraveit65 <[email protected]>2021-11-09 22:39:01 +0100
commit7af48f81bb1b2f88d1c1c56241b60161fffe68f1 (patch)
treeffe4f106bc2bfb37437b1fbf03e17530d7ee6829 /stickynotes/stickynotes.c
parent0e3c168684f341663016f2769b99d82c0d897394 (diff)
downloadmate-applets-7af48f81bb1b2f88d1c1c56241b60161fffe68f1.tar.bz2
mate-applets-7af48f81bb1b2f88d1c1c56241b60161fffe68f1.tar.xz
Mate Sticky notes applet: enable keyboard navigation through F6
As Tab and Shift-Tab get interpreted as indent/unindent, there was no way of leaving the text area through keyboard only.
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r--stickynotes/stickynotes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index be05a5fb..978e731e 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -368,6 +368,10 @@ stickynote_new_aux (GdkScreen *screen,
G_CALLBACK (gtk_widget_hide),
note);
+ g_signal_connect (note->w_window, "key-press-event",
+ G_CALLBACK (stickynote_keypress_cb),
+ note);
+
g_object_unref (builder);
g_signal_connect_after (note->w_body, "button-press-event",