Merge lp:~robertcarr/bamf/webapps into lp:bamf/0.4
Status: | Merged |
---|---|
Approved by: | Robert Carr |
Approved revision: | 500 |
Merged at revision: | 481 |
Proposed branch: | lp:~robertcarr/bamf/webapps |
Merge into: | lp:bamf/0.4 |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~robertcarr/bamf/webapps |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Trevisan (Treviño) | Approve | ||
Jason Smith (community) | Approve | ||
Review via email: mp+120432@code.launchpad.net |
Commit message
Add webapps support
Description of the change
Comments that I removed were fully integrated
>> 1308 +void
>> 1309 +bamf_applicati
>> An enum for types would be better than using a string value.
What is the preferred way to keep the enum in sync over DBus?
>> 1584 +BamfView *
>> 1585 +bamf_applicati
>> get_focused_child would be a better name imho
This method is perhaps a little confusing. It is not to return the focused child though, but the child which should be focused if this application is to be activated. It's used because only the webapps-
>> Instead of this, it would be probably better to add another method to the class that can be implemented by each BamfApplication implementation.
>> Otherwise... Another possibility would be to define a timeout on bamf_view that defines the amount of time after that a view is considered closed.
I like the class method. Done
>> 1689 +
>> 1690 + bamf_unity_
I am initializing it and tracking it in bamf-matcher now.
>> This looks over complicated... also instead of checking for == TRUE/FALSE I'd prefer to just check running/!running
>> Also, isn't enough not to set the running state?
?
>> How much would cost at this point to rename BAMF_TAB to BAMF_BROWSER_TAB?
Can we do this later?
>> Also, the library is not currently testable in an easy way, but the daemon is (and all the types it handles) so I think we need tests for them.
-.- We have some coverage by the webapps autopilot tests? Is this enough for now?
Testing confirms this is working. The size of the code review however makes doing a complete code review rather difficult. I have looked over the source and it generally looks sane but would like Robert to state a summary of the changes made by this branch as he sees them. Getting a feel for the general ideas and intent would help greatly.