Merge lp://staging/~azzar1/bamf/bamf-sn into lp://staging/bamf

Proposed by Andrea Azzarone
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 634
Merged at revision: 625
Proposed branch: lp://staging/~azzar1/bamf/bamf-sn
Merge into: lp://staging/bamf
Diff against target: 823 lines (+340/-18)
17 files modified
configure.ac (+6/-1)
debian/changelog (+6/-0)
debian/libbamf3-2.symbols (+1/-0)
lib/libbamf-private/org.ayatana.bamf.view.xml (+1/-0)
lib/libbamf/bamf-view.c (+51/-0)
lib/libbamf/bamf-view.h (+5/-2)
src/Makefile.am (+2/-0)
src/bamf-application.c (+19/-0)
src/bamf-control.c (+4/-2)
src/bamf-control.h (+2/-2)
src/bamf-legacy-screen.c (+98/-1)
src/bamf-legacy-screen.h (+14/-8)
src/bamf-matcher.c (+54/-2)
src/bamf-matcher.h (+4/-0)
src/bamf-view.c (+67/-0)
src/bamf-view.h (+4/-0)
tests/bamfdaemon/Makefile.am (+2/-0)
To merge this branch: bzr merge lp://staging/~azzar1/bamf/bamf-sn
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
PS Jenkins bot (community) continuous-integration Approve
Andrea Azzarone (community) Needs Resubmitting
Review via email: mp+283314@code.staging.launchpad.net

Commit message

BamfView: add "starting" property which is true when an application has been launched

Description of the change

Add "starting" property to bamf views using startup notification. I suppose I also need to bump the API.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Wondering why we can't just use org.gtk.gio.DesktopAppInfo signal instead of SN?

This could have been implemented just for a BamfApplication, but that's fine for a view as well.

In case of SN_MONITOR_EVENT_CANCELED: We should set the starting to false.
Also we should define a maximum amount of time to wait after setting a viuw as starting.

Plus, bump version to 0.5.3, so that we can set set as build-dependency on unity side.

On debian side there's some work to do as well:
 debian/control: add libstartup-notification0-dev as build-dependency
 debian/changelog: bump version
 debian/libbamf3-2.symbols: add new symbols (use 0replaceme for versioning, see previous examples)

review: Needs Fixing
lp://staging/~azzar1/bamf/bamf-sn updated
625. By Andrea Azzarone

Merge with trunk.

626. By Andrea Azzarone

Remove deprecated methods.

627. By Andrea Azzarone

Remove two paddings to avoid ABI break.

628. By Andrea Azzarone

Remove useless space.

629. By Andrea Azzarone

Add a timeout to avoid infinite starting animation in case of failing.

630. By Andrea Azzarone

Bump version and update symbols.

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Done.

review: Needs Resubmitting
lp://staging/~azzar1/bamf/bamf-sn updated
631. By Andrea Azzarone

Properly bump version.

632. By Andrea Azzarone

And again.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp://staging/~azzar1/bamf/bamf-sn updated
633. By Andrea Azzarone

Properly remove deprecated methods.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
lp://staging/~azzar1/bamf/bamf-sn updated
634. By Andrea Azzarone

Merge with lp:~3v1n0/bamf/sn-fixes

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Good to go

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: