SF.net SVN: geany: [1005] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu Nov 16 16:10:18 UTC 2006
Revision: 1005
http://svn.sourceforge.net/geany/?rev=1005&view=rev
Author: eht16
Date: 2006-11-16 08:10:18 -0800 (Thu, 16 Nov 2006)
Log Message:
-----------
Enabled DnD also for the main notebook widget to drop files in the main area of Geany.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-11-15 23:12:13 UTC (rev 1004)
+++ trunk/ChangeLog 2006-11-16 16:10:18 UTC (rev 1005)
@@ -1,3 +1,9 @@
+2006-11-16 Enrico Tröger <enrico.troeger at uvena.de>
+
+ * src/main.c: Enabled DnD also for the main notebook widget to drop
+ files in the main area of Geany.
+
+
2006-11-15 Enrico Tröger <enrico.troeger at uvena.de>
* src/vte.c: Don't unload the VTE module on exit to avoid crashes on
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2006-11-15 23:12:13 UTC (rev 1004)
+++ trunk/src/main.c 2006-11-16 16:10:18 UTC (rev 1005)
@@ -565,8 +565,13 @@
gtk_drag_dest_set(app->window, GTK_DEST_DEFAULT_ALL, targets,
G_N_ELEMENTS(targets),
GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK | GDK_ACTION_ASK);
+ gtk_drag_dest_set(app->notebook, GTK_DEST_DEFAULT_ALL, targets,
+ G_N_ELEMENTS(targets),
+ GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK | GDK_ACTION_ASK);
g_signal_connect(G_OBJECT(app->window), "drag-data-received",
G_CALLBACK(on_window_drag_data_received), NULL);
+ g_signal_connect(G_OBJECT(app->notebook), "drag-data-received",
+ G_CALLBACK(on_window_drag_data_received), NULL);
}
treeviews_prepare_openfiles();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list