summaryrefslogtreecommitdiff
path: root/src/ntl-index-panel.c
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2000-02-14 07:23:10 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2000-02-14 07:23:10 +0000
commit6245e766c4578565c539a32889fb819f3a5e6e9e (patch)
treeb48e290332ef4f32e07672118a9a7e922c1e63da /src/ntl-index-panel.c
parentc85bb8ca4ad71530694f00cecb28a9cb686012cc (diff)
downloadnautilus-6245e766c4578565c539a32889fb819f3a5e6e9e.tar.gz
made index panel display "notes" from metadata if present, made it use
made index panel display "notes" from metadata if present, made it use custom icons from metadata if present.
Diffstat (limited to 'src/ntl-index-panel.c')
-rw-r--r--src/ntl-index-panel.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ntl-index-panel.c b/src/ntl-index-panel.c
index 984613edd..84d6f975b 100644
--- a/src/ntl-index-panel.c
+++ b/src/ntl-index-panel.c
@@ -72,13 +72,15 @@ static void nautilus_index_panel_set_up_info (NautilusIndexPanel *index_panel, c
/* drag and drop definitions */
enum {
+ TARGET_URI_LIST,
TARGET_COLOR,
- TARGET_URI_LIST
+ TARGET_GNOME_URI_LIST
};
static GtkTargetEntry index_dnd_target_table[] = {
+ { "text/uri-list", 0, TARGET_URI_LIST },
{ "application/x-color", 0, TARGET_COLOR },
- { "text/uri-list", 0, TARGET_URI_LIST }
+ { "special/x-gnome-icon-list", 0, TARGET_GNOME_URI_LIST }
};
NAUTILUS_DEFINE_CLASS_BOILERPLATE (NautilusIndexPanel, nautilus_index_panel, GTK_TYPE_EVENT_BOX)
@@ -192,6 +194,7 @@ nautilus_index_panel_drag_data_received (GtkWidget *widget, GdkDragContext *cont
switch (info)
{
+ case TARGET_GNOME_URI_LIST:
case TARGET_URI_LIST:
g_message("dropped data on index panel: %s", selection_data->data);