diff options
author | Federico Mena Quintero <federico@gnome.org> | 2012-12-04 12:57:48 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2012-12-04 12:57:48 -0600 |
commit | 10b22e0ee226dd2fc65b28aed0d15810902fbc15 (patch) | |
tree | aa00cfe05b3341ef04e91ca13489ae21aaf323e2 /gtk/gtkplacessidebar.h | |
parent | 4fe86f1d101117d25692e02ae38a3bee0d9df73b (diff) | |
download | gtk+-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.h | 2 |
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__ */ |