From 3fbc54ed3cb23afaa2476b5eac618e2d99616b38 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Sep 2017 17:19:00 +0300 Subject: 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 --- stickynotes/stickynotes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index 10428620..cd3517a7 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); -- cgit v1.2.1