diff options
author | Darin Adler <darin@src.gnome.org> | 2002-03-01 22:57:38 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2002-03-01 22:57:38 +0000 |
commit | 114ba8327529b7047f23db62946cfdc7d1657cfa (patch) | |
tree | b50b72fa1778d97284aa3b4589e0c656956e9a22 /libnautilus-private/nautilus-dnd.h | |
parent | 255f098a008895b001a2c68bcd61aa06f92fedcf (diff) | |
download | nautilus-114ba8327529b7047f23db62946cfdc7d1657cfa.tar.gz |
Move reset constant into header.
* libnautilus-private/nautilus-dnd.h:
Move reset constant into header.
* libnautilus-private/nautilus-file.c:
(nautilus_file_get_display_name): Use g_locale_to_utf8, so this
works even when G_BROKEN_FILENAMES is not set.
* libnautilus-private/nautilus-icon-dnd.c:
Rearrange and clean up code a bit.
* src/nautilus-property-browser.c:
(nautilus_property_browser_destroy), (add_new_pattern),
(show_color_selection_window), (add_new_color), (add_new_emblem):
* src/nautilus-sidebar-title.c: (update_icon): Get rid of dead
code that gets uri and doesn't use it. It's been showing up in bug
reports too, so this is especially nice.
* src/nautilus-window-manage-views.h:
* src/nautilus-window-manage-views.c:
(nautilus_window_manage_views_destroy),
(nautilus_window_manage_views_finalize): Break this up into two
functions again.
* src/nautilus-window.c: (nautilus_window_destroy): Re-add this,
because some of the cleanup has to be done at destroy time.
(nautilus_window_finalize): Move some of this out.
(nautilus_window_class_init): Set up both.
* components/text/nautilus-text-view.c:
* components/tree/nautilus-tree-model.c:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-program-choosing.c:
* src/file-manager/fm-directory-view.c:
* src/nautilus-bookmark-list.c:
Miscellaneous porting to new names of functions, getting off
less-desirable functions.
Diffstat (limited to 'libnautilus-private/nautilus-dnd.h')
-rw-r--r-- | libnautilus-private/nautilus-dnd.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libnautilus-private/nautilus-dnd.h b/libnautilus-private/nautilus-dnd.h index 18c3c7cd6..2711f7a59 100644 --- a/libnautilus-private/nautilus-dnd.h +++ b/libnautilus-private/nautilus-dnd.h @@ -30,13 +30,14 @@ #include <gtk/gtkdnd.h> /* Drag & Drop target names. */ -#define NAUTILUS_ICON_DND_GNOME_ICON_LIST_TYPE "x-special/gnome-icon-list" -#define NAUTILUS_ICON_DND_URI_LIST_TYPE "text/uri-list" -#define NAUTILUS_ICON_DND_TEXT_TYPE "text/plain" -#define NAUTILUS_ICON_DND_URL_TYPE "_NETSCAPE_URL" -#define NAUTILUS_ICON_DND_COLOR_TYPE "application/x-color" -#define NAUTILUS_ICON_DND_BGIMAGE_TYPE "property/bgimage" -#define NAUTILUS_ICON_DND_KEYWORD_TYPE "property/keyword" +#define NAUTILUS_ICON_DND_GNOME_ICON_LIST_TYPE "x-special/gnome-icon-list" +#define NAUTILUS_ICON_DND_URI_LIST_TYPE "text/uri-list" +#define NAUTILUS_ICON_DND_TEXT_TYPE "text/plain" +#define NAUTILUS_ICON_DND_URL_TYPE "_NETSCAPE_URL" +#define NAUTILUS_ICON_DND_COLOR_TYPE "application/x-color" +#define NAUTILUS_ICON_DND_BGIMAGE_TYPE "property/bgimage" +#define NAUTILUS_ICON_DND_KEYWORD_TYPE "property/keyword" +#define NAUTILUS_ICON_DND_RESET_BACKGROUND_TYPE "x-special/gnome-reset-background" /* Item of the drag selection list */ typedef struct { @@ -54,7 +55,8 @@ typedef enum { NAUTILUS_ICON_DND_COLOR, NAUTILUS_ICON_DND_BGIMAGE, NAUTILUS_ICON_DND_KEYWORD, - NAUTILUS_ICON_DND_TEXT + NAUTILUS_ICON_DND_TEXT, + NAUTILUS_ICON_DND_RESET_BACKGROUND } NautilusIconDndTargetType; /* drag&drop-related information. */ |