Merge lp://staging/~elementary-apps/pantheon-files/single-method-construct into lp://staging/~elementary-apps/pantheon-files/trunk
Status: | Merged |
---|---|
Approved by: | Danielle Foré |
Approved revision: | 2232 |
Merged at revision: | 2230 |
Proposed branch: | lp://staging/~elementary-apps/pantheon-files/single-method-construct |
Merge into: | lp://staging/~elementary-apps/pantheon-files/trunk |
Diff against target: |
436 lines (+148/-131) 1 file modified
src/View/PropertiesWindow.vala (+148/-131) |
To merge this branch: | bzr merge lp://staging/~elementary-apps/pantheon-files/single-method-construct |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Felipe Escoto (community) | third set of eyes | Approve | |
Review via email:
|
Commit message
PropertiesWindo
* Remove get_info method and construct info widgets in construct_
* separate complex info-fetching logic into small methods independent from widget construction
* Set resolution_value directly since it now has its own variable
* Ellipsize location_value
* Remove unused variables and declarations
* Rename variables for value and key labels for clarity
Description of the change
Instead of constructing the info panel in two methods (get_info and construct_
Also, we move the information-
The score on this one is gonna be lame. Gotta add lots of lines since we're not sharing variables
I suggest moving the filename manipulation stuff into PF.FileUtils. I suspect there may be more elegant ways of doing it as well.