Mercurial > geeqie
annotate src/dnd.h @ 1752:843c4eb46e09
fixed incorrect translation
author | nadvornik |
---|---|
date | Sun, 13 Sep 2009 21:03:17 +0000 |
parents | 79b32088ecc4 |
children | 956aab097ea7 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
1284 | 4 * Copyright (C) 2008 - 2009 The Geeqie Team |
9 | 5 * |
6 * Author: John Ellis | |
7 * | |
8 * This software is released under the GNU General Public License (GNU GPL). | |
9 * Please read the included file COPYING for more information. | |
10 * This software comes with no warranty of any kind, use at your own risk! | |
11 */ | |
12 | |
13 | |
14 #ifndef DND_H | |
15 #define DND_H | |
16 | |
316 | 17 #define TARGET_APP_COLLECTION_MEMBER_STRING "application/x-" GQ_APPNAME_LC "-collection-member" |
1374 | 18 #define TARGET_APP_EXIF_ENTRY_STRING "application/x-" GQ_APPNAME_LC "-exif-entry" |
1392 | 19 #define TARGET_APP_KEYWORD_PATH_STRING "application/x-" GQ_APPNAME_LC "-keyword-path" |
9 | 20 |
21 enum { | |
22 TARGET_APP_COLLECTION_MEMBER, | |
1374 | 23 TARGET_APP_EXIF_ENTRY, |
1392 | 24 TARGET_APP_KEYWORD_PATH, |
9 | 25 TARGET_URI_LIST, |
26 TARGET_TEXT_PLAIN | |
27 }; | |
28 | |
29 | |
30 extern GtkTargetEntry dnd_file_drag_types[]; | |
31 extern gint dnd_file_drag_types_count; | |
32 | |
33 extern GtkTargetEntry dnd_file_drop_types[]; | |
34 extern gint dnd_file_drop_types_count; | |
35 | |
36 | |
37 /* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */ | |
38 void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items); | |
39 | |
1393 | 40 void dnd_set_drag_label(GtkWidget *widget, GdkDragContext *context, const gchar *text); |
9 | 41 |
42 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
475
diff
changeset
|
43 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |