[gnome-text-editor] dnd: return TRUE if we handled DND into the window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] dnd: return TRUE if we handled DND into the window
- Date: Wed, 2 Feb 2022 20:38:42 +0000 (UTC)
commit 511fcf0584a555f8459fa0ad2df66c836f1dc1ba
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 2 12:30:30 2022 -0800
dnd: return TRUE if we handled DND into the window
src/editor-window-dnd.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/editor-window-dnd.c b/src/editor-window-dnd.c
index b390c38..a54a5e2 100644
--- a/src/editor-window-dnd.c
+++ b/src/editor-window-dnd.c
@@ -46,6 +46,8 @@ editor_window_drop_target_drop (EditorWindow *self,
g_assert (G_IS_FILE (file));
editor_session_open (session, self, file, NULL);
}
+
+ return TRUE;
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]