| Commit message (Collapse) | Author | Age |
|
|
|
| |
These were implemented, but omitted from the documentation.
|
|
|
|
|
|
| |
Thumbnail images will be displayed when icons are enabled, with the
standard mime-type icons used for all non-image files. Thumbnails are
generated internally by GTK.
|
|
|
|
|
|
| |
This option expects one path per line (and so doesn't accept paths
containing newlines). Files are treated as though passed on the command
line, and the window will not appear until stdin is closed.
|
|
|
| |
With `dragon -T ...`, the window will be marked always-on-top to allow dragging in/out of windows that would occlude it. The default with no option is a standard ("sometimes-on-top") window. In combination with 7a1ad24, this fixes #20.
|
| |
|
| |
|
| |
|
|
|
|
| |
-i and --icon-only will suppress display of file names.
|
| |
|
| |
|
| |
|
|
|
|
| |
Also remove DEFAULT because that's documented as "not to be used".
|
| |
|
| |
|
|
|
|
|
| |
Printing all the URIs sent is not really informative, so just say "we
sent them all".
|
|
|
|
|
| |
Because the last item needs to be NULL and is written in
`drag_data_get`.
|
|
|
|
|
| |
This isn't exactly a "fix" but more like a "don't do anything stupid
beyond this point".
|
|
|
|
|
| |
This release introduces the -p option to print paths instead of file:
URIs, and various bug fixes.
|
| |
|
|
|
|
|
|
|
|
| |
Now checks whether the received URI is a file (uses the `file` scheme)
and always adds a file button for those.
When the option is provided, the file path is output instead of the URI.
Also parses URIs from the command line.
|
|
|
|
|
| |
Otherwise consumers can't use verbose mode and interpret stdout at the
same time. stderr is usually used for all kinds of logging.
|
|
|
|
|
| |
If the current theme doesn't have an icon for our file, try a few
generic mimetypes instead.
|
|
|
|
|
|
|
|
|
| |
The recommended method is to set the child's `halign` property. However,
because our button has two children that automatically get wrapped in a
GtkAlignment container, we need to set the alignment of that child after
the image and the label have been added.
Also fix an assertion failure when no icon could be found for a file.
|
| |
|
|
|
|
|
|
| |
gtk_icon_theme_lookup_by_gicon was called with the
GTK_ICON_GENERIC_FALLBACK flag, which is not meaningful for that
function and produced a warning.
|
|
|
|
| |
Fixes #1, #2.
|
| |
|
| |
|
|
|
|
|
|
| |
When stdout was not a terminal the default buffering made it hard to
script the -t option usefully. With this commit, output is always line
buffered, so each URL dragged on will be printed immediately.
|
|
|
|
|
| |
When showing files as sources, dragon will now include the default icon
for the file type on the button as well as the name.
|
|
|
|
|
| |
The --help text didn't include --target, --and-exit, or --keep; with
this commit it does.
|
|
|
|
| |
These are short for --target and --and-exit, respectively.
|
|
|
|
|
|
| |
When --keep is given with --target, dragged data is retained as
draggable buttons and a new target button is provided at the bottom of
the list.
|
|
|
|
|
|
| |
With --target, dragons will accept a URI list or text dragged onto it,
printing the content to the terminal. With --and-exit also, will
terminate after printing dragged content.
|
|
|