diff options
author | monsta <[email protected]> | 2017-09-20 17:19:00 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-09-20 17:19:52 +0300 |
commit | 6404251c9b44fb9eb2c139597c277a7a89ed9be5 (patch) | |
tree | c7d5ef59ad99e10e8e2a9e324b223b1cd6a634bb | |
parent | 083132844b262e0fabfd3c734fe5d90521995c2d (diff) | |
download | mate-applets-6404251c9b44fb9eb2c139597c277a7a89ed9be5.tar.bz2 mate-applets-6404251c9b44fb9eb2c139597c277a7a89ed9be5.tar.xz |
stickynotes: fix text selection
fixes https://github.com/mate-desktop/mate-applets/issues/236
taken from:
https://git.gnome.org/browse/gnome-applets/commit/?id=e189ba213c0f8db876dd020d1d80b9f8b576dd75
-rw-r--r-- | stickynotes/stickynotes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index 19ff0abb..6b07b9fe 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -292,6 +292,9 @@ stickynote_new_aux (GdkScreen *screen, gint x, gint y, gint w, gint h) g_object_unref(builder); + g_signal_connect_after (note->w_body, "button-press-event", + G_CALLBACK (gtk_true), note); + g_signal_connect (gtk_text_view_get_buffer(GTK_TEXT_VIEW(note->w_body)), "changed", G_CALLBACK (buffer_changed), note); |