X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..34fe753171d9b0ae90090565e4043ffaf2b02a52:/disobedience/recent.c diff --git a/disobedience/recent.c b/disobedience/recent.c index 36a98d1..0e74feb 100644 --- a/disobedience/recent.c +++ b/disobedience/recent.c @@ -15,6 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file disobedience/recent.c + * @brief Disobedience recently-played widget + */ #include "disobedience.h" #include "popup.h" #include "queue-generic.h" @@ -58,7 +61,7 @@ static void recent_changed(const char attribute((unused)) *event, } /** @brief Called at startup */ -static void recent_init(void) { +static void recent_init(struct queuelike attribute((unused)) *ql) { /* Whenever the recent list changes on the server, re-fetch it */ event_register("recent-changed", recent_changed, 0); } @@ -88,6 +91,8 @@ struct queuelike ql_recent = { .ncolumns = sizeof recent_columns / sizeof *recent_columns, .menuitems = recent_menuitems, .nmenuitems = sizeof recent_menuitems / sizeof *recent_menuitems, + .drag_source_targets = choose_targets, + .drag_source_actions = GDK_ACTION_COPY, }; GtkWidget *recent_widget(void) {