~ubuntubudgie-dev/ubuntubudgie/+git/ubbudgiedesktopview:master

Last commit made on 2020-12-04
Get this branch:
git clone -b master https://git.launchpad.net/~ubuntubudgie-dev/ubuntubudgie/+git/ubbudgiedesktopview

Branch merges

Branch information

Recent commits

39641f2... by Joshua Strobl <email address hidden>

Bump to 1.0.2

e48fa06... by Joshua Strobl <email address hidden>

Implement KeyFile-based desktop file support to support non-Application type desktop files. Fixes #6.

This commit implements support for desktop files which cannot be handled by DesktopAppInfo, which is Type=Directory/Link.

To do this, we use GLib.KeyFile to load the file from its path, then check for the Icon and Name. If we fail to get an Icon and use a generic fallback. If we're successful, we set an icon name rather than attempt to load the icon, which saves us code by leveraging functionality in our DesktopItem.

For the name, we will attempt to get the "Name" key otherwise we set it to the display name of the file.

During launch of an item, we'll now check if keyfile is set. If it's set, we'll attempt to get the URL. If we get the URL, which should be set for Directory and Link types, we'll launch using the default handler for it.

Implemented a set_icon_from_name function which will attempt to load the pixbuf for the icon name provided. Refactored pixbuf fetching from the set_icon function into its own set_icon_from_iconinfo in case we need it down the road.

More aggressively prevent hidden files from being added. Since in some scenarios we won't have the FileInfo yet or we're dealing with a weird scenario like gedit saving temporarily to a dot file before moving it, we're doing it based on the basename of the file.

Use display name instead of label_name for file tracking in the file_items, since label_name is more likely to change.

4d7e88f... by Joshua Strobl <email address hidden>

Bump to 1.0.1

2df93a7... by Joshua Strobl <email address hidden>

Fix button press / release event checks. Prevent segfault on non-Application-type Desktop files.

We will improve how we handle non-Application-type Desktop files in 1.0.2.

Ref: #6.

371e1c3... by Joshua Strobl <email address hidden>

Remove click policy bit from TODO since it is done.

e2e328d... by Joshua Strobl <email address hidden>

Bump to 1.0

5f071d4... by Joshua Strobl <email address hidden>

Implement single and double click policy options.

Fixes #2.

2d48d3a... by Joshua Strobl <email address hidden>

Merge pull request #5 from Staudey/master

Minor corrections to README.md

0a1c43f... by Thomas Staudinger <email address hidden>

Minor corrections to README.md

c0d23ae... by Joshua Strobl <email address hidden>

Fix header levels in README.