catch more cases for 'Keep in Launcher' by recognizing StatupWMClass from .desktop file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Undecided
|
Marco Trevisan (Treviño) | ||
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For a while I didn't understand why Firefox daily packages didn't work. Buf finally I found some time to look into this.
Finding is that for things like firefox daily etc. we have a window class name called "Minefield", but the desktop file is still called "firefox-
Adding support to recognize StartupWMClass= field (if available in .desktop files) would allow bamf to support more .desktop file variants, including firefox daily builds.
I have a branch that has this feature here: lp:~asac/bamf/match-apps-by-startup-wm-class
A preview package for maverick that includes an update to the .postinst to generate the new index format is available in ppa:asac/ppa
+ DSC: https:/
+ debdiff: http://
... with those changes i can keep firefox daily builds in my launcher,yay ;).
Related branches
- Jason Smith (community): Approve
-
Diff: 488 lines (+198/-40)3 files modifiedsrc/bamf-application.c (+50/-3)
src/bamf-application.h (+6/-0)
src/bamf-matcher.c (+142/-37)
Changed in bamf: | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in bamf (Ubuntu): | |
status: | New → Confirmed |
Changed in bamf: | |
status: | Confirmed → In Progress |
assignee: | nobody → Treviño (Marco Trevisan) (3v1n0) |
Changed in bamf: | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | Confirmed → Fix Committed |
Changed in bamf (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in unity: | |
milestone: | none → 3.8.2 |
Changed in bamf: | |
status: | Fix Committed → Fix Released |
Changed in unity: | |
status: | Fix Committed → Fix Released |
no longer affects: | bamf (Ubuntu Quantal) |
Changed in unity (Ubuntu): | |
status: | New → Fix Released |
submitted merge request: https:/ /code.launchpad .net/~asac/ bamf/match- apps-by- startup- wm-class/ +merge/ 44410