annotate src/audacious/dnd.c @ 2535:97a305e550cf trunk

[svn] - make libmcs a forced requirement - remove legacy configdb engines - remove RcFile class (use g_keyfile instead)
author nenolod
date Sat, 17 Feb 2007 00:59:50 -0800
parents cfc8431aceb5
children 7a0ca380c843 3b6d316f8b09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2365
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
1 /* Audacious
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
2 * Copyright (C) 2005-2007 Audacious development team.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
3 *
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
4 * Based on BMP:
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
5 * Copyright (C) 2003-2004 BMP development team.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
6 *
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
7 * Based on XMMS:
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
8 * Copyright (C) 1998-2003 XMMS development team.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
9 *
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
10 * This program is free software; you can redistribute it and/or modify
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
11 * it under the terms of the GNU General Public License as published by
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
12 * the Free Software Foundation; under version 2 of the License.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
13 *
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful,
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
17 * GNU General Public License for more details.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
18 *
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
20 * along with this program; if not, write to the Free Software
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
22 */
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
23
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
24 #include "dnd.h"
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
25
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
26 void
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
27 bmp_drag_dest_set(GtkWidget *widget)
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
28 {
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
29 gtk_drag_dest_set(widget, GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP,
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
30 bmp_drop_types, 5,
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
31 GDK_ACTION_COPY | GDK_ACTION_MOVE);
cfc8431aceb5 [svn] cleanups in many regards
mf0102
parents:
diff changeset
32 }