diff options
author | Valentin Villenave <[email protected]> | 2021-10-07 13:18:09 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-10-26 16:00:45 +0200 |
commit | cf3bbe8ecb92548b6320d46d4a97197ab7bf6825 (patch) | |
tree | 1e665cc7b2f8e819affc6fe30ce05e87776ff271 /stickynotes/stickynotes.c | |
parent | ce42d0f616999ef85a41b09024663ca9e5d2d18a (diff) | |
download | mate-applets-cf3bbe8ecb92548b6320d46d4a97197ab7bf6825.tar.bz2 mate-applets-cf3bbe8ecb92548b6320d46d4a97197ab7bf6825.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.c | 4 |
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", |