Mercurial > pidgin.yaz
diff src/gtkconv.c @ 9525:a3be930b7fad
[gaim-migrate @ 10352]
This is the correcter way to do this.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 13 Jul 2004 23:05:59 +0000 |
parents | 2d4301c90aed |
children | 03066f174777 |
line wrap: on
line diff
--- a/src/gtkconv.c Tue Jul 13 21:00:58 2004 +0000 +++ b/src/gtkconv.c Tue Jul 13 23:05:59 2004 +0000 @@ -4329,7 +4329,7 @@ gtk_drag_finish(dc, TRUE, (dc->action == GDK_ACTION_MOVE), t); } - else if (sd->target == gdk_atom_intern("text/plain", FALSE)) { + else if (sd->target == gdk_atom_intern("text/uri-list", FALSE)) { if (!g_ascii_strncasecmp(sd->data, "file://", 7)) { GError *converr = NULL; gchar *file; @@ -4501,9 +4501,9 @@ static const GtkTargetEntry te[] = { - {"text/plain", 0, 0}, - {"text/uri-list", 0, 1}, - {"GAIM_BLIST_NODE", GTK_TARGET_SAME_APP, 2}, + {"text/uri-list", 0, 0}, + {"GAIM_BLIST_NODE", GTK_TARGET_SAME_APP, 1}, + {"text/plain", 0, 2}, {"STRING", 0, 3}, {"application/x-im-contact", 0, 4} };