Commit 8c9570cf authored by Jannis Pohlmann's avatar Jannis Pohlmann

Move DND to ThunarShortcutGroup, start with creating shortcuts via DND.

The empty spot indicator for text/uri-list should really just be a thin
line, not a huge empty block.
parent 0941a545
Branch jannis/new-shortcuts-pane
- Reordering shortcuts may not change the order or position of immutable
shortcuts. That still needs to be implemented in ThunarShortcutGroup.
- Dragging a URI to the new shortcuts pane must either cause an empty
spot indicator to show up or must indicate possible drop actions on
the current shortcut. The latter already works, the empty spot
indicator still needs to be implemented.
Important for Thunar 1.2
This diff is collapsed.
This diff is collapsed.
/* vi:set et ai sw=2 sts=2 ts=2: */
* Copyright (c) 2011 Jannis Pohlmann <>
* Copyright (c) 2011-2012 Jannis Pohlmann <>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
......@@ -93,6 +93,12 @@ gboolean thunar_shortcut_matches_file (ThunarShortcut *sho
gboolean thunar_shortcut_matches_location (ThunarShortcut *shortcut,
GFile *location);
const gchar *thunar_shortcut_get_display_name (ThunarShortcut *shortcut);
GdkDragAction thunar_shortcut_compute_drop_actions (ThunarShortcut *shortcut,
GList *drop_file_list,
GdkDragContext *context,
GdkDragAction *suggested_action);
void thunar_shortcut_set_drag_highlight (ThunarShortcut *shortcut,
gboolean highlight);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment