Merge lp:~ralsina/ubuntuone-control-panel/fix_917322 into lp:ubuntuone-control-panel
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Natalia Bidart on 2012-01-26 | ||||
| Approved revision: | 258 | ||||
| Merged at revision: | 255 | ||||
| Proposed branch: | lp:~ralsina/ubuntuone-control-panel/fix_917322 | ||||
| Merge into: | lp:ubuntuone-control-panel | ||||
| Diff against target: |
77 lines (+7/-13) 4 files modified
setup.py (+2/-1) ubuntuone/controlpanel/gui/qt/main/__init__.py (+4/-0) ubuntuone/controlpanel/gui/qt/main/linux.py (+0/-5) ubuntuone/controlpanel/gui/qt/main/windows.py (+1/-7) |
||||
| To merge this branch: | bzr merge lp:~ralsina/ubuntuone-control-panel/fix_917322 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Natalia Bidart | 2012-01-18 | Approve on 2012-01-26 | |
|
Review via email:
|
|||
Commit Message
Use uncompressed resources and the same qss loading code in both platforms to avoid future inconsistencies.
Description of the Change
IRL test:
python setup.py build
python bin/ubuntuone-
See orange buttons? Yay! See gray buttons? Nay!
- 256. By Roberto Alsina on 2012-01-18
-
move qss loading into the cross-platform main
| Roberto Alsina (ralsina) wrote : | # |
> Looks good!
>
> Can we have the stylesheet loading code in the multiplatform main (since now
> is the same code), and perhaps have the .qss name be platform-dependent (no
> need to do that last bit now - perhaps when we actually have 2 different qss)?
Done in revno 256
| Natalia Bidart (nataliabidart) wrote : | # |
ubuntuone/
45: [E0602, main] Undefined variable 'QtCore'
ubuntuone/
20: [W0611] Unused import QtCore
ubuntuone/
19: [W0611] Unused import QtCore
nessita@
Traceback (most recent call last):
File "bin/ubuntuone-
with_
File "/home/
qss = QtCore.
NameError: global name 'QtCore' is not defined
- 257. By Roberto Alsina on 2012-01-19
-
Note to self: when IRL testing on windows, make sure u1cp is not already running, or you will IRL test the old version
| Roberto Alsina (ralsina) wrote : | # |
Sorry, turns out that I really, really, really should take care to kill u1cp before doing IRL tests on windows ;-)
| Natalia Bidart (nataliabidart) wrote : | # |
These lint issues are still present:
== Python Lint Notices ==
ubuntuone/
20: [W0611] Unused import QtCore
ubuntuone/
19: [W0611] Unused import QtCore
- 258. By Roberto Alsina on 2012-01-26
-
lint


Looks good!
Can we have the stylesheet loading code in the multiplatform main (since now is the same code), and perhaps have the .qss name be platform-dependent (no need to do that last bit now - perhaps when we actually have 2 different qss)?