lp://qastaging/~3v1n0/bamf/fixes
- Get this branch:
- bzr branch lp://qastaging/~3v1n0/bamf/fixes
Branch merges
- Jason Smith (community): Approve
- Unity Community Hackers: Pending requested
-
Diff: 1121 lines (+555/-236)3 files modifiedsrc/bamf-application.c (+27/-14)
src/bamf-application.h (+4/-4)
src/bamf-matcher.c (+524/-218)
Related bugs
Bug #676593: Bamf doesn't recognize just installed applications | Critical | Fix Released |
|
Bug #768636: Adding desktop folder as a .desktop file folder | Undecided | Fix Released |
|
Bug #771172: BAMF doesn't consider desktop files in ~/.local/share/applications | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 423. By Marco Trevisan (Treviño)
-
compare_sub_values optimization.
Generate the "prefix" string just once, and not for every sub-folder
.desktop item compared. This should save many allocations/copies. .. - 420. By Marco Trevisan (Treviño)
-
Give priority to .desktop files coming from the Desktop folder
Always put the .desktop files coming from the user desktop folder
as priority files, prepending them to the desktop file list. - 419. By Marco Trevisan (Treviño)
-
Correctly free non used strings, and don't double-check for list element
Move out some memory leaks included in past commits.
- 418. By Marco Trevisan (Treviño)
-
BAMF Application, reorder the desktop list
The desktop file list passed by the matcher is ordered, but a
BAMF application doesn't correctly use it, since it duplicates
the list using the prepend function, without reversing it.
This causes an inverted list.Plus, using g_list_free_full when the list was already initialized.
- 417. By Marco Trevisan (Treviño)
-
Matcher: correctly order desktop files by priority.
Desktop files whose name is equal to the desktop_id were prepended
to the desktop file list, but this caused to reverse their priority
(since the ones coming from a less prioritized directory were put
before the ones coming from an high priority directory).Now the desktop files with a desktop_id matching name are inserted
in a sorted way: they are appended to the other matching desktop files
while they're really prepended to the list of the other desktop files. - 416. By Marco Trevisan (Treviño)
-
Bamf-application: correclty free wmclass / desktop file when replacing
When replacing the desktop_class or wmclass parameter, free the
previously set value. - 415. By Marco Trevisan (Treviño)
-
Include the G_USER_
DIRECTORY_ DESKTOP as .desktop repository With this the user desktop directory will be used as a
.desktop files repository too (with the highest priority), also
if BAMF won't include and monitor its subfolders (alredy there
or added during the BAMF runtime).LP: #768636
- 414. By Marco Trevisan (Treviño)
-
Include missing support for $XDG_DATA_HOME
The $XDG_DATA_HOME env variable can be used to set data
directories too. BAMF should support it.Added the utility function get_desktop_
file_env_ directories( )
to perform this task (and generalize the case).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/bamf/0.4