Commit df191864 authored by Paolo Bacchilega's avatar Paolo Bacchilega

Revert "do not use a custom clipboard, the special mime-type is enough"

This reverts commit 26765b8b.

A different clipboard is actually useful for the following use case:

1 open an archive in file-roller
2 select a list of files
3 context menu -> cut
4 context menu -> paste
5 the paste dialog asks the user a destination
6 the user wants to copy and paste the destination from a selected
  text from another application

the last step can't be done if a single clipboard is used, because
copying a text to the clipboard would overwrite the clipbaord content
that contains the files cut in step 3.
parent 6833c7b9
......@@ -89,7 +89,7 @@
#define OCTET_ATOM gdk_atom_intern ("application/octet-stream", FALSE)
#define XFR_ATOM gdk_atom_intern ("XdndFileRoller0", FALSE)
#define FR_CLIPBOARD (gdk_atom_intern_static_string ("_FILE_ROLLER_SPECIAL_CLIPBOARD"))
#define FR_SPECIAL_URI_LIST (gdk_atom_intern_static_string ("application/file-roller-uri-list"))
static GtkTargetEntry clipboard_targets[] = {
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