summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2012-12-04 12:57:48 -0600
committerFederico Mena Quintero <federico@gnome.org>2012-12-04 12:57:48 -0600
commit10b22e0ee226dd2fc65b28aed0d15810902fbc15 (patch)
treeaa00cfe05b3341ef04e91ca13489ae21aaf323e2 /gtk/gtkplacessidebar.h
parent4fe86f1d101117d25692e02ae38a3bee0d9df73b (diff)
downloadgtk+-10b22e0ee226dd2fc65b28aed0d15810902fbc15.tar.gz
New API to set whether URI drops are accepted
The file chooser will not accept dropping URIs in a shortcut item. However, Nautilus will, to perform normal DnD for files. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Diffstat (limited to 'gtk/gtkplacessidebar.h')
-rw-r--r--gtk/gtkplacessidebar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkplacessidebar.h b/gtk/gtkplacessidebar.h
index 093357ca11..9180372f77 100644
--- a/gtk/gtkplacessidebar.h
+++ b/gtk/gtkplacessidebar.h
@@ -70,6 +70,8 @@ void gtk_places_sidebar_set_trash_is_full (GtkPlacesSidebar *sidebar, gboolean i
void gtk_places_sidebar_set_show_cwd (GtkPlacesSidebar *sidebar, gboolean show_cwd);
+void gtk_places_sidebar_set_file_dnd_enabled (GtkPlacesSidebar *sidebar, gboolean file_dnd_enabled);
+
G_END_DECLS
#endif /* __GTK_PLACES_SIDEBAR_H__ */