Merge lp:~tigrangab/granite/popover_fix into lp:~elementary-pantheon/granite/granite
Proposed by
Tigran Gabrielyan
Status: | Merged |
---|---|
Approved by: | David Gomes |
Approved revision: | 626 |
Merged at revision: | 628 |
Proposed branch: | lp:~tigrangab/granite/popover_fix |
Merge into: | lp:~elementary-pantheon/granite/granite |
Diff against target: |
19 lines (+2/-1) 1 file modified
lib/Widgets/PopOver.vala (+2/-1) |
To merge this branch: | bzr merge lp:~tigrangab/granite/popover_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Gomes (community) | Approve | ||
Review via email: mp+184027@code.launchpad.net |
Commit message
popover: Added a NONE to the position enum.
Description of the change
Since the default pop position is set to TOPRIGHT so the condition if (old_pos != pos) { is not met and compute_shadow not called. I added a NONE enum to use as the default value.
To post a comment you must log in.
>a bit carried away fixing code style issues
I can tell, each branch has its own goal. Therefore, this branch should only fix the popover issue and you should then submit another branch with code style issues.
Besides, I never used PopOvers and unless somebody who has understands this branch and reviews it for me, I'll have to review it. Thus, I'd prefer if you explained the issue more elaboratedly because I don't really understand, thank you:
>Since the default pop position is set to TOPRIGHT so the condition if (old_pos != pos) { is not met and compute_shadow not called.