aboutsummaryrefslogtreecommitdiff
path: root/dragon.c
Commit message (Collapse)AuthorAge
* Option to print file paths in target modeFichteFoll2019-07-05
| | | | | | | | 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.
* Output debug messages on stderrFichteFoll2019-05-08
| | | | | Otherwise consumers can't use verbose mode and interpret stdout at the same time. stderr is usually used for all kinds of logging.
* Add fallback to generic iconsFichteFoll2019-05-08
| | | | | If the current theme doesn't have an icon for our file, try a few generic mimetypes instead.
* Remove deprecated gtk_button_set_alignment callFichteFoll2019-05-08
| | | | | | | | | 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.
* Unify whitespace (to spaces)FichteFoll2019-05-08
|
* Remove runtime warning about icon fallbackMichael Homer2018-04-27
| | | | | | 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.
* Let GIO handle URI buildingSebastian Reuße2018-04-25
| | | | Fixes #1, #2.
* Bump version to 1.0.0Michael Homer2018-04-13
|
* Add drag all featureAndre Pontes2017-06-22
|
* Set stdout to line buffered for scripting -tMichael Homer2014-08-15
| | | | | | 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.
* Show icons when displaying source buttonsMichael Homer2014-08-15
| | | | | When showing files as sources, dragon will now include the default icon for the file type on the button as well as the name.
* Update --help output with other modesMichael Homer2014-06-21
| | | | | The --help text didn't include --target, --and-exit, or --keep; with this commit it does.
* Add short options -t and -xMichael Homer2014-06-19
| | | | These are short for --target and --and-exit, respectively.
* Allow keeping dragged data around with --keepMichael Homer2014-06-19
| | | | | | 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.
* Allow use as a drag target tooMichael Homer2014-06-19
| | | | | | 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.
* Initial commitMichael Homer2014-06-19
bgstack15