Merge lp:~dobey/ubuntu/oneiric/ubuntuone-control-panel/fix-823648 into lp:ubuntu/oneiric/ubuntuone-control-panel
- Oneiric (11.10)
- fix-823648
- Merge into oneiric
Proposed by
dobey
Status: | Merged |
---|---|
Merged at revision: | 28 |
Proposed branch: | lp:~dobey/ubuntu/oneiric/ubuntuone-control-panel/fix-823648 |
Merge into: | lp:ubuntu/oneiric/ubuntuone-control-panel |
Diff against target: |
4336 lines (+1992/-1277) 33 files modified
MANIFEST (+140/-0) PKG-INFO (+20/-1) data/qt/account.ui (+104/-110) data/qt/controlpanel.ui (+261/-342) data/qt/device.ui (+3/-3) data/qt/devices.ui (+66/-76) data/qt/filesyncstatus.ui (+20/-30) data/qt/folders.ui (+112/-36) data/qt/loadingoverlay.ui (+103/-118) data/qt/preferences.ui (+24/-21) data/qt/ubuntuone.qss (+84/-33) debian/changelog (+7/-0) debian/control (+4/-4) po/ubuntuone-control-panel.pot (+486/-0) setup.py (+1/-1) ubuntuone/controlpanel/backend.py (+3/-1) ubuntuone/controlpanel/gui/__init__.py (+4/-3) ubuntuone/controlpanel/gui/qt/controlpanel.py (+1/-1) ubuntuone/controlpanel/gui/qt/folders.py (+12/-11) ubuntuone/controlpanel/gui/qt/loadingoverlay.py (+2/-1) ubuntuone/controlpanel/gui/qt/tests/test_folders.py (+11/-30) ubuntuone/controlpanel/gui/qt/ui/account_ui.py (+42/-35) ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py (+72/-94) ubuntuone/controlpanel/gui/qt/ui/device_ui.py (+3/-3) ubuntuone/controlpanel/gui/qt/ui/devices_ui.py (+28/-31) ubuntuone/controlpanel/gui/qt/ui/filesyncstatus_ui.py (+5/-9) ubuntuone/controlpanel/gui/qt/ui/folders_ui.py (+48/-19) ubuntuone/controlpanel/gui/qt/ui/images_rc.py (+281/-223) ubuntuone/controlpanel/gui/qt/ui/loadingoverlay_ui.py (+2/-7) ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py (+1/-1) ubuntuone/controlpanel/gui/qt/ui/preferences_ui.py (+30/-29) ubuntuone/controlpanel/gui/tests/test_url_sign.py (+8/-2) ubuntuone/controlpanel/logger.py (+4/-2) |
To merge this branch: | bzr merge lp:~dobey/ubuntu/oneiric/ubuntuone-control-panel/fix-823648 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Approve | ||
Ubuntu branches | Pending | ||
Review via email: mp+71413@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'MANIFEST' | |||
2 | --- MANIFEST 1970-01-01 00:00:00 +0000 | |||
3 | +++ MANIFEST 2011-08-12 19:16:23 +0000 | |||
4 | @@ -0,0 +1,140 @@ | |||
5 | 1 | # file GENERATED by distutils, do NOT edit | ||
6 | 2 | COPYING | ||
7 | 3 | MANIFEST | ||
8 | 4 | README | ||
9 | 5 | com.ubuntuone.controlpanel.gui.service.in | ||
10 | 6 | com.ubuntuone.controlpanel.service.in | ||
11 | 7 | pylintrc | ||
12 | 8 | run-tests | ||
13 | 9 | run-tests.bat | ||
14 | 10 | setup.py | ||
15 | 11 | ubuntuone-control-panel-gtk.desktop.in | ||
16 | 12 | ubuntuone-control-panel.in | ||
17 | 13 | ubuntuone.controlpanel.pth | ||
18 | 14 | bin/ubuntuone-control-panel-backend | ||
19 | 15 | bin/ubuntuone-control-panel-gtk | ||
20 | 16 | bin/ubuntuone-control-panel-qt | ||
21 | 17 | data/Ubuntu-R.ttf | ||
22 | 18 | data/computer.png | ||
23 | 19 | data/contacts.png | ||
24 | 20 | data/external_icon_orange.png | ||
25 | 21 | data/external_icon_white.png | ||
26 | 22 | data/facebook.png | ||
27 | 23 | data/files.png | ||
28 | 24 | data/folder.png | ||
29 | 25 | data/music-store.png | ||
30 | 26 | data/music-stream.png | ||
31 | 27 | data/notes.png | ||
32 | 28 | data/overview.png | ||
33 | 29 | data/phone.png | ||
34 | 30 | data/services-bookmarks.png | ||
35 | 31 | data/services-contacts.png | ||
36 | 32 | data/services-files-example.png | ||
37 | 33 | data/services-files.png | ||
38 | 34 | data/sync_status_alert.png | ||
39 | 35 | data/sync_status_disconnected.png | ||
40 | 36 | data/sync_status_sync_done.png | ||
41 | 37 | data/sync_status_syncing.png | ||
42 | 38 | data/twitter.png | ||
43 | 39 | data/u1icon.png | ||
44 | 40 | data/gtk/dashboard.ui | ||
45 | 41 | data/gtk/device.ui | ||
46 | 42 | data/gtk/devices.ui | ||
47 | 43 | data/gtk/install.ui | ||
48 | 44 | data/gtk/management.ui | ||
49 | 45 | data/gtk/overview.ui | ||
50 | 46 | data/gtk/services.ui | ||
51 | 47 | data/gtk/volumes.ui | ||
52 | 48 | data/qt/account.ui | ||
53 | 49 | data/qt/controlpanel.ui | ||
54 | 50 | data/qt/device.ui | ||
55 | 51 | data/qt/devices.ui | ||
56 | 52 | data/qt/filesyncstatus.ui | ||
57 | 53 | data/qt/folders.ui | ||
58 | 54 | data/qt/images.qrc | ||
59 | 55 | data/qt/loadingoverlay.ui | ||
60 | 56 | data/qt/mainwindow.ui | ||
61 | 57 | data/qt/preferences.ui | ||
62 | 58 | data/qt/ubuntuone.qss | ||
63 | 59 | docs/ubuntuone-control-panel-gtk.1 | ||
64 | 60 | po/POTFILES.in | ||
65 | 61 | po/ubuntuone-control-panel.pot | ||
66 | 62 | ubuntuone/__init__.py | ||
67 | 63 | ubuntuone/controlpanel/__init__.py | ||
68 | 64 | ubuntuone/controlpanel/backend.py | ||
69 | 65 | ubuntuone/controlpanel/constants.py.in | ||
70 | 66 | ubuntuone/controlpanel/dbus_service.py | ||
71 | 67 | ubuntuone/controlpanel/logger.py | ||
72 | 68 | ubuntuone/controlpanel/login_client.py | ||
73 | 69 | ubuntuone/controlpanel/replication_client.py | ||
74 | 70 | ubuntuone/controlpanel/utils.py | ||
75 | 71 | ubuntuone/controlpanel/dbustests/__init__.py | ||
76 | 72 | ubuntuone/controlpanel/dbustests/test_dbus_service.py | ||
77 | 73 | ubuntuone/controlpanel/dbustests/test_gui_service.py | ||
78 | 74 | ubuntuone/controlpanel/dbustests/test_sd_client/__init__.py | ||
79 | 75 | ubuntuone/controlpanel/dbustests/test_sd_client/test_linux.py | ||
80 | 76 | ubuntuone/controlpanel/gui/__init__.py | ||
81 | 77 | ubuntuone/controlpanel/gui/gtk/__init__.py | ||
82 | 78 | ubuntuone/controlpanel/gui/gtk/gui.py | ||
83 | 79 | ubuntuone/controlpanel/gui/gtk/package_manager.py | ||
84 | 80 | ubuntuone/controlpanel/gui/gtk/widgets.py | ||
85 | 81 | ubuntuone/controlpanel/gui/gtk/tests/__init__.py | ||
86 | 82 | ubuntuone/controlpanel/gui/gtk/tests/test_gui.py | ||
87 | 83 | ubuntuone/controlpanel/gui/gtk/tests/test_gui_basic.py | ||
88 | 84 | ubuntuone/controlpanel/gui/gtk/tests/test_package_manager.py | ||
89 | 85 | ubuntuone/controlpanel/gui/gtk/tests/test_widgets.py | ||
90 | 86 | ubuntuone/controlpanel/gui/qt/__init__.py | ||
91 | 87 | ubuntuone/controlpanel/gui/qt/account.py | ||
92 | 88 | ubuntuone/controlpanel/gui/qt/addfolder.py | ||
93 | 89 | ubuntuone/controlpanel/gui/qt/controlpanel.py | ||
94 | 90 | ubuntuone/controlpanel/gui/qt/device.py | ||
95 | 91 | ubuntuone/controlpanel/gui/qt/devices.py | ||
96 | 92 | ubuntuone/controlpanel/gui/qt/filesyncstatus.py | ||
97 | 93 | ubuntuone/controlpanel/gui/qt/folders.py | ||
98 | 94 | ubuntuone/controlpanel/gui/qt/gotoweb.py | ||
99 | 95 | ubuntuone/controlpanel/gui/qt/gui.py | ||
100 | 96 | ubuntuone/controlpanel/gui/qt/loadingoverlay.py | ||
101 | 97 | ubuntuone/controlpanel/gui/qt/preferences.py | ||
102 | 98 | ubuntuone/controlpanel/gui/qt/ubuntuonebin.py | ||
103 | 99 | ubuntuone/controlpanel/gui/qt/main/__init__.py | ||
104 | 100 | ubuntuone/controlpanel/gui/qt/main/linux.py | ||
105 | 101 | ubuntuone/controlpanel/gui/qt/main/windows.py | ||
106 | 102 | ubuntuone/controlpanel/gui/qt/tests/__init__.py | ||
107 | 103 | ubuntuone/controlpanel/gui/qt/tests/test_account.py | ||
108 | 104 | ubuntuone/controlpanel/gui/qt/tests/test_addfolder.py | ||
109 | 105 | ubuntuone/controlpanel/gui/qt/tests/test_controlpanel.py | ||
110 | 106 | ubuntuone/controlpanel/gui/qt/tests/test_device.py | ||
111 | 107 | ubuntuone/controlpanel/gui/qt/tests/test_devices.py | ||
112 | 108 | ubuntuone/controlpanel/gui/qt/tests/test_filesyncstatus.py | ||
113 | 109 | ubuntuone/controlpanel/gui/qt/tests/test_folders.py | ||
114 | 110 | ubuntuone/controlpanel/gui/qt/tests/test_gotoweb.py | ||
115 | 111 | ubuntuone/controlpanel/gui/qt/tests/test_gui.py | ||
116 | 112 | ubuntuone/controlpanel/gui/qt/tests/test_loadingoverlay.py | ||
117 | 113 | ubuntuone/controlpanel/gui/qt/tests/test_preferences.py | ||
118 | 114 | ubuntuone/controlpanel/gui/qt/tests/test_ubuntuonebin.py | ||
119 | 115 | ubuntuone/controlpanel/gui/qt/ui/__init__.py | ||
120 | 116 | ubuntuone/controlpanel/gui/qt/ui/account_ui.py | ||
121 | 117 | ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py | ||
122 | 118 | ubuntuone/controlpanel/gui/qt/ui/device_ui.py | ||
123 | 119 | ubuntuone/controlpanel/gui/qt/ui/devices_ui.py | ||
124 | 120 | ubuntuone/controlpanel/gui/qt/ui/filesyncstatus_ui.py | ||
125 | 121 | ubuntuone/controlpanel/gui/qt/ui/folders_ui.py | ||
126 | 122 | ubuntuone/controlpanel/gui/qt/ui/images_rc.py | ||
127 | 123 | ubuntuone/controlpanel/gui/qt/ui/loadingoverlay_ui.py | ||
128 | 124 | ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py | ||
129 | 125 | ubuntuone/controlpanel/gui/qt/ui/preferences_ui.py | ||
130 | 126 | ubuntuone/controlpanel/gui/tests/__init__.py | ||
131 | 127 | ubuntuone/controlpanel/gui/tests/test_humanize.py | ||
132 | 128 | ubuntuone/controlpanel/gui/tests/test_url_sign.py | ||
133 | 129 | ubuntuone/controlpanel/sd_client/__init__.py | ||
134 | 130 | ubuntuone/controlpanel/sd_client/linux.py | ||
135 | 131 | ubuntuone/controlpanel/tests/__init__.py | ||
136 | 132 | ubuntuone/controlpanel/tests/test_backend.py | ||
137 | 133 | ubuntuone/controlpanel/tests/test_login_client.py | ||
138 | 134 | ubuntuone/controlpanel/tests/test_replication_client.py | ||
139 | 135 | ubuntuone/controlpanel/tests/test_sd_client.py | ||
140 | 136 | ubuntuone/controlpanel/tests/test_utils.py | ||
141 | 137 | ubuntuone/controlpanel/tests/test_web_client.py | ||
142 | 138 | ubuntuone/controlpanel/web_client/__init__.py | ||
143 | 139 | ubuntuone/controlpanel/web_client/libsoup.py | ||
144 | 140 | ubuntuone/controlpanel/web_client/txwebclient.py | ||
145 | 0 | 141 | ||
146 | === modified file 'PKG-INFO' | |||
147 | --- PKG-INFO 2011-07-22 21:26:48 +0000 | |||
148 | +++ PKG-INFO 2011-08-12 19:16:23 +0000 | |||
149 | @@ -1,6 +1,6 @@ | |||
150 | 1 | Metadata-Version: 1.1 | 1 | Metadata-Version: 1.1 |
151 | 2 | Name: ubuntuone-control-panel | 2 | Name: ubuntuone-control-panel |
153 | 3 | Version: 1.1.1 | 3 | Version: 1.1.2 |
154 | 4 | Summary: Ubuntu One Control Panel | 4 | Summary: Ubuntu One Control Panel |
155 | 5 | Home-page: https://launchpad.net/ubuntuone-control-panel | 5 | Home-page: https://launchpad.net/ubuntuone-control-panel |
156 | 6 | Author: Natalia Bidart | 6 | Author: Natalia Bidart |
157 | @@ -8,4 +8,23 @@ | |||
158 | 8 | License: GPL v3 | 8 | License: GPL v3 |
159 | 9 | Description: Application to manage a Ubuntu One account. Provides aDBus service to query/modify all the Ubuntu One bits. | 9 | Description: Application to manage a Ubuntu One account. Provides aDBus service to query/modify all the Ubuntu One bits. |
160 | 10 | Platform: UNKNOWN | 10 | Platform: UNKNOWN |
161 | 11 | Requires: PyQt4 | ||
162 | 12 | Requires: apt | ||
163 | 13 | Requires: aptdaemon | ||
164 | 14 | Requires: dbus | ||
165 | 15 | Requires: defer | ||
166 | 16 | Requires: desktopcouch.application.replication_services | ||
167 | 17 | Requires: gi.repository | ||
168 | 18 | Requires: gobject | ||
169 | 19 | Requires: gtk | ||
170 | 20 | Requires: mocker | ||
171 | 21 | Requires: oauth | ||
172 | 22 | Requires: pango | ||
173 | 23 | Requires: simplejson | ||
174 | 24 | Requires: twisted.application | ||
175 | 25 | Requires: twisted.internet | ||
176 | 26 | Requires: twisted.python.failure | ||
177 | 27 | Requires: twisted.trial.unittest | ||
178 | 28 | Requires: twisted.web | ||
179 | 29 | Requires: ubuntu_sso | ||
180 | 11 | Provides: ubuntuone | 30 | Provides: ubuntuone |
181 | 12 | 31 | ||
182 | === modified file 'data/qt/account.ui' | |||
183 | --- data/qt/account.ui 2011-07-22 21:26:48 +0000 | |||
184 | +++ data/qt/account.ui 2011-08-12 19:16:23 +0000 | |||
185 | @@ -6,8 +6,8 @@ | |||
186 | 6 | <rect> | 6 | <rect> |
187 | 7 | <x>0</x> | 7 | <x>0</x> |
188 | 8 | <y>0</y> | 8 | <y>0</y> |
191 | 9 | <width>321</width> | 9 | <width>381</width> |
192 | 10 | <height>205</height> | 10 | <height>167</height> |
193 | 11 | </rect> | 11 | </rect> |
194 | 12 | </property> | 12 | </property> |
195 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
196 | @@ -18,113 +18,107 @@ | |||
197 | 18 | <number>0</number> | 18 | <number>0</number> |
198 | 19 | </property> | 19 | </property> |
199 | 20 | <item> | 20 | <item> |
307 | 21 | <widget class="QGroupBox" name="horizontalGroupBox"> | 21 | <layout class="QGridLayout" name="gridLayout_2"> |
308 | 22 | <property name="title"> | 22 | <property name="verticalSpacing"> |
309 | 23 | <string>Personal details</string> | 23 | <number>30</number> |
310 | 24 | </property> | 24 | </property> |
311 | 25 | <layout class="QHBoxLayout" name="horizontalLayout"> | 25 | <item row="2" column="2"> |
312 | 26 | <item> | 26 | <widget class="GoToWebButton" name="edit_profile_button"> |
313 | 27 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 27 | <property name="text"> |
314 | 28 | <item> | 28 | <string>Edit personal details online</string> |
315 | 29 | <widget class="QLabel" name="name_label"> | 29 | </property> |
316 | 30 | <property name="text"> | 30 | </widget> |
317 | 31 | <string/> | 31 | </item> |
318 | 32 | </property> | 32 | <item row="2" column="0"> |
319 | 33 | </widget> | 33 | <widget class="QGroupBox" name="services"> |
320 | 34 | </item> | 34 | <property name="title"> |
321 | 35 | <item> | 35 | <string>Your services</string> |
322 | 36 | <widget class="QLabel" name="email_label"> | 36 | </property> |
323 | 37 | <property name="text"> | 37 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
324 | 38 | <string/> | 38 | <property name="margin"> |
325 | 39 | </property> | 39 | <number>0</number> |
326 | 40 | </widget> | 40 | </property> |
327 | 41 | </item> | 41 | <item> |
328 | 42 | </layout> | 42 | <widget class="QLabel" name="services_description_label"> |
329 | 43 | </item> | 43 | <property name="text"> |
330 | 44 | <item> | 44 | <string/> |
331 | 45 | <spacer name="horizontalSpacer_3"> | 45 | </property> |
332 | 46 | <property name="orientation"> | 46 | </widget> |
333 | 47 | <enum>Qt::Horizontal</enum> | 47 | </item> |
334 | 48 | </property> | 48 | </layout> |
335 | 49 | <property name="sizeHint" stdset="0"> | 49 | </widget> |
336 | 50 | <size> | 50 | </item> |
337 | 51 | <width>40</width> | 51 | <item row="1" column="0" colspan="4"> |
338 | 52 | <height>20</height> | 52 | <widget class="Line" name="account_separator"> |
339 | 53 | </size> | 53 | <property name="orientation"> |
340 | 54 | </property> | 54 | <enum>Qt::Horizontal</enum> |
341 | 55 | </spacer> | 55 | </property> |
342 | 56 | </item> | 56 | </widget> |
343 | 57 | <item> | 57 | </item> |
344 | 58 | <widget class="GoToWebButton" name="edit_profile_button"> | 58 | <item row="0" column="0"> |
345 | 59 | <property name="text"> | 59 | <widget class="QGroupBox" name="profile_info"> |
346 | 60 | <string>Edit personal details online</string> | 60 | <property name="title"> |
347 | 61 | </property> | 61 | <string>Personal details</string> |
348 | 62 | </widget> | 62 | </property> |
349 | 63 | </item> | 63 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
350 | 64 | <item> | 64 | <property name="margin"> |
351 | 65 | <spacer name="horizontalSpacer_4"> | 65 | <number>0</number> |
352 | 66 | <property name="orientation"> | 66 | </property> |
353 | 67 | <enum>Qt::Horizontal</enum> | 67 | <item> |
354 | 68 | </property> | 68 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
355 | 69 | <property name="sizeHint" stdset="0"> | 69 | <item> |
356 | 70 | <size> | 70 | <widget class="QLabel" name="name_label"> |
357 | 71 | <width>40</width> | 71 | <property name="text"> |
358 | 72 | <height>20</height> | 72 | <string/> |
359 | 73 | </size> | 73 | </property> |
360 | 74 | </property> | 74 | </widget> |
361 | 75 | </spacer> | 75 | </item> |
362 | 76 | </item> | 76 | <item> |
363 | 77 | </layout> | 77 | <widget class="QLabel" name="email_label"> |
364 | 78 | </widget> | 78 | <property name="text"> |
365 | 79 | </item> | 79 | <string/> |
366 | 80 | <item> | 80 | </property> |
367 | 81 | <widget class="QGroupBox" name="horizontalGroupBox_2"> | 81 | </widget> |
368 | 82 | <property name="title"> | 82 | </item> |
369 | 83 | <string>Your services</string> | 83 | </layout> |
370 | 84 | </property> | 84 | </item> |
371 | 85 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 85 | </layout> |
372 | 86 | <item> | 86 | </widget> |
373 | 87 | <widget class="QLabel" name="services_description_label"> | 87 | </item> |
374 | 88 | <property name="text"> | 88 | <item row="0" column="2"> |
375 | 89 | <string/> | 89 | <widget class="GoToWebButton" name="edit_services_button"> |
376 | 90 | </property> | 90 | <property name="text"> |
377 | 91 | </widget> | 91 | <string>Edit your services online</string> |
378 | 92 | </item> | 92 | </property> |
379 | 93 | <item> | 93 | </widget> |
380 | 94 | <spacer name="horizontalSpacer"> | 94 | </item> |
381 | 95 | <property name="orientation"> | 95 | <item row="0" column="3"> |
382 | 96 | <enum>Qt::Horizontal</enum> | 96 | <spacer name="horizontalSpacer"> |
383 | 97 | </property> | 97 | <property name="orientation"> |
384 | 98 | <property name="sizeHint" stdset="0"> | 98 | <enum>Qt::Horizontal</enum> |
385 | 99 | <size> | 99 | </property> |
386 | 100 | <width>40</width> | 100 | <property name="sizeHint" stdset="0"> |
387 | 101 | <height>20</height> | 101 | <size> |
388 | 102 | </size> | 102 | <width>40</width> |
389 | 103 | </property> | 103 | <height>20</height> |
390 | 104 | </spacer> | 104 | </size> |
391 | 105 | </item> | 105 | </property> |
392 | 106 | <item> | 106 | </spacer> |
393 | 107 | <widget class="GoToWebButton" name="edit_services_button"> | 107 | </item> |
394 | 108 | <property name="text"> | 108 | <item row="0" column="1"> |
395 | 109 | <string>Edit your services online</string> | 109 | <spacer name="horizontalSpacer_2"> |
396 | 110 | </property> | 110 | <property name="orientation"> |
397 | 111 | </widget> | 111 | <enum>Qt::Horizontal</enum> |
398 | 112 | </item> | 112 | </property> |
399 | 113 | <item> | 113 | <property name="sizeHint" stdset="0"> |
400 | 114 | <spacer name="horizontalSpacer_2"> | 114 | <size> |
401 | 115 | <property name="orientation"> | 115 | <width>40</width> |
402 | 116 | <enum>Qt::Horizontal</enum> | 116 | <height>20</height> |
403 | 117 | </property> | 117 | </size> |
404 | 118 | <property name="sizeHint" stdset="0"> | 118 | </property> |
405 | 119 | <size> | 119 | </spacer> |
406 | 120 | <width>40</width> | 120 | </item> |
407 | 121 | <height>20</height> | 121 | </layout> |
301 | 122 | </size> | ||
302 | 123 | </property> | ||
303 | 124 | </spacer> | ||
304 | 125 | </item> | ||
305 | 126 | </layout> | ||
306 | 127 | </widget> | ||
408 | 128 | </item> | 122 | </item> |
409 | 129 | <item> | 123 | <item> |
410 | 130 | <spacer name="verticalSpacer"> | 124 | <spacer name="verticalSpacer"> |
411 | @@ -134,7 +128,7 @@ | |||
412 | 134 | <property name="sizeHint" stdset="0"> | 128 | <property name="sizeHint" stdset="0"> |
413 | 135 | <size> | 129 | <size> |
414 | 136 | <width>20</width> | 130 | <width>20</width> |
416 | 137 | <height>40</height> | 131 | <height>10</height> |
417 | 138 | </size> | 132 | </size> |
418 | 139 | </property> | 133 | </property> |
419 | 140 | </spacer> | 134 | </spacer> |
420 | 141 | 135 | ||
421 | === modified file 'data/qt/controlpanel.ui' | |||
422 | --- data/qt/controlpanel.ui 2011-07-22 21:26:48 +0000 | |||
423 | +++ data/qt/controlpanel.ui 2011-08-12 19:16:23 +0000 | |||
424 | @@ -6,8 +6,8 @@ | |||
425 | 6 | <rect> | 6 | <rect> |
426 | 7 | <x>0</x> | 7 | <x>0</x> |
427 | 8 | <y>0</y> | 8 | <y>0</y> |
430 | 9 | <width>536</width> | 9 | <width>387</width> |
431 | 10 | <height>389</height> | 10 | <height>203</height> |
432 | 11 | </rect> | 11 | </rect> |
433 | 12 | </property> | 12 | </property> |
434 | 13 | <property name="sizePolicy"> | 13 | <property name="sizePolicy"> |
435 | @@ -21,244 +21,179 @@ | |||
436 | 21 | </property> | 21 | </property> |
437 | 22 | <layout class="QVBoxLayout" name="verticalLayout"> | 22 | <layout class="QVBoxLayout" name="verticalLayout"> |
438 | 23 | <property name="spacing"> | 23 | <property name="spacing"> |
440 | 24 | <number>4</number> | 24 | <number>3</number> |
441 | 25 | </property> | 25 | </property> |
442 | 26 | <property name="margin"> | 26 | <property name="margin"> |
443 | 27 | <number>0</number> | 27 | <number>0</number> |
444 | 28 | </property> | 28 | </property> |
445 | 29 | <item> | 29 | <item> |
454 | 30 | <widget class="QFrame" name="frmHeader"> | 30 | <widget class="QFrame" name="frame_header"> |
455 | 31 | <property name="frameShape"> | 31 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
448 | 32 | <enum>QFrame::StyledPanel</enum> | ||
449 | 33 | </property> | ||
450 | 34 | <property name="frameShadow"> | ||
451 | 35 | <enum>QFrame::Raised</enum> | ||
452 | 36 | </property> | ||
453 | 37 | <layout class="QHBoxLayout" name="horizontalLayout_4"> | ||
456 | 38 | <property name="spacing"> | 32 | <property name="spacing"> |
457 | 33 | <number>5</number> | ||
458 | 34 | </property> | ||
459 | 35 | <property name="margin"> | ||
460 | 39 | <number>0</number> | 36 | <number>0</number> |
461 | 40 | </property> | 37 | </property> |
505 | 41 | <property name="leftMargin"> | 38 | <item> |
506 | 42 | <number>15</number> | 39 | <widget class="QFrame" name="frame_greeting"> |
507 | 43 | </property> | 40 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
508 | 44 | <property name="topMargin"> | 41 | <property name="margin"> |
509 | 45 | <number>10</number> | 42 | <number>0</number> |
510 | 46 | </property> | 43 | </property> |
511 | 47 | <property name="rightMargin"> | 44 | <item> |
512 | 48 | <number>10</number> | 45 | <widget class="QLabel" name="greeting_label"> |
513 | 49 | </property> | 46 | <property name="alignment"> |
514 | 50 | <property name="bottomMargin"> | 47 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
515 | 51 | <number>10</number> | 48 | </property> |
516 | 52 | </property> | 49 | </widget> |
517 | 53 | <item> | 50 | </item> |
518 | 54 | <layout class="QHBoxLayout" name="horizontalLayout"> | 51 | </layout> |
519 | 55 | <property name="spacing"> | 52 | </widget> |
520 | 56 | <number>0</number> | 53 | </item> |
521 | 57 | </property> | 54 | <item> |
522 | 58 | <item> | 55 | <spacer name="horizontalSpacer"> |
523 | 59 | <layout class="QVBoxLayout" name="vLayoutGreeting"> | 56 | <property name="orientation"> |
524 | 60 | <property name="spacing"> | 57 | <enum>Qt::Horizontal</enum> |
525 | 61 | <number>0</number> | 58 | </property> |
526 | 62 | </property> | 59 | <property name="sizeType"> |
527 | 63 | <property name="sizeConstraint"> | 60 | <enum>QSizePolicy::Fixed</enum> |
528 | 64 | <enum>QLayout::SetDefaultConstraint</enum> | 61 | </property> |
529 | 65 | </property> | 62 | <property name="sizeHint" stdset="0"> |
530 | 66 | <item> | 63 | <size> |
531 | 67 | <widget class="QLabel" name="greeting_label"> | 64 | <width>15</width> |
532 | 68 | <property name="font"> | 65 | <height>20</height> |
533 | 69 | <font> | 66 | </size> |
534 | 70 | <pointsize>10</pointsize> | 67 | </property> |
535 | 71 | </font> | 68 | </spacer> |
536 | 72 | </property> | 69 | </item> |
537 | 73 | <property name="layoutDirection"> | 70 | <item> |
538 | 74 | <enum>Qt::LeftToRight</enum> | 71 | <widget class="QFrame" name="frame_storage"> |
539 | 75 | </property> | 72 | <property name="sizePolicy"> |
540 | 76 | <property name="autoFillBackground"> | 73 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
541 | 77 | <bool>false</bool> | 74 | <horstretch>0</horstretch> |
542 | 78 | </property> | 75 | <verstretch>0</verstretch> |
543 | 79 | <property name="text"> | 76 | </sizepolicy> |
544 | 80 | <string notr="true"/> | 77 | </property> |
545 | 81 | </property> | 78 | <property name="minimumSize"> |
546 | 82 | <property name="alignment"> | 79 | <size> |
547 | 83 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> | 80 | <width>165</width> |
548 | 81 | <height>0</height> | ||
549 | 82 | </size> | ||
550 | 83 | </property> | ||
551 | 84 | <property name="maximumSize"> | ||
552 | 85 | <size> | ||
553 | 86 | <width>165</width> | ||
554 | 87 | <height>16777215</height> | ||
555 | 88 | </size> | ||
556 | 89 | </property> | ||
557 | 90 | <layout class="QVBoxLayout" name="vLayoutStorage"> | ||
558 | 91 | <property name="spacing"> | ||
559 | 92 | <number>6</number> | ||
560 | 93 | </property> | ||
561 | 94 | <property name="sizeConstraint"> | ||
562 | 95 | <enum>QLayout::SetDefaultConstraint</enum> | ||
563 | 96 | </property> | ||
564 | 97 | <property name="margin"> | ||
565 | 98 | <number>0</number> | ||
566 | 99 | </property> | ||
567 | 100 | <item> | ||
568 | 101 | <widget class="QFrame" name="frame_quota"> | ||
569 | 102 | <layout class="QVBoxLayout" name="verticalLayout_3"> | ||
570 | 103 | <property name="spacing"> | ||
571 | 104 | <number>2</number> | ||
572 | 84 | </property> | 105 | </property> |
573 | 85 | <property name="margin"> | 106 | <property name="margin"> |
574 | 86 | <number>0</number> | 107 | <number>0</number> |
575 | 87 | </property> | 108 | </property> |
750 | 88 | <property name="indent"> | 109 | <item> |
751 | 89 | <number>-1</number> | 110 | <widget class="QLabel" name="percentage_usage_label"> |
752 | 90 | </property> | 111 | <property name="sizePolicy"> |
753 | 91 | </widget> | 112 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
754 | 92 | </item> | 113 | <horstretch>0</horstretch> |
755 | 93 | </layout> | 114 | <verstretch>0</verstretch> |
756 | 94 | </item> | 115 | </sizepolicy> |
757 | 95 | <item> | 116 | </property> |
758 | 96 | <spacer name="horizontalSpacer"> | 117 | <property name="text"> |
759 | 97 | <property name="orientation"> | 118 | <string notr="true"/> |
760 | 98 | <enum>Qt::Horizontal</enum> | 119 | </property> |
761 | 99 | </property> | 120 | </widget> |
762 | 100 | <property name="sizeType"> | 121 | </item> |
763 | 101 | <enum>QSizePolicy::Fixed</enum> | 122 | <item> |
764 | 102 | </property> | 123 | <widget class="QLabel" name="quota_usage_label"> |
765 | 103 | <property name="sizeHint" stdset="0"> | 124 | <property name="font"> |
766 | 104 | <size> | 125 | <font> |
767 | 105 | <width>15</width> | 126 | <pointsize>8</pointsize> |
768 | 106 | <height>20</height> | 127 | </font> |
769 | 107 | </size> | 128 | </property> |
770 | 108 | </property> | 129 | <property name="text"> |
771 | 109 | </spacer> | 130 | <string/> |
772 | 110 | </item> | 131 | </property> |
773 | 111 | <item> | 132 | </widget> |
774 | 112 | <widget class="QFrame" name="frameStorage"> | 133 | </item> |
775 | 113 | <property name="sizePolicy"> | 134 | </layout> |
776 | 114 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> | 135 | <zorder>quota_usage_label</zorder> |
777 | 115 | <horstretch>0</horstretch> | 136 | <zorder>percentage_usage_label</zorder> |
778 | 116 | <verstretch>0</verstretch> | 137 | </widget> |
779 | 117 | </sizepolicy> | 138 | </item> |
780 | 118 | </property> | 139 | <item> |
781 | 119 | <property name="maximumSize"> | 140 | <widget class="GoToWebButton" name="get_more_space_button"> |
782 | 120 | <size> | 141 | <property name="text"> |
783 | 121 | <width>166</width> | 142 | <string>Get more storage</string> |
784 | 122 | <height>16777215</height> | 143 | </property> |
785 | 123 | </size> | 144 | </widget> |
786 | 124 | </property> | 145 | </item> |
787 | 125 | <property name="frameShape"> | 146 | </layout> |
788 | 126 | <enum>QFrame::StyledPanel</enum> | 147 | </widget> |
789 | 127 | </property> | 148 | </item> |
790 | 128 | <property name="frameShadow"> | 149 | <item> |
791 | 129 | <enum>QFrame::Raised</enum> | 150 | <widget class="QFrame" name="frame_status"> |
792 | 130 | </property> | 151 | <property name="sizePolicy"> |
793 | 131 | <layout class="QHBoxLayout" name="horizontalLayout_7"> | 152 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
794 | 132 | <property name="spacing"> | 153 | <horstretch>0</horstretch> |
795 | 133 | <number>0</number> | 154 | <verstretch>0</verstretch> |
796 | 134 | </property> | 155 | </sizepolicy> |
797 | 135 | <property name="leftMargin"> | 156 | </property> |
798 | 136 | <number>10</number> | 157 | <property name="minimumSize"> |
799 | 137 | </property> | 158 | <size> |
800 | 138 | <property name="topMargin"> | 159 | <width>165</width> |
801 | 139 | <number>0</number> | 160 | <height>0</height> |
802 | 140 | </property> | 161 | </size> |
803 | 141 | <property name="rightMargin"> | 162 | </property> |
804 | 142 | <number>10</number> | 163 | <property name="maximumSize"> |
805 | 143 | </property> | 164 | <size> |
806 | 144 | <property name="bottomMargin"> | 165 | <width>165</width> |
807 | 145 | <number>0</number> | 166 | <height>16777215</height> |
808 | 146 | </property> | 167 | </size> |
809 | 147 | <item> | 168 | </property> |
810 | 148 | <layout class="QVBoxLayout" name="vLayoutStorage"> | 169 | <layout class="QHBoxLayout" name="horizontalLayout_8"> |
811 | 149 | <property name="sizeConstraint"> | 170 | <property name="margin"> |
812 | 150 | <enum>QLayout::SetDefaultConstraint</enum> | 171 | <number>0</number> |
813 | 151 | </property> | 172 | </property> |
814 | 152 | <item> | 173 | <item> |
815 | 153 | <widget class="QFrame" name="frmQuota"> | 174 | <widget class="FileSyncStatus" name="file_sync_status" native="true"> |
816 | 154 | <property name="frameShape"> | 175 | <property name="sizePolicy"> |
817 | 155 | <enum>QFrame::StyledPanel</enum> | 176 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
818 | 156 | </property> | 177 | <horstretch>0</horstretch> |
819 | 157 | <property name="frameShadow"> | 178 | <verstretch>0</verstretch> |
820 | 158 | <enum>QFrame::Raised</enum> | 179 | </sizepolicy> |
821 | 159 | </property> | 180 | </property> |
822 | 160 | <layout class="QVBoxLayout" name="verticalLayout_3"> | 181 | <property name="minimumSize"> |
823 | 161 | <property name="spacing"> | 182 | <size> |
824 | 162 | <number>2</number> | 183 | <width>0</width> |
825 | 163 | </property> | 184 | <height>0</height> |
826 | 164 | <property name="leftMargin"> | 185 | </size> |
827 | 165 | <number>0</number> | 186 | </property> |
828 | 166 | </property> | 187 | <property name="maximumSize"> |
829 | 167 | <property name="topMargin"> | 188 | <size> |
830 | 168 | <number>0</number> | 189 | <width>165</width> |
831 | 169 | </property> | 190 | <height>16777215</height> |
832 | 170 | <property name="rightMargin"> | 191 | </size> |
833 | 171 | <number>0</number> | 192 | </property> |
834 | 172 | </property> | 193 | </widget> |
835 | 173 | <property name="bottomMargin"> | 194 | </item> |
836 | 174 | <number>10</number> | 195 | </layout> |
837 | 175 | </property> | 196 | </widget> |
664 | 176 | <item> | ||
665 | 177 | <widget class="QLabel" name="percentage_usage_label"> | ||
666 | 178 | <property name="sizePolicy"> | ||
667 | 179 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||
668 | 180 | <horstretch>0</horstretch> | ||
669 | 181 | <verstretch>0</verstretch> | ||
670 | 182 | </sizepolicy> | ||
671 | 183 | </property> | ||
672 | 184 | <property name="text"> | ||
673 | 185 | <string notr="true"/> | ||
674 | 186 | </property> | ||
675 | 187 | </widget> | ||
676 | 188 | </item> | ||
677 | 189 | <item> | ||
678 | 190 | <widget class="QLabel" name="quota_usage_label"> | ||
679 | 191 | <property name="font"> | ||
680 | 192 | <font> | ||
681 | 193 | <pointsize>8</pointsize> | ||
682 | 194 | </font> | ||
683 | 195 | </property> | ||
684 | 196 | <property name="text"> | ||
685 | 197 | <string/> | ||
686 | 198 | </property> | ||
687 | 199 | </widget> | ||
688 | 200 | </item> | ||
689 | 201 | </layout> | ||
690 | 202 | <zorder>quota_usage_label</zorder> | ||
691 | 203 | <zorder>percentage_usage_label</zorder> | ||
692 | 204 | </widget> | ||
693 | 205 | </item> | ||
694 | 206 | <item> | ||
695 | 207 | <widget class="GoToWebButton" name="get_more_space_button"> | ||
696 | 208 | <property name="text"> | ||
697 | 209 | <string>Get more storage!</string> | ||
698 | 210 | </property> | ||
699 | 211 | </widget> | ||
700 | 212 | </item> | ||
701 | 213 | </layout> | ||
702 | 214 | </item> | ||
703 | 215 | </layout> | ||
704 | 216 | <zorder></zorder> | ||
705 | 217 | </widget> | ||
706 | 218 | </item> | ||
707 | 219 | <item> | ||
708 | 220 | <widget class="QFrame" name="frameStatus"> | ||
709 | 221 | <property name="sizePolicy"> | ||
710 | 222 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> | ||
711 | 223 | <horstretch>0</horstretch> | ||
712 | 224 | <verstretch>0</verstretch> | ||
713 | 225 | </sizepolicy> | ||
714 | 226 | </property> | ||
715 | 227 | <property name="maximumSize"> | ||
716 | 228 | <size> | ||
717 | 229 | <width>166</width> | ||
718 | 230 | <height>16777215</height> | ||
719 | 231 | </size> | ||
720 | 232 | </property> | ||
721 | 233 | <property name="frameShape"> | ||
722 | 234 | <enum>QFrame::StyledPanel</enum> | ||
723 | 235 | </property> | ||
724 | 236 | <property name="frameShadow"> | ||
725 | 237 | <enum>QFrame::Raised</enum> | ||
726 | 238 | </property> | ||
727 | 239 | <layout class="QHBoxLayout" name="horizontalLayout_8"> | ||
728 | 240 | <property name="spacing"> | ||
729 | 241 | <number>0</number> | ||
730 | 242 | </property> | ||
731 | 243 | <property name="leftMargin"> | ||
732 | 244 | <number>10</number> | ||
733 | 245 | </property> | ||
734 | 246 | <property name="topMargin"> | ||
735 | 247 | <number>0</number> | ||
736 | 248 | </property> | ||
737 | 249 | <property name="rightMargin"> | ||
738 | 250 | <number>0</number> | ||
739 | 251 | </property> | ||
740 | 252 | <property name="bottomMargin"> | ||
741 | 253 | <number>0</number> | ||
742 | 254 | </property> | ||
743 | 255 | <item> | ||
744 | 256 | <widget class="FileSyncStatus" name="file_sync_status" native="true"/> | ||
745 | 257 | </item> | ||
746 | 258 | </layout> | ||
747 | 259 | </widget> | ||
748 | 260 | </item> | ||
749 | 261 | </layout> | ||
838 | 262 | </item> | 197 | </item> |
839 | 263 | </layout> | 198 | </layout> |
840 | 264 | </widget> | 199 | </widget> |
841 | @@ -297,116 +232,100 @@ | |||
842 | 297 | </widget> | 232 | </widget> |
843 | 298 | </item> | 233 | </item> |
844 | 299 | <item> | 234 | <item> |
859 | 300 | <widget class="QFrame" name="frmFooter"> | 235 | <widget class="QFrame" name="frame_footer"> |
860 | 301 | <property name="maximumSize"> | 236 | <layout class="QHBoxLayout" name="horizontalLayout"> |
847 | 302 | <size> | ||
848 | 303 | <width>16777215</width> | ||
849 | 304 | <height>30</height> | ||
850 | 305 | </size> | ||
851 | 306 | </property> | ||
852 | 307 | <property name="frameShape"> | ||
853 | 308 | <enum>QFrame::StyledPanel</enum> | ||
854 | 309 | </property> | ||
855 | 310 | <property name="frameShadow"> | ||
856 | 311 | <enum>QFrame::Raised</enum> | ||
857 | 312 | </property> | ||
858 | 313 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||
861 | 314 | <property name="spacing"> | 237 | <property name="spacing"> |
957 | 315 | <number>0</number> | 238 | <number>5</number> |
958 | 316 | </property> | 239 | </property> |
959 | 317 | <property name="margin"> | 240 | <property name="leftMargin"> |
960 | 318 | <number>0</number> | 241 | <number>3</number> |
961 | 319 | </property> | 242 | </property> |
962 | 320 | <item> | 243 | <property name="topMargin"> |
963 | 321 | <layout class="QHBoxLayout" name="hLayoutFooter"> | 244 | <number>0</number> |
964 | 322 | <property name="spacing"> | 245 | </property> |
965 | 323 | <number>5</number> | 246 | <property name="rightMargin"> |
966 | 324 | </property> | 247 | <number>3</number> |
967 | 325 | <property name="leftMargin"> | 248 | </property> |
968 | 326 | <number>3</number> | 249 | <property name="bottomMargin"> |
969 | 327 | </property> | 250 | <number>3</number> |
970 | 328 | <property name="rightMargin"> | 251 | </property> |
971 | 329 | <number>3</number> | 252 | <item> |
972 | 330 | </property> | 253 | <widget class="GoToWebButton" name="help_button"> |
973 | 331 | <item> | 254 | <property name="text"> |
974 | 332 | <widget class="GoToWebButton" name="help_button"> | 255 | <string>Get help online</string> |
975 | 333 | <property name="text"> | 256 | </property> |
976 | 334 | <string>Get help online</string> | 257 | </widget> |
977 | 335 | </property> | 258 | </item> |
978 | 336 | </widget> | 259 | <item> |
979 | 337 | </item> | 260 | <spacer name="horizontalSpacer_4"> |
980 | 338 | <item> | 261 | <property name="orientation"> |
981 | 339 | <spacer name="horizontalSpacer_4"> | 262 | <enum>Qt::Horizontal</enum> |
982 | 340 | <property name="orientation"> | 263 | </property> |
983 | 341 | <enum>Qt::Horizontal</enum> | 264 | <property name="sizeHint" stdset="0"> |
984 | 342 | </property> | 265 | <size> |
985 | 343 | <property name="sizeHint" stdset="0"> | 266 | <width>133</width> |
986 | 344 | <size> | 267 | <height>20</height> |
987 | 345 | <width>40</width> | 268 | </size> |
988 | 346 | <height>20</height> | 269 | </property> |
989 | 347 | </size> | 270 | </spacer> |
990 | 348 | </property> | 271 | </item> |
991 | 349 | </spacer> | 272 | <item> |
992 | 350 | </item> | 273 | <widget class="QLabel" name="follow_us_label"> |
993 | 351 | <item> | 274 | <property name="font"> |
994 | 352 | <widget class="QLabel" name="follow_us_label"> | 275 | <font> |
995 | 353 | <property name="font"> | 276 | <pointsize>11</pointsize> |
996 | 354 | <font> | 277 | </font> |
997 | 355 | <pointsize>11</pointsize> | 278 | </property> |
998 | 356 | </font> | 279 | <property name="text"> |
999 | 357 | </property> | 280 | <string>Talk to us</string> |
1000 | 358 | <property name="text"> | 281 | </property> |
1001 | 359 | <string>Talk to us</string> | 282 | </widget> |
1002 | 360 | </property> | 283 | </item> |
1003 | 361 | </widget> | 284 | <item> |
1004 | 362 | </item> | 285 | <widget class="QToolButton" name="twitter_button"> |
1005 | 363 | <item> | 286 | <property name="cursor"> |
1006 | 364 | <widget class="QToolButton" name="twitter_button"> | 287 | <cursorShape>PointingHandCursor</cursorShape> |
1007 | 365 | <property name="cursor"> | 288 | </property> |
1008 | 366 | <cursorShape>PointingHandCursor</cursorShape> | 289 | <property name="styleSheet"> |
1009 | 367 | </property> | 290 | <string notr="true">border: 0;</string> |
1010 | 368 | <property name="styleSheet"> | 291 | </property> |
1011 | 369 | <string notr="true">border: 0;</string> | 292 | <property name="text"> |
1012 | 370 | </property> | 293 | <string/> |
1013 | 371 | <property name="text"> | 294 | </property> |
1014 | 372 | <string/> | 295 | <property name="icon"> |
1015 | 373 | </property> | 296 | <iconset resource="images.qrc"> |
1016 | 374 | <property name="icon"> | 297 | <normaloff>:/twitter.png</normaloff>:/twitter.png</iconset> |
1017 | 375 | <iconset resource="images.qrc"> | 298 | </property> |
1018 | 376 | <normaloff>:/twitter.png</normaloff>:/twitter.png</iconset> | 299 | <property name="iconSize"> |
1019 | 377 | </property> | 300 | <size> |
1020 | 378 | <property name="iconSize"> | 301 | <width>22</width> |
1021 | 379 | <size> | 302 | <height>22</height> |
1022 | 380 | <width>22</width> | 303 | </size> |
1023 | 381 | <height>22</height> | 304 | </property> |
1024 | 382 | </size> | 305 | </widget> |
1025 | 383 | </property> | 306 | </item> |
1026 | 384 | </widget> | 307 | <item> |
1027 | 385 | </item> | 308 | <widget class="QToolButton" name="facebook_button"> |
1028 | 386 | <item> | 309 | <property name="cursor"> |
1029 | 387 | <widget class="QToolButton" name="facebook_button"> | 310 | <cursorShape>PointingHandCursor</cursorShape> |
1030 | 388 | <property name="cursor"> | 311 | </property> |
1031 | 389 | <cursorShape>PointingHandCursor</cursorShape> | 312 | <property name="styleSheet"> |
1032 | 390 | </property> | 313 | <string notr="true">border: 0;</string> |
1033 | 391 | <property name="styleSheet"> | 314 | </property> |
1034 | 392 | <string notr="true">border: 0;</string> | 315 | <property name="text"> |
1035 | 393 | </property> | 316 | <string/> |
1036 | 394 | <property name="text"> | 317 | </property> |
1037 | 395 | <string/> | 318 | <property name="icon"> |
1038 | 396 | </property> | 319 | <iconset resource="images.qrc"> |
1039 | 397 | <property name="icon"> | 320 | <normaloff>:/facebook.png</normaloff>:/facebook.png</iconset> |
1040 | 398 | <iconset resource="images.qrc"> | 321 | </property> |
1041 | 399 | <normaloff>:/facebook.png</normaloff>:/facebook.png</iconset> | 322 | <property name="iconSize"> |
1042 | 400 | </property> | 323 | <size> |
1043 | 401 | <property name="iconSize"> | 324 | <width>22</width> |
1044 | 402 | <size> | 325 | <height>22</height> |
1045 | 403 | <width>22</width> | 326 | </size> |
1046 | 404 | <height>22</height> | 327 | </property> |
1047 | 405 | </size> | 328 | </widget> |
953 | 406 | </property> | ||
954 | 407 | </widget> | ||
955 | 408 | </item> | ||
956 | 409 | </layout> | ||
1048 | 410 | </item> | 329 | </item> |
1049 | 411 | </layout> | 330 | </layout> |
1050 | 412 | </widget> | 331 | </widget> |
1051 | @@ -415,6 +334,11 @@ | |||
1052 | 415 | </widget> | 334 | </widget> |
1053 | 416 | <customwidgets> | 335 | <customwidgets> |
1054 | 417 | <customwidget> | 336 | <customwidget> |
1055 | 337 | <class>GoToWebButton</class> | ||
1056 | 338 | <extends>QPushButton</extends> | ||
1057 | 339 | <header>ubuntuone.controlpanel.gui.qt.gotoweb</header> | ||
1058 | 340 | </customwidget> | ||
1059 | 341 | <customwidget> | ||
1060 | 418 | <class>FoldersPanel</class> | 342 | <class>FoldersPanel</class> |
1061 | 419 | <extends>QWidget</extends> | 343 | <extends>QWidget</extends> |
1062 | 420 | <header>ubuntuone.controlpanel.gui.qt.folders</header> | 344 | <header>ubuntuone.controlpanel.gui.qt.folders</header> |
1063 | @@ -439,11 +363,6 @@ | |||
1064 | 439 | <container>1</container> | 363 | <container>1</container> |
1065 | 440 | </customwidget> | 364 | </customwidget> |
1066 | 441 | <customwidget> | 365 | <customwidget> |
1067 | 442 | <class>GoToWebButton</class> | ||
1068 | 443 | <extends>QPushButton</extends> | ||
1069 | 444 | <header>ubuntuone.controlpanel.gui.qt.gotoweb</header> | ||
1070 | 445 | </customwidget> | ||
1071 | 446 | <customwidget> | ||
1072 | 447 | <class>AccountPanel</class> | 366 | <class>AccountPanel</class> |
1073 | 448 | <extends>QWidget</extends> | 367 | <extends>QWidget</extends> |
1074 | 449 | <header>ubuntuone.controlpanel.gui.qt.account</header> | 368 | <header>ubuntuone.controlpanel.gui.qt.account</header> |
1075 | 450 | 369 | ||
1076 | === modified file 'data/qt/device.ui' | |||
1077 | --- data/qt/device.ui 2011-07-22 21:26:48 +0000 | |||
1078 | +++ data/qt/device.ui 2011-08-12 19:16:23 +0000 | |||
1079 | @@ -6,8 +6,8 @@ | |||
1080 | 6 | <rect> | 6 | <rect> |
1081 | 7 | <x>0</x> | 7 | <x>0</x> |
1082 | 8 | <y>0</y> | 8 | <y>0</y> |
1085 | 9 | <width>400</width> | 9 | <width>233</width> |
1086 | 10 | <height>63</height> | 10 | <height>36</height> |
1087 | 11 | </rect> | 11 | </rect> |
1088 | 12 | </property> | 12 | </property> |
1089 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1090 | @@ -44,7 +44,7 @@ | |||
1091 | 44 | <item> | 44 | <item> |
1092 | 45 | <widget class="QPushButton" name="remove_device_button"> | 45 | <widget class="QPushButton" name="remove_device_button"> |
1093 | 46 | <property name="text"> | 46 | <property name="text"> |
1095 | 47 | <string>Delete device</string> | 47 | <string>Remove</string> |
1096 | 48 | </property> | 48 | </property> |
1097 | 49 | </widget> | 49 | </widget> |
1098 | 50 | </item> | 50 | </item> |
1099 | 51 | 51 | ||
1100 | === modified file 'data/qt/devices.ui' | |||
1101 | --- data/qt/devices.ui 2011-07-22 21:26:48 +0000 | |||
1102 | +++ data/qt/devices.ui 2011-08-12 19:16:23 +0000 | |||
1103 | @@ -6,14 +6,14 @@ | |||
1104 | 6 | <rect> | 6 | <rect> |
1105 | 7 | <x>0</x> | 7 | <x>0</x> |
1106 | 8 | <y>0</y> | 8 | <y>0</y> |
1109 | 9 | <width>409</width> | 9 | <width>393</width> |
1110 | 10 | <height>310</height> | 10 | <height>281</height> |
1111 | 11 | </rect> | 11 | </rect> |
1112 | 12 | </property> | 12 | </property> |
1113 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1114 | 14 | <string notr="true">Form</string> | 14 | <string notr="true">Form</string> |
1115 | 15 | </property> | 15 | </property> |
1117 | 16 | <layout class="QVBoxLayout" name="verticalLayout"> | 16 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
1118 | 17 | <property name="spacing"> | 17 | <property name="spacing"> |
1119 | 18 | <number>0</number> | 18 | <number>0</number> |
1120 | 19 | </property> | 19 | </property> |
1121 | @@ -21,47 +21,34 @@ | |||
1122 | 21 | <number>0</number> | 21 | <number>0</number> |
1123 | 22 | </property> | 22 | </property> |
1124 | 23 | <item> | 23 | <item> |
1128 | 24 | <widget class="QFrame" name="frame"> | 24 | <widget class="QGroupBox" name="local_device"> |
1129 | 25 | <property name="frameShape"> | 25 | <property name="title"> |
1130 | 26 | <enum>QFrame::StyledPanel</enum> | 26 | <string>This device</string> |
1131 | 27 | </property> | 27 | </property> |
1134 | 28 | <property name="frameShadow"> | 28 | <layout class="QVBoxLayout" name="verticalLayout"> |
1135 | 29 | <enum>QFrame::Raised</enum> | 29 | <property name="margin"> |
1136 | 30 | <number>0</number> | ||
1137 | 31 | </property> | ||
1138 | 32 | <item> | ||
1139 | 33 | <layout class="QVBoxLayout" name="local_device_box"/> | ||
1140 | 34 | </item> | ||
1141 | 35 | </layout> | ||
1142 | 36 | </widget> | ||
1143 | 37 | </item> | ||
1144 | 38 | <item> | ||
1145 | 39 | <widget class="QGroupBox" name="oher_devices"> | ||
1146 | 40 | <property name="title"> | ||
1147 | 41 | <string>Other devices</string> | ||
1148 | 30 | </property> | 42 | </property> |
1149 | 31 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 43 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
1181 | 32 | <item> | 44 | <property name="margin"> |
1182 | 33 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 45 | <number>0</number> |
1183 | 34 | <item> | 46 | </property> |
1153 | 35 | <layout class="QVBoxLayout" name="local_device_box"/> | ||
1154 | 36 | </item> | ||
1155 | 37 | </layout> | ||
1156 | 38 | </item> | ||
1157 | 39 | <item> | ||
1158 | 40 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
1159 | 41 | <item> | ||
1160 | 42 | <widget class="QLabel" name="other_devices_label"> | ||
1161 | 43 | <property name="text"> | ||
1162 | 44 | <string>Other devices</string> | ||
1163 | 45 | </property> | ||
1164 | 46 | </widget> | ||
1165 | 47 | </item> | ||
1166 | 48 | <item> | ||
1167 | 49 | <spacer name="horizontalSpacer"> | ||
1168 | 50 | <property name="orientation"> | ||
1169 | 51 | <enum>Qt::Horizontal</enum> | ||
1170 | 52 | </property> | ||
1171 | 53 | <property name="sizeHint" stdset="0"> | ||
1172 | 54 | <size> | ||
1173 | 55 | <width>40</width> | ||
1174 | 56 | <height>20</height> | ||
1175 | 57 | </size> | ||
1176 | 58 | </property> | ||
1177 | 59 | </spacer> | ||
1178 | 60 | </item> | ||
1179 | 61 | </layout> | ||
1180 | 62 | </item> | ||
1184 | 63 | <item> | 47 | <item> |
1185 | 64 | <widget class="QListWidget" name="list_devices"> | 48 | <widget class="QListWidget" name="list_devices"> |
1186 | 49 | <property name="verticalScrollBarPolicy"> | ||
1187 | 50 | <enum>Qt::ScrollBarAlwaysOn</enum> | ||
1188 | 51 | </property> | ||
1189 | 65 | <property name="alternatingRowColors"> | 52 | <property name="alternatingRowColors"> |
1190 | 66 | <bool>true</bool> | 53 | <bool>true</bool> |
1191 | 67 | </property> | 54 | </property> |
1192 | @@ -79,46 +66,49 @@ | |||
1193 | 79 | </property> | 66 | </property> |
1194 | 80 | </widget> | 67 | </widget> |
1195 | 81 | </item> | 68 | </item> |
1196 | 82 | <item> | ||
1197 | 83 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
1198 | 84 | <item> | ||
1199 | 85 | <spacer name="horizontalSpacer_3"> | ||
1200 | 86 | <property name="orientation"> | ||
1201 | 87 | <enum>Qt::Horizontal</enum> | ||
1202 | 88 | </property> | ||
1203 | 89 | <property name="sizeHint" stdset="0"> | ||
1204 | 90 | <size> | ||
1205 | 91 | <width>40</width> | ||
1206 | 92 | <height>20</height> | ||
1207 | 93 | </size> | ||
1208 | 94 | </property> | ||
1209 | 95 | </spacer> | ||
1210 | 96 | </item> | ||
1211 | 97 | <item> | ||
1212 | 98 | <widget class="GoToWebButton" name="manage_devices_button"> | ||
1213 | 99 | <property name="text"> | ||
1214 | 100 | <string>Go to the web page to manage your other devices</string> | ||
1215 | 101 | </property> | ||
1216 | 102 | </widget> | ||
1217 | 103 | </item> | ||
1218 | 104 | <item> | ||
1219 | 105 | <spacer name="horizontalSpacer_4"> | ||
1220 | 106 | <property name="orientation"> | ||
1221 | 107 | <enum>Qt::Horizontal</enum> | ||
1222 | 108 | </property> | ||
1223 | 109 | <property name="sizeHint" stdset="0"> | ||
1224 | 110 | <size> | ||
1225 | 111 | <width>40</width> | ||
1226 | 112 | <height>20</height> | ||
1227 | 113 | </size> | ||
1228 | 114 | </property> | ||
1229 | 115 | </spacer> | ||
1230 | 116 | </item> | ||
1231 | 117 | </layout> | ||
1232 | 118 | </item> | ||
1233 | 119 | </layout> | 69 | </layout> |
1234 | 120 | </widget> | 70 | </widget> |
1235 | 121 | </item> | 71 | </item> |
1236 | 72 | <item> | ||
1237 | 73 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
1238 | 74 | <property name="margin"> | ||
1239 | 75 | <number>3</number> | ||
1240 | 76 | </property> | ||
1241 | 77 | <item> | ||
1242 | 78 | <spacer name="horizontalSpacer_3"> | ||
1243 | 79 | <property name="orientation"> | ||
1244 | 80 | <enum>Qt::Horizontal</enum> | ||
1245 | 81 | </property> | ||
1246 | 82 | <property name="sizeHint" stdset="0"> | ||
1247 | 83 | <size> | ||
1248 | 84 | <width>40</width> | ||
1249 | 85 | <height>20</height> | ||
1250 | 86 | </size> | ||
1251 | 87 | </property> | ||
1252 | 88 | </spacer> | ||
1253 | 89 | </item> | ||
1254 | 90 | <item> | ||
1255 | 91 | <widget class="GoToWebButton" name="manage_devices_button"> | ||
1256 | 92 | <property name="text"> | ||
1257 | 93 | <string>Go to the web page to manage your other devices</string> | ||
1258 | 94 | </property> | ||
1259 | 95 | </widget> | ||
1260 | 96 | </item> | ||
1261 | 97 | <item> | ||
1262 | 98 | <spacer name="horizontalSpacer_4"> | ||
1263 | 99 | <property name="orientation"> | ||
1264 | 100 | <enum>Qt::Horizontal</enum> | ||
1265 | 101 | </property> | ||
1266 | 102 | <property name="sizeHint" stdset="0"> | ||
1267 | 103 | <size> | ||
1268 | 104 | <width>40</width> | ||
1269 | 105 | <height>20</height> | ||
1270 | 106 | </size> | ||
1271 | 107 | </property> | ||
1272 | 108 | </spacer> | ||
1273 | 109 | </item> | ||
1274 | 110 | </layout> | ||
1275 | 111 | </item> | ||
1276 | 122 | </layout> | 112 | </layout> |
1277 | 123 | </widget> | 113 | </widget> |
1278 | 124 | <customwidgets> | 114 | <customwidgets> |
1279 | 125 | 115 | ||
1280 | === modified file 'data/qt/filesyncstatus.ui' | |||
1281 | --- data/qt/filesyncstatus.ui 2011-07-22 21:26:48 +0000 | |||
1282 | +++ data/qt/filesyncstatus.ui 2011-08-12 19:16:23 +0000 | |||
1283 | @@ -6,52 +6,42 @@ | |||
1284 | 6 | <rect> | 6 | <rect> |
1285 | 7 | <x>0</x> | 7 | <x>0</x> |
1286 | 8 | <y>0</y> | 8 | <y>0</y> |
1289 | 9 | <width>310</width> | 9 | <width>94</width> |
1290 | 10 | <height>211</height> | 10 | <height>49</height> |
1291 | 11 | </rect> | 11 | </rect> |
1292 | 12 | </property> | 12 | </property> |
1293 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1294 | 14 | <string notr="true">Form</string> | 14 | <string notr="true">Form</string> |
1295 | 15 | </property> | 15 | </property> |
1297 | 16 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 16 | <layout class="QVBoxLayout" name="verticalLayout"> |
1298 | 17 | <property name="margin"> | ||
1299 | 18 | <number>0</number> | ||
1300 | 19 | </property> | ||
1301 | 17 | <item> | 20 | <item> |
1303 | 18 | <layout class="QVBoxLayout" name="verticalLayout"> | 21 | <layout class="QHBoxLayout" name="horizontalLayout"> |
1304 | 19 | <item> | 22 | <item> |
1327 | 20 | <layout class="QHBoxLayout" name="horizontalLayout"> | 23 | <widget class="QLabel" name="sync_status_icon"> |
1328 | 21 | <item> | 24 | </widget> |
1307 | 22 | <widget class="QLabel" name="sync_status_icon"> | ||
1308 | 23 | <property name="text"> | ||
1309 | 24 | <string/> | ||
1310 | 25 | </property> | ||
1311 | 26 | </widget> | ||
1312 | 27 | </item> | ||
1313 | 28 | <item> | ||
1314 | 29 | <widget class="QLabel" name="sync_status_label"> | ||
1315 | 30 | <property name="text"> | ||
1316 | 31 | <string notr="true"/> | ||
1317 | 32 | </property> | ||
1318 | 33 | <property name="wordWrap"> | ||
1319 | 34 | <bool>true</bool> | ||
1320 | 35 | </property> | ||
1321 | 36 | <property name="buddy"> | ||
1322 | 37 | <cstring>sync_status_button</cstring> | ||
1323 | 38 | </property> | ||
1324 | 39 | </widget> | ||
1325 | 40 | </item> | ||
1326 | 41 | </layout> | ||
1329 | 42 | </item> | 25 | </item> |
1330 | 43 | <item> | 26 | <item> |
1335 | 44 | <widget class="QPushButton" name="sync_status_button"> | 27 | <widget class="QLabel" name="sync_status_label"> |
1332 | 45 | <property name="toolTip"> | ||
1333 | 46 | <string>test</string> | ||
1334 | 47 | </property> | ||
1336 | 48 | <property name="text"> | 28 | <property name="text"> |
1337 | 49 | <string notr="true"/> | 29 | <string notr="true"/> |
1338 | 50 | </property> | 30 | </property> |
1339 | 31 | <property name="wordWrap"> | ||
1340 | 32 | <bool>true</bool> | ||
1341 | 33 | </property> | ||
1342 | 34 | <property name="buddy"> | ||
1343 | 35 | <cstring>sync_status_button</cstring> | ||
1344 | 36 | </property> | ||
1345 | 51 | </widget> | 37 | </widget> |
1346 | 52 | </item> | 38 | </item> |
1347 | 53 | </layout> | 39 | </layout> |
1348 | 54 | </item> | 40 | </item> |
1349 | 41 | <item> | ||
1350 | 42 | <widget class="QPushButton" name="sync_status_button"> | ||
1351 | 43 | </widget> | ||
1352 | 44 | </item> | ||
1353 | 55 | </layout> | 45 | </layout> |
1354 | 56 | </widget> | 46 | </widget> |
1355 | 57 | <resources/> | 47 | <resources/> |
1356 | 58 | 48 | ||
1357 | === modified file 'data/qt/folders.ui' | |||
1358 | --- data/qt/folders.ui 2011-07-22 21:26:48 +0000 | |||
1359 | +++ data/qt/folders.ui 2011-08-12 19:16:23 +0000 | |||
1360 | @@ -6,33 +6,86 @@ | |||
1361 | 6 | <rect> | 6 | <rect> |
1362 | 7 | <x>0</x> | 7 | <x>0</x> |
1363 | 8 | <y>0</y> | 8 | <y>0</y> |
1366 | 9 | <width>607</width> | 9 | <width>345</width> |
1367 | 10 | <height>435</height> | 10 | <height>279</height> |
1368 | 11 | </rect> | 11 | </rect> |
1369 | 12 | </property> | 12 | </property> |
1370 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1371 | 14 | <string notr="true">Form</string> | 14 | <string notr="true">Form</string> |
1372 | 15 | </property> | 15 | </property> |
1373 | 16 | <property name="styleSheet"> | 16 | <property name="styleSheet"> |
1375 | 17 | <string notr="true"/> | 17 | <string notr="true">padding: 0px;</string> |
1376 | 18 | </property> | 18 | </property> |
1377 | 19 | <layout class="QVBoxLayout" name="verticalLayout"> | 19 | <layout class="QVBoxLayout" name="verticalLayout"> |
1378 | 20 | <property name="spacing"> | ||
1379 | 21 | <number>0</number> | ||
1380 | 22 | </property> | ||
1381 | 23 | <property name="margin"> | ||
1382 | 24 | <number>0</number> | ||
1383 | 25 | </property> | ||
1384 | 26 | <item> | ||
1385 | 27 | <widget class="QFrame" name="frame_top"> | ||
1386 | 28 | <property name="minimumSize"> | ||
1387 | 29 | <size> | ||
1388 | 30 | <width>0</width> | ||
1389 | 31 | <height>35</height> | ||
1390 | 32 | </size> | ||
1391 | 33 | </property> | ||
1392 | 34 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
1393 | 35 | <property name="margin"> | ||
1394 | 36 | <number>3</number> | ||
1395 | 37 | </property> | ||
1396 | 38 | <item> | ||
1397 | 39 | <widget class="GoToWebButton" name="share_publish_button"> | ||
1398 | 40 | <property name="sizePolicy"> | ||
1399 | 41 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||
1400 | 42 | <horstretch>0</horstretch> | ||
1401 | 43 | <verstretch>0</verstretch> | ||
1402 | 44 | </sizepolicy> | ||
1403 | 45 | </property> | ||
1404 | 46 | <property name="text"> | ||
1405 | 47 | <string>Go to the web for public and private sharing options</string> | ||
1406 | 48 | </property> | ||
1407 | 49 | </widget> | ||
1408 | 50 | </item> | ||
1409 | 51 | <item> | ||
1410 | 52 | <spacer name="horizontalSpacer"> | ||
1411 | 53 | <property name="orientation"> | ||
1412 | 54 | <enum>Qt::Horizontal</enum> | ||
1413 | 55 | </property> | ||
1414 | 56 | <property name="sizeHint" stdset="0"> | ||
1415 | 57 | <size> | ||
1416 | 58 | <width>40</width> | ||
1417 | 59 | <height>20</height> | ||
1418 | 60 | </size> | ||
1419 | 61 | </property> | ||
1420 | 62 | </spacer> | ||
1421 | 63 | </item> | ||
1422 | 64 | </layout> | ||
1423 | 65 | </widget> | ||
1424 | 66 | </item> | ||
1425 | 20 | <item> | 67 | <item> |
1426 | 21 | <widget class="QTreeWidget" name="folders"> | 68 | <widget class="QTreeWidget" name="folders"> |
1427 | 69 | <property name="verticalScrollBarPolicy"> | ||
1428 | 70 | <enum>Qt::ScrollBarAlwaysOn</enum> | ||
1429 | 71 | </property> | ||
1430 | 22 | <property name="alternatingRowColors"> | 72 | <property name="alternatingRowColors"> |
1431 | 23 | <bool>true</bool> | 73 | <bool>true</bool> |
1432 | 24 | </property> | 74 | </property> |
1434 | 25 | <property name="uniformRowHeights"> | 75 | <property name="indentation"> |
1435 | 76 | <number>15</number> | ||
1436 | 77 | </property> | ||
1437 | 78 | <property name="rootIsDecorated"> | ||
1438 | 26 | <bool>false</bool> | 79 | <bool>false</bool> |
1439 | 27 | </property> | 80 | </property> |
1440 | 28 | <property name="itemsExpandable"> | 81 | <property name="itemsExpandable"> |
1441 | 29 | <bool>true</bool> | 82 | <bool>true</bool> |
1442 | 30 | </property> | 83 | </property> |
1443 | 31 | <property name="headerHidden"> | 84 | <property name="headerHidden"> |
1445 | 32 | <bool>false</bool> | 85 | <bool>true</bool> |
1446 | 33 | </property> | 86 | </property> |
1447 | 34 | <attribute name="headerVisible"> | 87 | <attribute name="headerVisible"> |
1449 | 35 | <bool>true</bool> | 88 | <bool>false</bool> |
1450 | 36 | </attribute> | 89 | </attribute> |
1451 | 37 | <attribute name="headerCascadingSectionResizes"> | 90 | <attribute name="headerCascadingSectionResizes"> |
1452 | 38 | <bool>false</bool> | 91 | <bool>false</bool> |
1453 | @@ -61,41 +114,64 @@ | |||
1454 | 61 | </column> | 114 | </column> |
1455 | 62 | <column> | 115 | <column> |
1456 | 63 | <property name="text"> | 116 | <property name="text"> |
1458 | 64 | <string> </string> | 117 | <string>Explore</string> |
1459 | 65 | </property> | 118 | </property> |
1460 | 66 | </column> | 119 | </column> |
1461 | 67 | </widget> | 120 | </widget> |
1462 | 68 | </item> | 121 | </item> |
1463 | 69 | <item> | 122 | <item> |
1493 | 70 | <layout class="QHBoxLayout" name="horizontalLayout_3"> | 123 | <widget class="QFrame" name="frame_bottom"> |
1494 | 71 | <item> | 124 | <property name="minimumSize"> |
1495 | 72 | <widget class="GoToWebButton" name="share_publish_button"> | 125 | <size> |
1496 | 73 | <property name="text"> | 126 | <width>0</width> |
1497 | 74 | <string>Go to the web to share folders and publish files</string> | 127 | <height>40</height> |
1498 | 75 | </property> | 128 | </size> |
1499 | 76 | </widget> | 129 | </property> |
1500 | 77 | </item> | 130 | <layout class="QHBoxLayout" name="horizontalLayout"> |
1501 | 78 | <item> | 131 | <property name="margin"> |
1502 | 79 | <spacer name="horizontalSpacer_3"> | 132 | <number>3</number> |
1503 | 80 | <property name="orientation"> | 133 | </property> |
1504 | 81 | <enum>Qt::Horizontal</enum> | 134 | <item> |
1505 | 82 | </property> | 135 | <spacer name="horizontalSpacer_3"> |
1506 | 83 | <property name="sizeHint" stdset="0"> | 136 | <property name="orientation"> |
1507 | 84 | <size> | 137 | <enum>Qt::Horizontal</enum> |
1508 | 85 | <width>40</width> | 138 | </property> |
1509 | 86 | <height>20</height> | 139 | <property name="sizeHint" stdset="0"> |
1510 | 87 | </size> | 140 | <size> |
1511 | 88 | </property> | 141 | <width>53</width> |
1512 | 89 | </spacer> | 142 | <height>20</height> |
1513 | 90 | </item> | 143 | </size> |
1514 | 91 | <item> | 144 | </property> |
1515 | 92 | <widget class="AddFolderButton" name="add_folder_button"> | 145 | </spacer> |
1516 | 93 | <property name="text"> | 146 | </item> |
1517 | 94 | <string>Sync another folder with your cloud</string> | 147 | <item> |
1518 | 95 | </property> | 148 | <widget class="AddFolderButton" name="add_folder_button"> |
1519 | 96 | </widget> | 149 | <property name="sizePolicy"> |
1520 | 97 | </item> | 150 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
1521 | 98 | </layout> | 151 | <horstretch>0</horstretch> |
1522 | 152 | <verstretch>0</verstretch> | ||
1523 | 153 | </sizepolicy> | ||
1524 | 154 | </property> | ||
1525 | 155 | <property name="text"> | ||
1526 | 156 | <string>Add a folder from this computer</string> | ||
1527 | 157 | </property> | ||
1528 | 158 | </widget> | ||
1529 | 159 | </item> | ||
1530 | 160 | <item> | ||
1531 | 161 | <spacer name="horizontalSpacer_2"> | ||
1532 | 162 | <property name="orientation"> | ||
1533 | 163 | <enum>Qt::Horizontal</enum> | ||
1534 | 164 | </property> | ||
1535 | 165 | <property name="sizeHint" stdset="0"> | ||
1536 | 166 | <size> | ||
1537 | 167 | <width>40</width> | ||
1538 | 168 | <height>20</height> | ||
1539 | 169 | </size> | ||
1540 | 170 | </property> | ||
1541 | 171 | </spacer> | ||
1542 | 172 | </item> | ||
1543 | 173 | </layout> | ||
1544 | 174 | </widget> | ||
1545 | 99 | </item> | 175 | </item> |
1546 | 100 | </layout> | 176 | </layout> |
1547 | 101 | </widget> | 177 | </widget> |
1548 | 102 | 178 | ||
1549 | === modified file 'data/qt/loadingoverlay.ui' | |||
1550 | --- data/qt/loadingoverlay.ui 2011-07-22 21:26:48 +0000 | |||
1551 | +++ data/qt/loadingoverlay.ui 2011-08-12 19:16:23 +0000 | |||
1552 | @@ -1,118 +1,103 @@ | |||
1671 | 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
1672 | 2 | <ui version="4.0"> | 2 | <ui version="4.0"> |
1673 | 3 | <class>Form</class> | 3 | <class>Form</class> |
1674 | 4 | <widget class="QFrame" name="Form"> | 4 | <widget class="QFrame" name="Form"> |
1675 | 5 | <property name="geometry"> | 5 | <property name="geometry"> |
1676 | 6 | <rect> | 6 | <rect> |
1677 | 7 | <x>0</x> | 7 | <x>0</x> |
1678 | 8 | <y>0</y> | 8 | <y>0</y> |
1679 | 9 | <width>702</width> | 9 | <width>702</width> |
1680 | 10 | <height>230</height> | 10 | <height>230</height> |
1681 | 11 | </rect> | 11 | </rect> |
1682 | 12 | </property> | 12 | </property> |
1683 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1684 | 14 | <string>Frame</string> | 14 | <string>Frame</string> |
1685 | 15 | </property> | 15 | </property> |
1686 | 16 | <property name="frameShape"> | 16 | <layout class="QVBoxLayout" name="verticalLayout"> |
1687 | 17 | <enum>QFrame::StyledPanel</enum> | 17 | <property name="topMargin"> |
1688 | 18 | </property> | 18 | <number>30</number> |
1689 | 19 | <property name="frameShadow"> | 19 | </property> |
1690 | 20 | <enum>QFrame::Raised</enum> | 20 | <item> |
1691 | 21 | </property> | 21 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
1692 | 22 | <layout class="QVBoxLayout" name="verticalLayout"> | 22 | <item> |
1693 | 23 | <property name="topMargin"> | 23 | <spacer name="horizontalSpacer_2"> |
1694 | 24 | <number>30</number> | 24 | <property name="orientation"> |
1695 | 25 | </property> | 25 | <enum>Qt::Horizontal</enum> |
1696 | 26 | <item> | 26 | </property> |
1697 | 27 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 27 | <property name="sizeHint" stdset="0"> |
1698 | 28 | <item> | 28 | <size> |
1699 | 29 | <spacer name="horizontalSpacer_2"> | 29 | <width>40</width> |
1700 | 30 | <property name="orientation"> | 30 | <height>20</height> |
1701 | 31 | <enum>Qt::Horizontal</enum> | 31 | </size> |
1702 | 32 | </property> | 32 | </property> |
1703 | 33 | <property name="sizeHint" stdset="0"> | 33 | </spacer> |
1704 | 34 | <size> | 34 | </item> |
1705 | 35 | <width>40</width> | 35 | <item> |
1706 | 36 | <height>20</height> | 36 | <widget class="QFrame" name="frm_box"> |
1707 | 37 | </size> | 37 | <property name="minimumSize"> |
1708 | 38 | </property> | 38 | <size> |
1709 | 39 | </spacer> | 39 | <width>0</width> |
1710 | 40 | </item> | 40 | <height>102</height> |
1711 | 41 | <item> | 41 | </size> |
1712 | 42 | <widget class="QFrame" name="frm_box"> | 42 | </property> |
1713 | 43 | <property name="minimumSize"> | 43 | <layout class="QHBoxLayout" name="horizontalLayout"> |
1714 | 44 | <size> | 44 | <property name="topMargin"> |
1715 | 45 | <width>0</width> | 45 | <number>0</number> |
1716 | 46 | <height>102</height> | 46 | </property> |
1717 | 47 | </size> | 47 | <property name="bottomMargin"> |
1718 | 48 | </property> | 48 | <number>30</number> |
1719 | 49 | <property name="styleSheet"> | 49 | </property> |
1720 | 50 | <string notr="true"/> | 50 | <item> |
1721 | 51 | </property> | 51 | <widget class="QLabel" name="label"> |
1722 | 52 | <property name="frameShape"> | 52 | <property name="sizePolicy"> |
1723 | 53 | <enum>QFrame::StyledPanel</enum> | 53 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
1724 | 54 | </property> | 54 | <horstretch>0</horstretch> |
1725 | 55 | <property name="frameShadow"> | 55 | <verstretch>0</verstretch> |
1726 | 56 | <enum>QFrame::Raised</enum> | 56 | </sizepolicy> |
1727 | 57 | </property> | 57 | </property> |
1728 | 58 | <layout class="QHBoxLayout" name="horizontalLayout"> | 58 | <property name="font"> |
1729 | 59 | <property name="topMargin"> | 59 | <font> |
1730 | 60 | <number>0</number> | 60 | <pointsize>14</pointsize> |
1731 | 61 | </property> | 61 | </font> |
1732 | 62 | <property name="bottomMargin"> | 62 | </property> |
1733 | 63 | <number>30</number> | 63 | <property name="text"> |
1734 | 64 | </property> | 64 | <string>Getting information, please wait...</string> |
1735 | 65 | <item> | 65 | </property> |
1736 | 66 | <widget class="QLabel" name="label"> | 66 | </widget> |
1737 | 67 | <property name="sizePolicy"> | 67 | </item> |
1738 | 68 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | 68 | </layout> |
1739 | 69 | <horstretch>0</horstretch> | 69 | </widget> |
1740 | 70 | <verstretch>0</verstretch> | 70 | </item> |
1741 | 71 | </sizepolicy> | 71 | <item> |
1742 | 72 | </property> | 72 | <spacer name="horizontalSpacer"> |
1743 | 73 | <property name="font"> | 73 | <property name="orientation"> |
1744 | 74 | <font> | 74 | <enum>Qt::Horizontal</enum> |
1745 | 75 | <pointsize>14</pointsize> | 75 | </property> |
1746 | 76 | </font> | 76 | <property name="sizeHint" stdset="0"> |
1747 | 77 | </property> | 77 | <size> |
1748 | 78 | <property name="text"> | 78 | <width>40</width> |
1749 | 79 | <string>Please wait while we retrieve the information...</string> | 79 | <height>20</height> |
1750 | 80 | </property> | 80 | </size> |
1751 | 81 | </widget> | 81 | </property> |
1752 | 82 | </item> | 82 | </spacer> |
1753 | 83 | </layout> | 83 | </item> |
1754 | 84 | </widget> | 84 | </layout> |
1755 | 85 | </item> | 85 | </item> |
1756 | 86 | <item> | 86 | <item> |
1757 | 87 | <spacer name="horizontalSpacer"> | 87 | <spacer name="verticalSpacer"> |
1758 | 88 | <property name="orientation"> | 88 | <property name="orientation"> |
1759 | 89 | <enum>Qt::Horizontal</enum> | 89 | <enum>Qt::Vertical</enum> |
1760 | 90 | </property> | 90 | </property> |
1761 | 91 | <property name="sizeHint" stdset="0"> | 91 | <property name="sizeHint" stdset="0"> |
1762 | 92 | <size> | 92 | <size> |
1763 | 93 | <width>40</width> | 93 | <width>20</width> |
1764 | 94 | <height>20</height> | 94 | <height>20</height> |
1765 | 95 | </size> | 95 | </size> |
1766 | 96 | </property> | 96 | </property> |
1767 | 97 | </spacer> | 97 | </spacer> |
1768 | 98 | </item> | 98 | </item> |
1769 | 99 | </layout> | 99 | </layout> |
1770 | 100 | </item> | 100 | </widget> |
1771 | 101 | <item> | 101 | <resources/> |
1772 | 102 | <spacer name="verticalSpacer"> | 102 | <connections/> |
1773 | 103 | <property name="orientation"> | 103 | </ui> |
1656 | 104 | <enum>Qt::Vertical</enum> | ||
1657 | 105 | </property> | ||
1658 | 106 | <property name="sizeHint" stdset="0"> | ||
1659 | 107 | <size> | ||
1660 | 108 | <width>20</width> | ||
1661 | 109 | <height>20</height> | ||
1662 | 110 | </size> | ||
1663 | 111 | </property> | ||
1664 | 112 | </spacer> | ||
1665 | 113 | </item> | ||
1666 | 114 | </layout> | ||
1667 | 115 | </widget> | ||
1668 | 116 | <resources/> | ||
1669 | 117 | <connections/> | ||
1670 | 118 | </ui> | ||
1774 | 119 | 104 | ||
1775 | === modified file 'data/qt/preferences.ui' | |||
1776 | --- data/qt/preferences.ui 2011-07-22 21:26:48 +0000 | |||
1777 | +++ data/qt/preferences.ui 2011-08-12 19:16:23 +0000 | |||
1778 | @@ -6,8 +6,8 @@ | |||
1779 | 6 | <rect> | 6 | <rect> |
1780 | 7 | <x>0</x> | 7 | <x>0</x> |
1781 | 8 | <y>0</y> | 8 | <y>0</y> |
1784 | 9 | <width>469</width> | 9 | <width>433</width> |
1785 | 10 | <height>352</height> | 10 | <height>328</height> |
1786 | 11 | </rect> | 11 | </rect> |
1787 | 12 | </property> | 12 | </property> |
1788 | 13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> |
1789 | @@ -21,13 +21,13 @@ | |||
1790 | 21 | <number>0</number> | 21 | <number>0</number> |
1791 | 22 | </property> | 22 | </property> |
1792 | 23 | <item> | 23 | <item> |
1794 | 24 | <widget class="QGroupBox" name="verticalGroupBox"> | 24 | <widget class="QGroupBox" name="bandwidth_settings"> |
1795 | 25 | <property name="title"> | 25 | <property name="title"> |
1796 | 26 | <string>Bandwidth settings</string> | 26 | <string>Bandwidth settings</string> |
1797 | 27 | </property> | 27 | </property> |
1798 | 28 | <layout class="QGridLayout" name="gridLayout"> | 28 | <layout class="QGridLayout" name="gridLayout"> |
1801 | 29 | <property name="verticalSpacing"> | 29 | <property name="margin"> |
1802 | 30 | <number>10</number> | 30 | <number>0</number> |
1803 | 31 | </property> | 31 | </property> |
1804 | 32 | <item row="0" column="0"> | 32 | <item row="0" column="0"> |
1805 | 33 | <widget class="QCheckBox" name="limit_uploads_checkbox"> | 33 | <widget class="QCheckBox" name="limit_uploads_checkbox"> |
1806 | @@ -120,13 +120,13 @@ | |||
1807 | 120 | </widget> | 120 | </widget> |
1808 | 121 | </item> | 121 | </item> |
1809 | 122 | <item> | 122 | <item> |
1811 | 123 | <widget class="QGroupBox" name="groupBox_2"> | 123 | <widget class="QGroupBox" name="file_sync_settings"> |
1812 | 124 | <property name="title"> | 124 | <property name="title"> |
1813 | 125 | <string>File Sync Settings</string> | 125 | <string>File Sync Settings</string> |
1814 | 126 | </property> | 126 | </property> |
1815 | 127 | <layout class="QVBoxLayout" name="verticalLayout_1"> | 127 | <layout class="QVBoxLayout" name="verticalLayout_1"> |
1818 | 128 | <property name="spacing"> | 128 | <property name="margin"> |
1819 | 129 | <number>10</number> | 129 | <number>0</number> |
1820 | 130 | </property> | 130 | </property> |
1821 | 131 | <item> | 131 | <item> |
1822 | 132 | <widget class="QCheckBox" name="autoconnect_checkbox"> | 132 | <widget class="QCheckBox" name="autoconnect_checkbox"> |
1823 | @@ -160,7 +160,23 @@ | |||
1824 | 160 | </widget> | 160 | </widget> |
1825 | 161 | </item> | 161 | </item> |
1826 | 162 | <item> | 162 | <item> |
1827 | 163 | <spacer name="verticalSpacer"> | ||
1828 | 164 | <property name="orientation"> | ||
1829 | 165 | <enum>Qt::Vertical</enum> | ||
1830 | 166 | </property> | ||
1831 | 167 | <property name="sizeHint" stdset="0"> | ||
1832 | 168 | <size> | ||
1833 | 169 | <width>20</width> | ||
1834 | 170 | <height>40</height> | ||
1835 | 171 | </size> | ||
1836 | 172 | </property> | ||
1837 | 173 | </spacer> | ||
1838 | 174 | </item> | ||
1839 | 175 | <item> | ||
1840 | 163 | <layout class="QHBoxLayout" name="horizontalLayout"> | 176 | <layout class="QHBoxLayout" name="horizontalLayout"> |
1841 | 177 | <property name="margin"> | ||
1842 | 178 | <number>3</number> | ||
1843 | 179 | </property> | ||
1844 | 164 | <item> | 180 | <item> |
1845 | 165 | <spacer name="horizontalSpacer"> | 181 | <spacer name="horizontalSpacer"> |
1846 | 166 | <property name="orientation"> | 182 | <property name="orientation"> |
1847 | @@ -190,19 +206,6 @@ | |||
1848 | 190 | </item> | 206 | </item> |
1849 | 191 | </layout> | 207 | </layout> |
1850 | 192 | </item> | 208 | </item> |
1851 | 193 | <item> | ||
1852 | 194 | <spacer name="verticalSpacer"> | ||
1853 | 195 | <property name="orientation"> | ||
1854 | 196 | <enum>Qt::Vertical</enum> | ||
1855 | 197 | </property> | ||
1856 | 198 | <property name="sizeHint" stdset="0"> | ||
1857 | 199 | <size> | ||
1858 | 200 | <width>20</width> | ||
1859 | 201 | <height>40</height> | ||
1860 | 202 | </size> | ||
1861 | 203 | </property> | ||
1862 | 204 | </spacer> | ||
1863 | 205 | </item> | ||
1864 | 206 | </layout> | 209 | </layout> |
1865 | 207 | </widget> | 210 | </widget> |
1866 | 208 | <resources/> | 211 | <resources/> |
1867 | 209 | 212 | ||
1868 | === modified file 'data/qt/ubuntuone.qss' | |||
1869 | --- data/qt/ubuntuone.qss 2011-07-22 21:26:48 +0000 | |||
1870 | +++ data/qt/ubuntuone.qss 2011-08-12 19:16:23 +0000 | |||
1871 | @@ -2,19 +2,49 @@ | |||
1872 | 2 | background-color: #dd4814; | 2 | background-color: #dd4814; |
1873 | 3 | } | 3 | } |
1874 | 4 | 4 | ||
1876 | 5 | QFrame#frmHeader { | 5 | QWidget { |
1877 | 6 | font-family: "Ubuntu"; | ||
1878 | 7 | } | ||
1879 | 8 | |||
1880 | 9 | QFrame { | ||
1881 | 10 | border: none; | ||
1882 | 11 | } | ||
1883 | 12 | |||
1884 | 13 | QFrame#frame_header { | ||
1885 | 6 | background: #ffffff; | 14 | background: #ffffff; |
1886 | 7 | border-radius: 5px; | 15 | border-radius: 5px; |
1887 | 8 | border-style: solid; | 16 | border-style: solid; |
1888 | 9 | border-color: #939389; | 17 | border-color: #939389; |
1889 | 10 | border-width: 1px; | 18 | border-width: 1px; |
1892 | 11 | color: white; | 19 | min-height: 90px; |
1893 | 12 | min-height: 100px; | 20 | } |
1894 | 21 | |||
1895 | 22 | QFrame#frame_greeting { | ||
1896 | 23 | margin 0px; | ||
1897 | 24 | padding-left: 15px; | ||
1898 | 25 | padding-top: 10px; | ||
1899 | 26 | padding-right: 10px; | ||
1900 | 27 | padding-bottom: 10px; | ||
1901 | 28 | } | ||
1902 | 29 | |||
1903 | 30 | QFrame#frame_status, | ||
1904 | 31 | QFrame#frame_storage { | ||
1905 | 32 | border-style: dotted; | ||
1906 | 33 | border-color: #939389; | ||
1907 | 34 | border-left-width: 1px; | ||
1908 | 35 | padding: 10px; | ||
1909 | 36 | min-width: 40px; | ||
1910 | 37 | } | ||
1911 | 38 | |||
1912 | 39 | QFrame#account_separator { | ||
1913 | 40 | border-style: dotted; | ||
1914 | 41 | border-color: #939389; | ||
1915 | 42 | border-bottom-width: 1px; | ||
1916 | 13 | } | 43 | } |
1917 | 14 | 44 | ||
1918 | 15 | QPushButton[enabled="true"] { | 45 | QPushButton[enabled="true"] { |
1919 | 16 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, | 46 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, |
1921 | 17 | stop: 0 #fecfc2,stop: 1.0 #e44e19); | 47 | stop: 0 #fecfc2, stop: 1.0 #e44e19); |
1922 | 18 | border-radius: 5px; | 48 | border-radius: 5px; |
1923 | 19 | border-style: solid; | 49 | border-style: solid; |
1924 | 20 | padding: 6px; | 50 | padding: 6px; |
1925 | @@ -60,6 +90,32 @@ | |||
1926 | 60 | height: 12px; | 90 | height: 12px; |
1927 | 61 | } | 91 | } |
1928 | 62 | 92 | ||
1929 | 93 | QPushButton#help_button { | ||
1930 | 94 | background: transparent; | ||
1931 | 95 | border: none; | ||
1932 | 96 | color: white; | ||
1933 | 97 | height: 20px; | ||
1934 | 98 | text-decoration: underline; | ||
1935 | 99 | padding: 0px; | ||
1936 | 100 | } | ||
1937 | 101 | |||
1938 | 102 | QPushButton#explore_folder_button { | ||
1939 | 103 | border: none; | ||
1940 | 104 | background: none; | ||
1941 | 105 | color: #595959; | ||
1942 | 106 | } | ||
1943 | 107 | |||
1944 | 108 | QPushButton#add_folder_button { | ||
1945 | 109 | padding: 5px; | ||
1946 | 110 | } | ||
1947 | 111 | |||
1948 | 112 | GoToWebButton#share_publish_button { | ||
1949 | 113 | background: transparent; | ||
1950 | 114 | border: none; | ||
1951 | 115 | color: #dd4814; | ||
1952 | 116 | text-decoration: underline; | ||
1953 | 117 | } | ||
1954 | 118 | |||
1955 | 63 | QTabBar::tab { | 119 | QTabBar::tab { |
1956 | 64 | height: 15px; | 120 | height: 15px; |
1957 | 65 | color: #333333; | 121 | color: #333333; |
1958 | @@ -101,6 +157,13 @@ | |||
1959 | 101 | border-left-color: #e4e0dd; | 157 | border-left-color: #e4e0dd; |
1960 | 102 | } | 158 | } |
1961 | 103 | 159 | ||
1962 | 160 | QTabBar::tab:hover { | ||
1963 | 161 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, | ||
1964 | 162 | stop: 0 #fafafa, stop: 0.4 #f4f4f4, | ||
1965 | 163 | stop: 0.5 #e7e7e7, stop: 1.0 #fafafa); | ||
1966 | 164 | text-decoration: underline; | ||
1967 | 165 | } | ||
1968 | 166 | |||
1969 | 104 | QTabBar::tab:last:!selected { | 167 | QTabBar::tab:last:!selected { |
1970 | 105 | border-left-color: #e4e0dd; | 168 | border-left-color: #e4e0dd; |
1971 | 106 | } | 169 | } |
1972 | @@ -121,37 +184,22 @@ | |||
1973 | 121 | border-width: 1px; | 184 | border-width: 1px; |
1974 | 122 | background: white; | 185 | background: white; |
1975 | 123 | border-top: 2px solid white; | 186 | border-top: 2px solid white; |
1976 | 124 | } | ||
1977 | 125 | |||
1978 | 126 | QTabBar::tab:hover { | ||
1979 | 127 | background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, | ||
1980 | 128 | stop: 0 #fafafa, stop: 0.4 #f4f4f4, | ||
1981 | 129 | stop: 0.5 #e7e7e7, stop: 1.0 #fafafa); | ||
1982 | 130 | } | ||
1983 | 131 | |||
1984 | 132 | QPushButton#help_button { | ||
1985 | 133 | background: transparent; | ||
1986 | 134 | border: none; | ||
1987 | 135 | color: white; | ||
1988 | 136 | height: 20px; | ||
1989 | 137 | text-decoration: underline; | ||
1990 | 138 | padding: 0px; | ||
1991 | 139 | } | ||
1992 | 140 | |||
1993 | 141 | QPushButton#explore_folder_button { | ||
1994 | 142 | border: none; | ||
1995 | 143 | background: none; | ||
1996 | 144 | } | 187 | } |
1997 | 145 | 188 | ||
1998 | 146 | QGroupBox { | 189 | QGroupBox { |
1999 | 147 | padding-top: 30px; | 190 | padding-top: 30px; |
2001 | 148 | border: 0px solid; | 191 | border: none; |
2002 | 149 | margin-top: 1ex; | 192 | margin-top: 1ex; |
2003 | 193 | } | ||
2004 | 194 | |||
2005 | 195 | QGroupBox::title { | ||
2006 | 196 | color: #333333; | ||
2007 | 150 | font: bold 15px; | 197 | font: bold 15px; |
2008 | 151 | } | 198 | } |
2009 | 152 | 199 | ||
2012 | 153 | QGroupBox::title { | 200 | QGroupBox#profile, |
2013 | 154 | color: #333333; | 201 | QGroupBox#services { |
2014 | 202 | padding-left: 5px; | ||
2015 | 155 | } | 203 | } |
2016 | 156 | 204 | ||
2017 | 157 | QListWidget { | 205 | QListWidget { |
2018 | @@ -159,12 +207,11 @@ | |||
2019 | 159 | alternate-background-color: #efedec; | 207 | alternate-background-color: #efedec; |
2020 | 160 | } | 208 | } |
2021 | 161 | 209 | ||
2023 | 162 | QListWidget#listDevices::item { | 210 | QListWidget#list_devices::item { |
2024 | 163 | min-height: 48px; | 211 | min-height: 48px; |
2025 | 164 | } | 212 | } |
2026 | 165 | 213 | ||
2029 | 166 | QLabel#other_devices_label, | 214 | QLabel#other_devices_label { |
2028 | 167 | QLabel#title_label { | ||
2030 | 168 | font: bold 16px; | 215 | font: bold 16px; |
2031 | 169 | } | 216 | } |
2032 | 170 | 217 | ||
2033 | @@ -176,7 +223,7 @@ | |||
2034 | 176 | color: white; | 223 | color: white; |
2035 | 177 | } | 224 | } |
2036 | 178 | 225 | ||
2038 | 179 | QFrame#frm_box { | 226 | QFrame#frm_box { /* the loadingoverlay frame */ |
2039 | 180 | background: #ffffff; | 227 | background: #ffffff; |
2040 | 181 | border-radius: 5px; | 228 | border-radius: 5px; |
2041 | 182 | border-style: solid; | 229 | border-style: solid; |
2042 | @@ -186,6 +233,10 @@ | |||
2043 | 186 | min-height: 100px; | 233 | min-height: 100px; |
2044 | 187 | } | 234 | } |
2045 | 188 | 235 | ||
2048 | 189 | QWidget { | 236 | QAbstractItemView { |
2049 | 190 | font-family: "Ubuntu"; | 237 | border-style: solid; |
2050 | 238 | border-color: #333333; | ||
2051 | 239 | border-width: 1px; | ||
2052 | 240 | alternate-background-color: #efedec; | ||
2053 | 241 | background: #f7f6f5; | ||
2054 | 191 | } | 242 | } |
2055 | 192 | 243 | ||
2056 | === modified file 'debian/changelog' | |||
2057 | --- debian/changelog 2011-07-26 17:11:27 +0000 | |||
2058 | +++ debian/changelog 2011-08-12 19:16:23 +0000 | |||
2059 | @@ -1,3 +1,10 @@ | |||
2060 | 1 | ubuntuone-control-panel (1.1.2-0ubuntu1) oneiric; urgency=low | ||
2061 | 2 | |||
2062 | 3 | * New upstream release. | ||
2063 | 4 | - ImportError: cannot import name LOGFOLDER (LP: #823648) | ||
2064 | 5 | |||
2065 | 6 | -- Rodney Dawes <rodney.dawes@ubuntu.com> Fri, 12 Aug 2011 15:12:09 -0400 | ||
2066 | 7 | |||
2067 | 1 | ubuntuone-control-panel (1.1.1-0ubuntu2) oneiric; urgency=low | 8 | ubuntuone-control-panel (1.1.1-0ubuntu2) oneiric; urgency=low |
2068 | 2 | 9 | ||
2069 | 3 | * Add pyqt4-dev-tools and python-qt4 to Build-Depends to fix FTBFS | 10 | * Add pyqt4-dev-tools and python-qt4 to Build-Depends to fix FTBFS |
2070 | 4 | 11 | ||
2071 | === modified file 'debian/control' | |||
2072 | --- debian/control 2011-07-26 17:11:27 +0000 | |||
2073 | +++ debian/control 2011-08-12 19:16:23 +0000 | |||
2074 | @@ -17,7 +17,7 @@ | |||
2075 | 17 | ${python:Depends}, | 17 | ${python:Depends}, |
2076 | 18 | python, | 18 | python, |
2077 | 19 | python-ubuntuone-control-panel (= ${binary:Version}), | 19 | python-ubuntuone-control-panel (= ${binary:Version}), |
2079 | 20 | ubuntuone-client (>= 1.6.0), | 20 | ubuntuone-client (>= 1.7.1), |
2080 | 21 | Recommends: ubuntuone-control-panel-gui | 21 | Recommends: ubuntuone-control-panel-gui |
2081 | 22 | Description: Ubuntu One Control Panel | 22 | Description: Ubuntu One Control Panel |
2082 | 23 | Desktop application to manage a Ubuntu One account. | 23 | Desktop application to manage a Ubuntu One account. |
2083 | @@ -37,7 +37,7 @@ | |||
2084 | 37 | python-simplejson, | 37 | python-simplejson, |
2085 | 38 | python-twisted-core, | 38 | python-twisted-core, |
2086 | 39 | python-twisted-web, | 39 | python-twisted-web, |
2088 | 40 | python-ubuntuone-client (>= 1.6.0), | 40 | python-ubuntuone-client (>= 1.7.1), |
2089 | 41 | ubuntu-sso-client (>= 1.2.0), | 41 | ubuntu-sso-client (>= 1.2.0), |
2090 | 42 | Description: Ubuntu One Control Panel Python Libraries | 42 | Description: Ubuntu One Control Panel Python Libraries |
2091 | 43 | Ubuntu One Control Panel provides a Python library to manage an Ubuntu One | 43 | Ubuntu One Control Panel provides a Python library to manage an Ubuntu One |
2092 | @@ -55,9 +55,9 @@ | |||
2093 | 55 | python-defer | python-aptdaemon, | 55 | python-defer | python-aptdaemon, |
2094 | 56 | python-gobject (>= 2.21.5), | 56 | python-gobject (>= 2.21.5), |
2095 | 57 | python-gtk2, | 57 | python-gtk2, |
2097 | 58 | python-ubuntuone-client (>= 1.6.0), | 58 | python-ubuntuone-client (>= 1.7.1), |
2098 | 59 | ubuntu-sso-client (>= 1.2.0), | 59 | ubuntu-sso-client (>= 1.2.0), |
2100 | 60 | ubuntuone-client (>= 1.6.0), | 60 | ubuntuone-client (>= 1.7.1), |
2101 | 61 | ubuntuone-control-panel (= ${binary:Version}), | 61 | ubuntuone-control-panel (= ${binary:Version}), |
2102 | 62 | Provides: ubuntuone-control-panel-gui | 62 | Provides: ubuntuone-control-panel-gui |
2103 | 63 | Description: Ubuntu One Control Panel | 63 | Description: Ubuntu One Control Panel |
2104 | 64 | 64 | ||
2105 | === added file 'po/ubuntuone-control-panel.pot' | |||
2106 | --- po/ubuntuone-control-panel.pot 1970-01-01 00:00:00 +0000 | |||
2107 | +++ po/ubuntuone-control-panel.pot 2011-08-12 19:16:23 +0000 | |||
2108 | @@ -0,0 +1,486 @@ | |||
2109 | 1 | # SOME DESCRIPTIVE TITLE. | ||
2110 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
2111 | 3 | # This file is distributed under the same license as the PACKAGE package. | ||
2112 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
2113 | 5 | # | ||
2114 | 6 | #, fuzzy | ||
2115 | 7 | msgid "" | ||
2116 | 8 | msgstr "" | ||
2117 | 9 | "Project-Id-Version: PACKAGE VERSION\n" | ||
2118 | 10 | "Report-Msgid-Bugs-To: \n" | ||
2119 | 11 | "POT-Creation-Date: 2011-08-12 15:07-0400\n" | ||
2120 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
2121 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
2122 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | ||
2123 | 15 | "Language: \n" | ||
2124 | 16 | "MIME-Version: 1.0\n" | ||
2125 | 17 | "Content-Type: text/plain; charset=CHARSET\n" | ||
2126 | 18 | "Content-Transfer-Encoding: 8bit\n" | ||
2127 | 19 | |||
2128 | 20 | #: ../ubuntuone-control-panel-gtk.desktop.in.h:1 | ||
2129 | 21 | msgid "Configure and manage your Ubuntu One account" | ||
2130 | 22 | msgstr "" | ||
2131 | 23 | |||
2132 | 24 | #: ../ubuntuone/controlpanel/gui/__init__.py:72 | ||
2133 | 25 | msgid "Always in sync" | ||
2134 | 26 | msgstr "" | ||
2135 | 27 | |||
2136 | 28 | #: ../ubuntuone/controlpanel/gui/__init__.py:73 | ||
2137 | 29 | msgid "Firefox extension" | ||
2138 | 30 | msgstr "" | ||
2139 | 31 | |||
2140 | 32 | #: ../ubuntuone/controlpanel/gui/__init__.py:74 | ||
2141 | 33 | msgid "Connect to Ubuntu One" | ||
2142 | 34 | msgstr "" | ||
2143 | 35 | |||
2144 | 36 | #: ../ubuntuone/controlpanel/gui/__init__.py:75 | ||
2145 | 37 | msgid "Evolution plug-in" | ||
2146 | 38 | msgstr "" | ||
2147 | 39 | |||
2148 | 40 | #: ../ubuntuone/controlpanel/gui/__init__.py:76 | ||
2149 | 41 | msgid "There was a problem while retrieving the credentials." | ||
2150 | 42 | msgstr "" | ||
2151 | 43 | |||
2152 | 44 | #: ../ubuntuone/controlpanel/gui/__init__.py:77 | ||
2153 | 45 | msgid "View your personal details and service summary" | ||
2154 | 46 | msgstr "" | ||
2155 | 47 | |||
2156 | 48 | #: ../ubuntuone/controlpanel/gui/__init__.py:79 | ||
2157 | 49 | msgid "Welcome to Ubuntu One!" | ||
2158 | 50 | msgstr "" | ||
2159 | 51 | |||
2160 | 52 | #: ../ubuntuone/controlpanel/gui/__init__.py:80 | ||
2161 | 53 | msgid "" | ||
2162 | 54 | "The information could not be retrieved. Maybe your internet connection is " | ||
2163 | 55 | "down?" | ||
2164 | 56 | msgstr "" | ||
2165 | 57 | |||
2166 | 58 | #: ../ubuntuone/controlpanel/gui/__init__.py:83 | ||
2167 | 59 | #: ../ubuntuone/controlpanel/gui/__init__.py:156 | ||
2168 | 60 | msgid "" | ||
2169 | 61 | "The settings could not be changed,\n" | ||
2170 | 62 | "previous values were restored." | ||
2171 | 63 | msgstr "" | ||
2172 | 64 | |||
2173 | 65 | #: ../ubuntuone/controlpanel/gui/__init__.py:85 | ||
2174 | 66 | msgid "Are you sure you want to remove this device from Ubuntu One?" | ||
2175 | 67 | msgstr "" | ||
2176 | 68 | |||
2177 | 69 | #: ../ubuntuone/controlpanel/gui/__init__.py:88 | ||
2178 | 70 | msgid "The device could not be removed." | ||
2179 | 71 | msgstr "" | ||
2180 | 72 | |||
2181 | 73 | #: ../ubuntuone/controlpanel/gui/__init__.py:89 | ||
2182 | 74 | msgid "Manage devices registered with your personal cloud" | ||
2183 | 75 | msgstr "" | ||
2184 | 76 | |||
2185 | 77 | #: ../ubuntuone/controlpanel/gui/__init__.py:91 | ||
2186 | 78 | msgid "The devices connected with your personal cloud are listed below." | ||
2187 | 79 | msgstr "" | ||
2188 | 80 | |||
2189 | 81 | #: ../ubuntuone/controlpanel/gui/__init__.py:93 | ||
2190 | 82 | msgid "Explore" | ||
2191 | 83 | msgstr "" | ||
2192 | 84 | |||
2193 | 85 | #: ../ubuntuone/controlpanel/gui/__init__.py:94 | ||
2194 | 86 | #, python-format | ||
2195 | 87 | msgid "<i>%(package_name)s</i> could not be installed" | ||
2196 | 88 | msgstr "" | ||
2197 | 89 | |||
2198 | 90 | #: ../ubuntuone/controlpanel/gui/__init__.py:95 | ||
2199 | 91 | msgid "Sync another folder with your cloud" | ||
2200 | 92 | msgstr "" | ||
2201 | 93 | |||
2202 | 94 | #: ../ubuntuone/controlpanel/gui/__init__.py:96 | ||
2203 | 95 | #, python-format | ||
2204 | 96 | msgid "" | ||
2205 | 97 | "The chosen directory \"%(folder_path)s\" is not valid. \n" | ||
2206 | 98 | "\n" | ||
2207 | 99 | "Please choose a folder inside your \"%(home_folder)s\" directory, and not " | ||
2208 | 100 | "overlapping with any existing cloud folder." | ||
2209 | 101 | msgstr "" | ||
2210 | 102 | |||
2211 | 103 | #: ../ubuntuone/controlpanel/gui/__init__.py:101 | ||
2212 | 104 | msgid "My personal folders" | ||
2213 | 105 | msgstr "" | ||
2214 | 106 | |||
2215 | 107 | #: ../ubuntuone/controlpanel/gui/__init__.py:102 | ||
2216 | 108 | #, python-format | ||
2217 | 109 | msgid "Shared by %(other_user_display_name)s" | ||
2218 | 110 | msgstr "" | ||
2219 | 111 | |||
2220 | 112 | #: ../ubuntuone/controlpanel/gui/__init__.py:103 | ||
2221 | 113 | #, python-format | ||
2222 | 114 | msgid "" | ||
2223 | 115 | "The contents of your cloud folder will be merged with your local folder " | ||
2224 | 116 | "\"%(folder_path)s\" when subscribing.\n" | ||
2225 | 117 | "Do you want to subscribe to this cloud folder?" | ||
2226 | 118 | msgstr "" | ||
2227 | 119 | |||
2228 | 120 | #: ../ubuntuone/controlpanel/gui/__init__.py:107 | ||
2229 | 121 | msgid "Manage your cloud folders" | ||
2230 | 122 | msgstr "" | ||
2231 | 123 | |||
2232 | 124 | #: ../ubuntuone/controlpanel/gui/__init__.py:109 | ||
2233 | 125 | msgid "" | ||
2234 | 126 | "Select which folders from your cloud you want to sync with this computer" | ||
2235 | 127 | msgstr "" | ||
2236 | 128 | |||
2237 | 129 | #: ../ubuntuone/controlpanel/gui/__init__.py:111 | ||
2238 | 130 | msgid "Connect" | ||
2239 | 131 | msgstr "" | ||
2240 | 132 | |||
2241 | 133 | #: ../ubuntuone/controlpanel/gui/__init__.py:112 | ||
2242 | 134 | msgid "Connect the file sync service with your personal cloud" | ||
2243 | 135 | msgstr "" | ||
2244 | 136 | |||
2245 | 137 | #: ../ubuntuone/controlpanel/gui/__init__.py:114 | ||
2246 | 138 | msgid "File Sync is disabled." | ||
2247 | 139 | msgstr "" | ||
2248 | 140 | |||
2249 | 141 | #: ../ubuntuone/controlpanel/gui/__init__.py:115 | ||
2250 | 142 | msgid "Disconnect" | ||
2251 | 143 | msgstr "" | ||
2252 | 144 | |||
2253 | 145 | #: ../ubuntuone/controlpanel/gui/__init__.py:116 | ||
2254 | 146 | msgid "Disconnect the file sync service from your personal cloud" | ||
2255 | 147 | msgstr "" | ||
2256 | 148 | |||
2257 | 149 | #: ../ubuntuone/controlpanel/gui/__init__.py:118 | ||
2258 | 150 | msgid "File Sync is disconnected." | ||
2259 | 151 | msgstr "" | ||
2260 | 152 | |||
2261 | 153 | #: ../ubuntuone/controlpanel/gui/__init__.py:119 | ||
2262 | 154 | msgid "Enable" | ||
2263 | 155 | msgstr "" | ||
2264 | 156 | |||
2265 | 157 | #: ../ubuntuone/controlpanel/gui/__init__.py:120 | ||
2266 | 158 | msgid "Enable the file sync service" | ||
2267 | 159 | msgstr "" | ||
2268 | 160 | |||
2269 | 161 | #: ../ubuntuone/controlpanel/gui/__init__.py:121 | ||
2270 | 162 | msgid "File Sync error." | ||
2271 | 163 | msgstr "" | ||
2272 | 164 | |||
2273 | 165 | #: ../ubuntuone/controlpanel/gui/__init__.py:122 | ||
2274 | 166 | msgid "File Sync is up-to-date." | ||
2275 | 167 | msgstr "" | ||
2276 | 168 | |||
2277 | 169 | #: ../ubuntuone/controlpanel/gui/__init__.py:123 | ||
2278 | 170 | msgid "Restart" | ||
2279 | 171 | msgstr "" | ||
2280 | 172 | |||
2281 | 173 | #: ../ubuntuone/controlpanel/gui/__init__.py:124 | ||
2282 | 174 | msgid "Restart the file sync service" | ||
2283 | 175 | msgstr "" | ||
2284 | 176 | |||
2285 | 177 | #: ../ubuntuone/controlpanel/gui/__init__.py:125 | ||
2286 | 178 | msgid "File Sync" | ||
2287 | 179 | msgstr "" | ||
2288 | 180 | |||
2289 | 181 | #: ../ubuntuone/controlpanel/gui/__init__.py:126 | ||
2290 | 182 | msgid "Start" | ||
2291 | 183 | msgstr "" | ||
2292 | 184 | |||
2293 | 185 | #: ../ubuntuone/controlpanel/gui/__init__.py:127 | ||
2294 | 186 | msgid "Start the file sync service" | ||
2295 | 187 | msgstr "" | ||
2296 | 188 | |||
2297 | 189 | #: ../ubuntuone/controlpanel/gui/__init__.py:128 | ||
2298 | 190 | msgid "File Sync starting..." | ||
2299 | 191 | msgstr "" | ||
2300 | 192 | |||
2301 | 193 | #: ../ubuntuone/controlpanel/gui/__init__.py:129 | ||
2302 | 194 | msgid "Stop" | ||
2303 | 195 | msgstr "" | ||
2304 | 196 | |||
2305 | 197 | #: ../ubuntuone/controlpanel/gui/__init__.py:130 | ||
2306 | 198 | msgid "Stop the file sync service" | ||
2307 | 199 | msgstr "" | ||
2308 | 200 | |||
2309 | 201 | #: ../ubuntuone/controlpanel/gui/__init__.py:131 | ||
2310 | 202 | msgid "File Sync is stopped." | ||
2311 | 203 | msgstr "" | ||
2312 | 204 | |||
2313 | 205 | #: ../ubuntuone/controlpanel/gui/__init__.py:132 | ||
2314 | 206 | msgid "File Sync in progress..." | ||
2315 | 207 | msgstr "" | ||
2316 | 208 | |||
2317 | 209 | #: ../ubuntuone/controlpanel/gui/__init__.py:133 | ||
2318 | 210 | #, python-format | ||
2319 | 211 | msgid "%(free_space)s available storage" | ||
2320 | 212 | msgstr "" | ||
2321 | 213 | |||
2322 | 214 | #: ../ubuntuone/controlpanel/gui/__init__.py:134 | ||
2323 | 215 | #, python-format | ||
2324 | 216 | msgid "Hi %(user_display_name)s" | ||
2325 | 217 | msgstr "" | ||
2326 | 218 | |||
2327 | 219 | #: ../ubuntuone/controlpanel/gui/__init__.py:135 | ||
2328 | 220 | #, python-format | ||
2329 | 221 | msgid "" | ||
2330 | 222 | "You need to install the package <i>%(package_name)s</i> in order to enable " | ||
2331 | 223 | "more sync services." | ||
2332 | 224 | msgstr "" | ||
2333 | 225 | |||
2334 | 226 | #: ../ubuntuone/controlpanel/gui/__init__.py:137 | ||
2335 | 227 | #, python-format | ||
2336 | 228 | msgid "Install the %(plugin_name)s for the sync service: %(service_name)s" | ||
2337 | 229 | msgstr "" | ||
2338 | 230 | |||
2339 | 231 | #: ../ubuntuone/controlpanel/gui/__init__.py:139 | ||
2340 | 232 | #, python-format | ||
2341 | 233 | msgid "Installation of <i>%(package_name)s</i> in progress" | ||
2342 | 234 | msgstr "" | ||
2343 | 235 | |||
2344 | 236 | #: ../ubuntuone/controlpanel/gui/__init__.py:140 | ||
2345 | 237 | msgid "Loading..." | ||
2346 | 238 | msgstr "" | ||
2347 | 239 | |||
2348 | 240 | #: ../ubuntuone/controlpanel/gui/__init__.py:141 | ||
2349 | 241 | #, python-format | ||
2350 | 242 | msgid "%(app_name)s Control Panel" | ||
2351 | 243 | msgstr "" | ||
2352 | 244 | |||
2353 | 245 | #: ../ubuntuone/controlpanel/gui/__init__.py:142 | ||
2354 | 246 | msgid "My folders" | ||
2355 | 247 | msgstr "" | ||
2356 | 248 | |||
2357 | 249 | #: ../ubuntuone/controlpanel/gui/__init__.py:143 | ||
2358 | 250 | msgid "[unknown user name]" | ||
2359 | 251 | msgstr "" | ||
2360 | 252 | |||
2361 | 253 | #: ../ubuntuone/controlpanel/gui/__init__.py:144 | ||
2362 | 254 | msgid "Purchased Music" | ||
2363 | 255 | msgstr "" | ||
2364 | 256 | |||
2365 | 257 | #: ../ubuntuone/controlpanel/gui/__init__.py:146 | ||
2366 | 258 | #, python-format | ||
2367 | 259 | msgid "An internet connection is required to join or sign in to %(app_name)s." | ||
2368 | 260 | msgstr "" | ||
2369 | 261 | |||
2370 | 262 | #: ../ubuntuone/controlpanel/gui/__init__.py:148 | ||
2371 | 263 | msgid "No devices to show." | ||
2372 | 264 | msgstr "" | ||
2373 | 265 | |||
2374 | 266 | #: ../ubuntuone/controlpanel/gui/__init__.py:149 | ||
2375 | 267 | msgid "No folders to show." | ||
2376 | 268 | msgstr "" | ||
2377 | 269 | |||
2378 | 270 | #: ../ubuntuone/controlpanel/gui/__init__.py:150 | ||
2379 | 271 | msgid "There is no Ubuntu One pairing record." | ||
2380 | 272 | msgstr "" | ||
2381 | 273 | |||
2382 | 274 | #: ../ubuntuone/controlpanel/gui/__init__.py:151 | ||
2383 | 275 | #, python-format | ||
2384 | 276 | msgid "%(percentage)s used" | ||
2385 | 277 | msgstr "" | ||
2386 | 278 | |||
2387 | 279 | #: ../ubuntuone/controlpanel/gui/__init__.py:152 | ||
2388 | 280 | #, python-format | ||
2389 | 281 | msgid "Using %(used)s of %(total)s (%(percentage).0f%%)" | ||
2390 | 282 | msgstr "" | ||
2391 | 283 | |||
2392 | 284 | #: ../ubuntuone/controlpanel/gui/__init__.py:153 | ||
2393 | 285 | #, python-format | ||
2394 | 286 | msgid "%(used)s of %(total)s" | ||
2395 | 287 | msgstr "" | ||
2396 | 288 | |||
2397 | 289 | #: ../ubuntuone/controlpanel/gui/__init__.py:154 | ||
2398 | 290 | msgid "Manage the sync services" | ||
2399 | 291 | msgstr "" | ||
2400 | 292 | |||
2401 | 293 | #: ../ubuntuone/controlpanel/gui/__init__.py:155 | ||
2402 | 294 | msgid "Enable the sync services for this computer." | ||
2403 | 295 | msgstr "" | ||
2404 | 296 | |||
2405 | 297 | #: ../ubuntuone/controlpanel/gui/__init__.py:158 | ||
2406 | 298 | msgid "Manage the shares offered to others" | ||
2407 | 299 | msgstr "" | ||
2408 | 300 | |||
2409 | 301 | #: ../ubuntuone/controlpanel/gui/__init__.py:159 | ||
2410 | 302 | msgid "Manage permissions for shares made to other users." | ||
2411 | 303 | msgstr "" | ||
2412 | 304 | |||
2413 | 305 | #: ../ubuntuone/controlpanel/gui/__init__.py:160 | ||
2414 | 306 | #, python-format | ||
2415 | 307 | msgid "<i>%(package_name)s</i> was successfully installed" | ||
2416 | 308 | msgstr "" | ||
2417 | 309 | |||
2418 | 310 | #: ../ubuntuone/controlpanel/gui/__init__.py:161 ../data/gtk/volumes.ui.h:1 | ||
2419 | 311 | msgid "Sync locally?" | ||
2420 | 312 | msgstr "" | ||
2421 | 313 | |||
2422 | 314 | #: ../ubuntuone/controlpanel/gui/__init__.py:162 | ||
2423 | 315 | msgid "Value could not be retrieved." | ||
2424 | 316 | msgstr "" | ||
2425 | 317 | |||
2426 | 318 | #: ../ubuntuone/controlpanel/gui/__init__.py:163 | ||
2427 | 319 | msgid "Unknown error" | ||
2428 | 320 | msgstr "" | ||
2429 | 321 | |||
2430 | 322 | #: ../data/gtk/dashboard.ui.h:1 | ||
2431 | 323 | msgid "<b>Personal details</b>" | ||
2432 | 324 | msgstr "" | ||
2433 | 325 | |||
2434 | 326 | #: ../data/gtk/dashboard.ui.h:2 | ||
2435 | 327 | msgid "<b>Your services</b>" | ||
2436 | 328 | msgstr "" | ||
2437 | 329 | |||
2438 | 330 | #: ../data/gtk/dashboard.ui.h:3 | ||
2439 | 331 | msgid "Buy storage and plans" | ||
2440 | 332 | msgstr "" | ||
2441 | 333 | |||
2442 | 334 | #: ../data/gtk/dashboard.ui.h:4 | ||
2443 | 335 | msgid "Edit account details" | ||
2444 | 336 | msgstr "" | ||
2445 | 337 | |||
2446 | 338 | #: ../data/gtk/device.ui.h:1 | ||
2447 | 339 | msgid "KiB/s" | ||
2448 | 340 | msgstr "" | ||
2449 | 341 | |||
2450 | 342 | #: ../data/gtk/device.ui.h:2 | ||
2451 | 343 | msgid "Limit file sync bandwidth usage" | ||
2452 | 344 | msgstr "" | ||
2453 | 345 | |||
2454 | 346 | #: ../data/gtk/device.ui.h:3 | ||
2455 | 347 | msgid "Max download speed:" | ||
2456 | 348 | msgstr "" | ||
2457 | 349 | |||
2458 | 350 | #: ../data/gtk/device.ui.h:4 | ||
2459 | 351 | msgid "Max upload speed:" | ||
2460 | 352 | msgstr "" | ||
2461 | 353 | |||
2462 | 354 | #: ../data/gtk/device.ui.h:5 | ||
2463 | 355 | msgid "Show activity notifications" | ||
2464 | 356 | msgstr "" | ||
2465 | 357 | |||
2466 | 358 | #: ../data/gtk/install.ui.h:1 | ||
2467 | 359 | msgid "_Install now" | ||
2468 | 360 | msgstr "" | ||
2469 | 361 | |||
2470 | 362 | #: ../data/gtk/management.ui.h:1 | ||
2471 | 363 | msgid "Account" | ||
2472 | 364 | msgstr "" | ||
2473 | 365 | |||
2474 | 366 | #: ../data/gtk/management.ui.h:2 | ||
2475 | 367 | msgid "Cloud Folders" | ||
2476 | 368 | msgstr "" | ||
2477 | 369 | |||
2478 | 370 | #: ../data/gtk/management.ui.h:3 | ||
2479 | 371 | msgid "Community Support" | ||
2480 | 372 | msgstr "" | ||
2481 | 373 | |||
2482 | 374 | #: ../data/gtk/management.ui.h:4 | ||
2483 | 375 | msgid "Devices" | ||
2484 | 376 | msgstr "" | ||
2485 | 377 | |||
2486 | 378 | #: ../data/gtk/management.ui.h:5 | ||
2487 | 379 | msgid "Official Support" | ||
2488 | 380 | msgstr "" | ||
2489 | 381 | |||
2490 | 382 | #: ../data/gtk/management.ui.h:6 | ||
2491 | 383 | msgid "Services" | ||
2492 | 384 | msgstr "" | ||
2493 | 385 | |||
2494 | 386 | #: ../data/gtk/management.ui.h:7 | ||
2495 | 387 | msgid "Shares" | ||
2496 | 388 | msgstr "" | ||
2497 | 389 | |||
2498 | 390 | #: ../data/gtk/management.ui.h:8 | ||
2499 | 391 | msgid "Talk to us on:" | ||
2500 | 392 | msgstr "" | ||
2501 | 393 | |||
2502 | 394 | #: ../data/gtk/management.ui.h:9 | ||
2503 | 395 | msgid "http://twitter.com/ubuntuone" | ||
2504 | 396 | msgstr "" | ||
2505 | 397 | |||
2506 | 398 | #: ../data/gtk/management.ui.h:10 | ||
2507 | 399 | msgid "http://www.facebook.com/ubuntuone" | ||
2508 | 400 | msgstr "" | ||
2509 | 401 | |||
2510 | 402 | #: ../data/gtk/overview.ui.h:1 | ||
2511 | 403 | msgid "" | ||
2512 | 404 | "<span font=\"24\" foreground=\"#4d4d4d\">The Power of Your Personal Cloud</" | ||
2513 | 405 | "span>" | ||
2514 | 406 | msgstr "" | ||
2515 | 407 | |||
2516 | 408 | #: ../data/gtk/overview.ui.h:2 | ||
2517 | 409 | msgid "<span font_size=\"xx-large\" foreground=\"#4d4d4d\">Join now</span>" | ||
2518 | 410 | msgstr "" | ||
2519 | 411 | |||
2520 | 412 | #: ../data/gtk/overview.ui.h:3 | ||
2521 | 413 | msgid "<span foreground=\"#909090\">2GB of free storage</span>" | ||
2522 | 414 | msgstr "" | ||
2523 | 415 | |||
2524 | 416 | #: ../data/gtk/overview.ui.h:4 | ||
2525 | 417 | msgid "<span foreground=\"#909090\">Learn More</span>" | ||
2526 | 418 | msgstr "" | ||
2527 | 419 | |||
2528 | 420 | #: ../data/gtk/overview.ui.h:5 | ||
2529 | 421 | msgid "" | ||
2530 | 422 | "Files Anywhere\n" | ||
2531 | 423 | "<span foreground=\"#909090\">Back up and access your files from Ubuntu, " | ||
2532 | 424 | "Windows, Web or Mobile</span>" | ||
2533 | 425 | msgstr "" | ||
2534 | 426 | |||
2535 | 427 | #: ../data/gtk/overview.ui.h:7 | ||
2536 | 428 | msgid "I already have an account!" | ||
2537 | 429 | msgstr "" | ||
2538 | 430 | |||
2539 | 431 | #: ../data/gtk/overview.ui.h:8 | ||
2540 | 432 | msgid "" | ||
2541 | 433 | "Keep Connected\n" | ||
2542 | 434 | "<span foreground=\"#909090\">Unify your contacts across Desktop, Mobile and " | ||
2543 | 435 | "Web</span>" | ||
2544 | 436 | msgstr "" | ||
2545 | 437 | |||
2546 | 438 | #: ../data/gtk/overview.ui.h:10 | ||
2547 | 439 | msgid "" | ||
2548 | 440 | "Rock Out\n" | ||
2549 | 441 | "<span foreground=\"#909090\">Your entire collection follows you around with " | ||
2550 | 442 | "music streaming to Android and iPhone</span>" | ||
2551 | 443 | msgstr "" | ||
2552 | 444 | |||
2553 | 445 | #: ../data/gtk/overview.ui.h:12 | ||
2554 | 446 | msgid "" | ||
2555 | 447 | "Stay Productive\n" | ||
2556 | 448 | "<span foreground=\"#909090\">Keep your Firefox bookmarks and Tomboy notes " | ||
2557 | 449 | "synced</span>" | ||
2558 | 450 | msgstr "" | ||
2559 | 451 | |||
2560 | 452 | #: ../data/gtk/services.ui.h:1 | ||
2561 | 453 | msgid "<span font_size=\"small\">Bookmarks sync works with Firefox</span>" | ||
2562 | 454 | msgstr "" | ||
2563 | 455 | |||
2564 | 456 | #: ../data/gtk/services.ui.h:2 | ||
2565 | 457 | msgid "" | ||
2566 | 458 | "<span font_size=\"small\">Enable and then choose which folders you want to " | ||
2567 | 459 | "access from the Web or any device you connected to Ubuntu One\n" | ||
2568 | 460 | "\n" | ||
2569 | 461 | "Simply drag and drop any file or folder to your Ubuntu One folder on this " | ||
2570 | 462 | "computer</span>" | ||
2571 | 463 | msgstr "" | ||
2572 | 464 | |||
2573 | 465 | #: ../data/gtk/services.ui.h:5 | ||
2574 | 466 | msgid "" | ||
2575 | 467 | "<span font_size=\"small\">Once enabled, visit the <a href=\"https://one." | ||
2576 | 468 | "ubuntu.com\">Ubuntu One website</a> to manage your contacts, including Gmail " | ||
2577 | 469 | "and Facebook import</span>" | ||
2578 | 470 | msgstr "" | ||
2579 | 471 | |||
2580 | 472 | #: ../data/gtk/services.ui.h:6 | ||
2581 | 473 | msgid "Enable Bookmarks Sync" | ||
2582 | 474 | msgstr "" | ||
2583 | 475 | |||
2584 | 476 | #: ../data/gtk/services.ui.h:7 | ||
2585 | 477 | msgid "Enable Contacts Sync" | ||
2586 | 478 | msgstr "" | ||
2587 | 479 | |||
2588 | 480 | #: ../data/gtk/services.ui.h:8 | ||
2589 | 481 | msgid "Enable File Sync" | ||
2590 | 482 | msgstr "" | ||
2591 | 483 | |||
2592 | 484 | #: ../data/gtk/services.ui.h:9 | ||
2593 | 485 | msgid "_Show me my Ubuntu One folder" | ||
2594 | 486 | msgstr "" | ||
2595 | 0 | 487 | ||
2596 | === modified file 'setup.py' | |||
2597 | --- setup.py 2011-07-22 21:26:48 +0000 | |||
2598 | +++ setup.py 2011-08-12 19:16:23 +0000 | |||
2599 | @@ -223,7 +223,7 @@ | |||
2600 | 223 | 223 | ||
2601 | 224 | DistUtilsExtra.auto.setup( | 224 | DistUtilsExtra.auto.setup( |
2602 | 225 | name='ubuntuone-control-panel', | 225 | name='ubuntuone-control-panel', |
2604 | 226 | version='1.1.1', | 226 | version='1.1.2', |
2605 | 227 | license='GPL v3', | 227 | license='GPL v3', |
2606 | 228 | author='Natalia Bidart', | 228 | author='Natalia Bidart', |
2607 | 229 | author_email='natalia.bidart@canonical.com', | 229 | author_email='natalia.bidart@canonical.com', |
2608 | 230 | 230 | ||
2609 | === modified file 'ubuntuone/controlpanel/backend.py' | |||
2610 | --- ubuntuone/controlpanel/backend.py 2011-07-22 21:26:48 +0000 | |||
2611 | +++ ubuntuone/controlpanel/backend.py 2011-08-12 19:16:23 +0000 | |||
2612 | @@ -656,7 +656,9 @@ | |||
2613 | 656 | folder_path = append_path_sep(folder_path) | 656 | folder_path = append_path_sep(folder_path) |
2614 | 657 | 657 | ||
2615 | 658 | # handle folder_path not within '~' or links | 658 | # handle folder_path not within '~' or links |
2617 | 659 | if not folder_path.startswith(user_home) or is_link(folder_path): | 659 | # XXX is_link expects bytes, see bug #824252 |
2618 | 660 | if not folder_path.startswith(user_home) or is_link( | ||
2619 | 661 | folder_path.encode('utf-8')): | ||
2620 | 660 | returnValue(False) | 662 | returnValue(False) |
2621 | 661 | 663 | ||
2622 | 662 | # handle folder_path nested with a existing cloud folder | 664 | # handle folder_path nested with a existing cloud folder |
2623 | 663 | 665 | ||
2624 | === modified file 'ubuntuone/controlpanel/gui/__init__.py' | |||
2625 | --- ubuntuone/controlpanel/gui/__init__.py 2011-07-22 21:26:48 +0000 | |||
2626 | +++ ubuntuone/controlpanel/gui/__init__.py 2011-08-12 19:16:23 +0000 | |||
2627 | @@ -69,7 +69,7 @@ | |||
2628 | 69 | MANAGE_FILES_LINK = UBUNTUONE_LINK + 'files/' | 69 | MANAGE_FILES_LINK = UBUNTUONE_LINK + 'files/' |
2629 | 70 | TWITTER_LINK = 'http://twitter.com/ubuntuone/' | 70 | TWITTER_LINK = 'http://twitter.com/ubuntuone/' |
2630 | 71 | 71 | ||
2632 | 72 | ALWAYS_SUBSCRIBED = _('Always in sync!') | 72 | ALWAYS_SUBSCRIBED = _('Always in sync') |
2633 | 73 | BOOKMARKS = _('Firefox extension') | 73 | BOOKMARKS = _('Firefox extension') |
2634 | 74 | CONNECT_BUTTON_LABEL = _('Connect to Ubuntu One') | 74 | CONNECT_BUTTON_LABEL = _('Connect to Ubuntu One') |
2635 | 75 | CONTACTS = _('Evolution plug-in') | 75 | CONTACTS = _('Evolution plug-in') |
2636 | @@ -98,7 +98,7 @@ | |||
2637 | 98 | 'Please choose a folder inside your "%(home_folder)s" ' | 98 | 'Please choose a folder inside your "%(home_folder)s" ' |
2638 | 99 | 'directory, and not overlapping with any existing ' | 99 | 'directory, and not overlapping with any existing ' |
2639 | 100 | 'cloud folder.') | 100 | 'cloud folder.') |
2641 | 101 | FOLDER_OWNED_BY = _('Personal folders') | 101 | FOLDER_OWNED_BY = _('My personal folders') |
2642 | 102 | FOLDER_SHARED_BY = _('Shared by %(other_user_display_name)s') | 102 | FOLDER_SHARED_BY = _('Shared by %(other_user_display_name)s') |
2643 | 103 | FOLDERS_CONFIRM_MERGE = _('The contents of your cloud folder will be merged ' | 103 | FOLDERS_CONFIRM_MERGE = _('The contents of your cloud folder will be merged ' |
2644 | 104 | 'with your local folder "%(folder_path)s" when ' | 104 | 'with your local folder "%(folder_path)s" when ' |
2645 | @@ -158,6 +158,7 @@ | |||
2646 | 158 | SHARES_BUTTON_TOOLTIP = _('Manage the shares offered to others') | 158 | SHARES_BUTTON_TOOLTIP = _('Manage the shares offered to others') |
2647 | 159 | SHARES_TITLE = _('Manage permissions for shares made to other users.') | 159 | SHARES_TITLE = _('Manage permissions for shares made to other users.') |
2648 | 160 | SUCCESS_INSTALL = _('<i>%(package_name)s</i> was successfully installed') | 160 | SUCCESS_INSTALL = _('<i>%(package_name)s</i> was successfully installed') |
2649 | 161 | SYNC_LOCALLY = _('Sync locally?') | ||
2650 | 161 | VALUE_ERROR = _('Value could not be retrieved.') | 162 | VALUE_ERROR = _('Value could not be retrieved.') |
2651 | 162 | UNKNOWN_ERROR = _('Unknown error') | 163 | UNKNOWN_ERROR = _('Unknown error') |
2652 | 163 | 164 | ||
2653 | @@ -187,7 +188,7 @@ | |||
2654 | 187 | credentials["consumer_secret"]) | 188 | credentials["consumer_secret"]) |
2655 | 188 | token = oauth.OAuthToken(credentials["token"], | 189 | token = oauth.OAuthToken(credentials["token"], |
2656 | 189 | credentials["token_secret"]) | 190 | credentials["token_secret"]) |
2658 | 190 | uri = 'https://one.ubuntu.com/api/1.0/from_oauth' | 191 | uri = 'https://one.ubuntu.com/api/1.0/from_oauth/' |
2659 | 191 | request = oauth.OAuthRequest.from_consumer_and_token( | 192 | request = oauth.OAuthRequest.from_consumer_and_token( |
2660 | 192 | http_url=uri, http_method='GET', | 193 | http_url=uri, http_method='GET', |
2661 | 193 | oauth_consumer=consumer, token=token, | 194 | oauth_consumer=consumer, token=token, |
2662 | 194 | 195 | ||
2663 | === modified file 'ubuntuone/controlpanel/gui/qt/controlpanel.py' | |||
2664 | --- ubuntuone/controlpanel/gui/qt/controlpanel.py 2011-07-22 21:26:48 +0000 | |||
2665 | +++ ubuntuone/controlpanel/gui/qt/controlpanel.py 2011-08-12 19:16:23 +0000 | |||
2666 | @@ -42,7 +42,7 @@ | |||
2667 | 42 | 42 | ||
2668 | 43 | logger = setup_logging('qt.controlpanel') | 43 | logger = setup_logging('qt.controlpanel') |
2669 | 44 | 44 | ||
2671 | 45 | NAME_STYLE = '<br><span style=" font-size:26pt;">%s!</span>' | 45 | NAME_STYLE = '<br><span style=" font-size:24pt;">%s!</span>' |
2672 | 46 | PERCENTAGE_STYLE = '<span style=" font-size:16pt;">%.0f%%</span>' | 46 | PERCENTAGE_STYLE = '<span style=" font-size:16pt;">%.0f%%</span>' |
2673 | 47 | 47 | ||
2674 | 48 | 48 | ||
2675 | 49 | 49 | ||
2676 | === modified file 'ubuntuone/controlpanel/gui/qt/folders.py' | |||
2677 | --- ubuntuone/controlpanel/gui/qt/folders.py 2011-07-22 21:26:48 +0000 | |||
2678 | +++ ubuntuone/controlpanel/gui/qt/folders.py 2011-08-12 19:16:23 +0000 | |||
2679 | @@ -40,6 +40,7 @@ | |||
2680 | 40 | MUSIC_REAL_PATH, | 40 | MUSIC_REAL_PATH, |
2681 | 41 | NAME_NOT_SET, | 41 | NAME_NOT_SET, |
2682 | 42 | SHARE_ICON_NAME, | 42 | SHARE_ICON_NAME, |
2683 | 43 | SYNC_LOCALLY, | ||
2684 | 43 | ) | 44 | ) |
2685 | 44 | from ubuntuone.controlpanel.gui.qt import uri_hook, icon_from_name | 45 | from ubuntuone.controlpanel.gui.qt import uri_hook, icon_from_name |
2686 | 45 | from ubuntuone.controlpanel.gui.qt.ubuntuonebin import UbuntuOneBin | 46 | from ubuntuone.controlpanel.gui.qt.ubuntuonebin import UbuntuOneBin |
2687 | @@ -48,8 +49,6 @@ | |||
2688 | 48 | 49 | ||
2689 | 49 | logger = setup_logging('qt.folders') | 50 | logger = setup_logging('qt.folders') |
2690 | 50 | 51 | ||
2691 | 51 | ROW_HEADER = u'<font size="5"><b>%s</b></font>' | ||
2692 | 52 | |||
2693 | 53 | FOLDER_NAME_COL = 0 | 52 | FOLDER_NAME_COL = 0 |
2694 | 54 | SUBSCRIPTION_COL = 1 | 53 | SUBSCRIPTION_COL = 1 |
2695 | 55 | EXPLORE_COL = 2 | 54 | EXPLORE_COL = 2 |
2696 | @@ -79,6 +78,8 @@ | |||
2697 | 79 | headers.setStretchLastSection(False) | 78 | headers.setStretchLastSection(False) |
2698 | 80 | 79 | ||
2699 | 81 | self.ui.share_publish_button.uri = MANAGE_FILES_LINK | 80 | self.ui.share_publish_button.uri = MANAGE_FILES_LINK |
2700 | 81 | icon = icon_from_name('external_icon_orange') | ||
2701 | 82 | self.ui.share_publish_button.setIcon(icon) | ||
2702 | 82 | 83 | ||
2703 | 83 | logger.debug('%s: started.', self.__class__.__name__) | 84 | logger.debug('%s: started.', self.__class__.__name__) |
2704 | 84 | 85 | ||
2705 | @@ -109,23 +110,22 @@ | |||
2706 | 109 | 110 | ||
2707 | 110 | if name: | 111 | if name: |
2708 | 111 | name = FOLDER_SHARED_BY % {'other_user_display_name': name} | 112 | name = FOLDER_SHARED_BY % {'other_user_display_name': name} |
2709 | 112 | # we already added user folders, let's add an empty row | ||
2710 | 113 | empty_row = QtGui.QTreeWidgetItem() | ||
2711 | 114 | empty_row.is_empty = True | ||
2712 | 115 | self.ui.folders.addTopLevelItem(empty_row) | ||
2713 | 116 | else: | 113 | else: |
2714 | 117 | name = FOLDER_OWNED_BY | 114 | name = FOLDER_OWNED_BY |
2715 | 118 | 115 | ||
2716 | 119 | item = QtGui.QTreeWidgetItem() | 116 | item = QtGui.QTreeWidgetItem() |
2717 | 117 | item.setText(FOLDER_NAME_COL, name) | ||
2718 | 118 | item.setText(SUBSCRIPTION_COL, SYNC_LOCALLY) | ||
2719 | 119 | item.setSizeHint(FOLDER_NAME_COL, QtCore.QSize(-1, 20)) | ||
2720 | 120 | brush = QtGui.QBrush(QtGui.QColor('#d6d3cf')) | ||
2721 | 121 | for col in (FOLDER_NAME_COL, SUBSCRIPTION_COL, EXPLORE_COL): | ||
2722 | 122 | item.setBackground(col, brush) | ||
2723 | 120 | item.is_empty = False | 123 | item.is_empty = False |
2724 | 121 | self.ui.folders.addTopLevelItem(item) | 124 | self.ui.folders.addTopLevelItem(item) |
2725 | 122 | 125 | ||
2726 | 123 | model_index = self.ui.folders.indexFromItem(item, FOLDER_NAME_COL) | ||
2727 | 124 | title = QtGui.QLabel(ROW_HEADER % (name,)) | ||
2728 | 125 | self.ui.folders.setIndexWidget(model_index, title) | ||
2729 | 126 | |||
2730 | 127 | for volume in volumes: | 126 | for volume in volumes: |
2731 | 128 | child = QtGui.QTreeWidgetItem() | 127 | child = QtGui.QTreeWidgetItem() |
2732 | 128 | child.setSizeHint(FOLDER_NAME_COL, QtCore.QSize(-1, 35)) | ||
2733 | 129 | child.volume_path = volume['path'] | 129 | child.volume_path = volume['path'] |
2734 | 130 | child.volume_id = volume['volume_id'] | 130 | child.volume_id = volume['volume_id'] |
2735 | 131 | 131 | ||
2736 | @@ -168,6 +168,7 @@ | |||
2737 | 168 | button.icon_obj = icon # hack! | 168 | button.icon_obj = icon # hack! |
2738 | 169 | button.setIcon(icon_from_name(FOLDER_ICON_NAME)) | 169 | button.setIcon(icon_from_name(FOLDER_ICON_NAME)) |
2739 | 170 | button.setIconSize(QtCore.QSize(12, 12)) | 170 | button.setIconSize(QtCore.QSize(12, 12)) |
2740 | 171 | button.setText(EXPLORE) | ||
2741 | 171 | button.setObjectName('explore_folder_button') | 172 | button.setObjectName('explore_folder_button') |
2742 | 172 | policy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, | 173 | policy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, |
2743 | 173 | QtGui.QSizePolicy.Fixed) | 174 | QtGui.QSizePolicy.Fixed) |
2744 | @@ -187,7 +188,7 @@ | |||
2745 | 187 | 188 | ||
2746 | 188 | def on_folders_itemActivated(self, item, column=None): | 189 | def on_folders_itemActivated(self, item, column=None): |
2747 | 189 | """User activated a given row, open the path in a file browser.""" | 190 | """User activated a given row, open the path in a file browser.""" |
2749 | 190 | volume_path = item.volume_path | 191 | volume_path = getattr(item, 'volume_path', None) |
2750 | 191 | if volume_path is None: | 192 | if volume_path is None: |
2751 | 192 | logger.warning('on_folders_itemActivated: volume_path for item %r ' | 193 | logger.warning('on_folders_itemActivated: volume_path for item %r ' |
2752 | 193 | 'and column %r is None.', item, column) | 194 | 'and column %r is None.', item, column) |
2753 | 194 | 195 | ||
2754 | === modified file 'ubuntuone/controlpanel/gui/qt/loadingoverlay.py' | |||
2755 | --- ubuntuone/controlpanel/gui/qt/loadingoverlay.py 2011-07-22 21:26:48 +0000 | |||
2756 | +++ ubuntuone/controlpanel/gui/qt/loadingoverlay.py 2011-08-12 19:16:23 +0000 | |||
2757 | @@ -106,7 +106,8 @@ | |||
2758 | 106 | palette.setColor(palette.Background, QtCore.Qt.transparent) | 106 | palette.setColor(palette.Background, QtCore.Qt.transparent) |
2759 | 107 | self.setPalette(palette) | 107 | self.setPalette(palette) |
2760 | 108 | 108 | ||
2762 | 109 | self.timer = self.startTimer(200) | 109 | if not self.timer: |
2763 | 110 | self.timer = self.startTimer(200) | ||
2764 | 110 | 111 | ||
2765 | 111 | # Invalid name "timerEvent" | 112 | # Invalid name "timerEvent" |
2766 | 112 | # pylint: disable=C0103 | 113 | # pylint: disable=C0103 |
2767 | 113 | 114 | ||
2768 | === modified file 'ubuntuone/controlpanel/gui/qt/tests/test_folders.py' | |||
2769 | --- ubuntuone/controlpanel/gui/qt/tests/test_folders.py 2011-07-22 21:26:48 +0000 | |||
2770 | +++ ubuntuone/controlpanel/gui/qt/tests/test_folders.py 2011-08-12 19:16:23 +0000 | |||
2771 | @@ -85,6 +85,12 @@ | |||
2772 | 85 | yield super(FoldersPanelVolumesInfoTestCase, self).setUp() | 85 | yield super(FoldersPanelVolumesInfoTestCase, self).setUp() |
2773 | 86 | yield self.ui.load() | 86 | yield self.ui.load() |
2774 | 87 | 87 | ||
2775 | 88 | def assert_folder_group_header_correct(self, item, name): | ||
2776 | 89 | """Check that the folder group header is correct.""" | ||
2777 | 90 | self.assertEqual(item.text(gui.FOLDER_NAME_COL), name) | ||
2778 | 91 | self.assertEqual(item.text(gui.SUBSCRIPTION_COL), gui.SYNC_LOCALLY) | ||
2779 | 92 | self.assertEqual(item.text(gui.EXPLORE_COL), '') | ||
2780 | 93 | |||
2781 | 88 | @defer.inlineCallbacks | 94 | @defer.inlineCallbacks |
2782 | 89 | def test_is_processing_while_asking_info(self): | 95 | def test_is_processing_while_asking_info(self): |
2783 | 90 | """The ui is processing while the contents are loaded.""" | 96 | """The ui is processing while the contents are loaded.""" |
2784 | @@ -113,7 +119,7 @@ | |||
2785 | 113 | folders = self.ui.ui.folders | 119 | folders = self.ui.ui.folders |
2786 | 114 | 120 | ||
2787 | 115 | root = folders.invisibleRootItem() | 121 | root = folders.invisibleRootItem() |
2789 | 116 | self.assertEqual(len(FAKE_VOLUMES_INFO) + 1, root.childCount()) | 122 | self.assertEqual(len(FAKE_VOLUMES_INFO), root.childCount()) |
2790 | 117 | 123 | ||
2791 | 118 | treeiter = gui.QtGui.QTreeWidgetItemIterator(folders) | 124 | treeiter = gui.QtGui.QTreeWidgetItemIterator(folders) |
2792 | 119 | for name, _, volumes in FAKE_VOLUMES_INFO: | 125 | for name, _, volumes in FAKE_VOLUMES_INFO: |
2793 | @@ -123,9 +129,7 @@ | |||
2794 | 123 | item = treeiter.value() | 129 | item = treeiter.value() |
2795 | 124 | self.assertFalse(item.is_empty) | 130 | self.assertFalse(item.is_empty) |
2796 | 125 | 131 | ||
2800 | 126 | model_index = folders.indexFromItem(item, gui.FOLDER_NAME_COL) | 132 | self.assert_folder_group_header_correct(item, name) |
2798 | 127 | label = folders.indexWidget(model_index).text() | ||
2799 | 128 | self.assertEqual(label, gui.ROW_HEADER % name) | ||
2801 | 129 | 133 | ||
2802 | 130 | # check children | 134 | # check children |
2803 | 131 | self.assertEqual(len(volumes), item.childCount()) | 135 | self.assertEqual(len(volumes), item.childCount()) |
2804 | @@ -175,18 +179,13 @@ | |||
2805 | 175 | treeiter += 1 | 179 | treeiter += 1 |
2806 | 176 | item = treeiter.value() | 180 | item = treeiter.value() |
2807 | 177 | 181 | ||
2808 | 178 | if item is not None: | ||
2809 | 179 | self.assertTrue(item.is_empty) | ||
2810 | 180 | # skip the empty row | ||
2811 | 181 | treeiter += 1 | ||
2812 | 182 | |||
2813 | 183 | def test_process_info_clears_the_list(self): | 182 | def test_process_info_clears_the_list(self): |
2814 | 184 | """The old volumes info is cleared before updated.""" | 183 | """The old volumes info is cleared before updated.""" |
2815 | 185 | self.ui.process_info(FAKE_VOLUMES_INFO) | 184 | self.ui.process_info(FAKE_VOLUMES_INFO) |
2816 | 186 | self.ui.process_info(FAKE_VOLUMES_INFO) | 185 | self.ui.process_info(FAKE_VOLUMES_INFO) |
2817 | 187 | 186 | ||
2818 | 188 | root = self.ui.ui.folders.invisibleRootItem() | 187 | root = self.ui.ui.folders.invisibleRootItem() |
2820 | 189 | self.assertEqual(len(FAKE_VOLUMES_INFO) + 1, root.childCount()) | 188 | self.assertEqual(len(FAKE_VOLUMES_INFO), root.childCount()) |
2821 | 190 | 189 | ||
2822 | 191 | def test_process_info_with_no_volumes(self): | 190 | def test_process_info_with_no_volumes(self): |
2823 | 192 | """When there are no volumes, a notification is shown.""" | 191 | """When there are no volumes, a notification is shown.""" |
2824 | @@ -198,7 +197,6 @@ | |||
2825 | 198 | def test_process_info_highlights_little_free_space(self): | 197 | def test_process_info_highlights_little_free_space(self): |
2826 | 199 | """The free space is red if is zero (or close to 0).""" | 198 | """The free space is red if is zero (or close to 0).""" |
2827 | 200 | self.ui.process_info(FAKE_VOLUMES_NO_FREE_SPACE_INFO) | 199 | self.ui.process_info(FAKE_VOLUMES_NO_FREE_SPACE_INFO) |
2828 | 201 | folders = self.ui.ui.folders | ||
2829 | 202 | 200 | ||
2830 | 203 | child_index = 0 | 201 | child_index = 0 |
2831 | 204 | root = self.ui.ui.folders.invisibleRootItem() | 202 | root = self.ui.ui.folders.invisibleRootItem() |
2832 | @@ -207,19 +205,11 @@ | |||
2833 | 207 | 205 | ||
2834 | 208 | item = root.child(child_index) | 206 | item = root.child(child_index) |
2835 | 209 | self.assertFalse(item.is_empty) | 207 | self.assertFalse(item.is_empty) |
2840 | 210 | 208 | self.assert_folder_group_header_correct(item, name) | |
2837 | 211 | model_index = folders.indexFromItem(item, gui.FOLDER_NAME_COL) | ||
2838 | 212 | label = folders.indexWidget(model_index).text() | ||
2839 | 213 | self.assertEqual(label, gui.ROW_HEADER % name) | ||
2841 | 214 | 209 | ||
2842 | 215 | child_index += 1 | 210 | child_index += 1 |
2843 | 216 | item = root.child(child_index) | 211 | item = root.child(child_index) |
2844 | 217 | 212 | ||
2845 | 218 | if item is not None: | ||
2846 | 219 | # skip the empty row | ||
2847 | 220 | self.assertTrue(item.is_empty) | ||
2848 | 221 | child_index += 1 | ||
2849 | 222 | |||
2850 | 223 | def test_process_info_handles_no_quota_info(self): | 213 | def test_process_info_handles_no_quota_info(self): |
2851 | 224 | """The lack of free space is handled.""" | 214 | """The lack of free space is handled.""" |
2852 | 225 | info = [ | 215 | info = [ |
2853 | @@ -231,7 +221,6 @@ | |||
2854 | 231 | u'type': self.ui.backend.SHARE_TYPE}]), | 221 | u'type': self.ui.backend.SHARE_TYPE}]), |
2855 | 232 | ] | 222 | ] |
2856 | 233 | self.ui.process_info(info) | 223 | self.ui.process_info(info) |
2857 | 234 | folders = self.ui.ui.folders | ||
2858 | 235 | 224 | ||
2859 | 236 | child_index = 0 | 225 | child_index = 0 |
2860 | 237 | root = self.ui.ui.folders.invisibleRootItem() | 226 | root = self.ui.ui.folders.invisibleRootItem() |
2861 | @@ -240,19 +229,11 @@ | |||
2862 | 240 | 229 | ||
2863 | 241 | item = root.child(child_index) | 230 | item = root.child(child_index) |
2864 | 242 | self.assertFalse(item.is_empty) | 231 | self.assertFalse(item.is_empty) |
2869 | 243 | 232 | self.assert_folder_group_header_correct(item, name) | |
2866 | 244 | model_index = folders.indexFromItem(item, gui.FOLDER_NAME_COL) | ||
2867 | 245 | label = folders.indexWidget(model_index).text() | ||
2868 | 246 | self.assertEqual(label, gui.ROW_HEADER % name) | ||
2870 | 247 | 233 | ||
2871 | 248 | child_index += 1 | 234 | child_index += 1 |
2872 | 249 | item = root.child(child_index) | 235 | item = root.child(child_index) |
2873 | 250 | 236 | ||
2874 | 251 | if item is not None: | ||
2875 | 252 | # skip the empty row | ||
2876 | 253 | self.assertTrue(item.is_empty) | ||
2877 | 254 | child_index += 1 | ||
2878 | 255 | |||
2879 | 256 | def test_clicking_on_row_opens_folder(self): | 237 | def test_clicking_on_row_opens_folder(self): |
2880 | 257 | """The folder activated is opened.""" | 238 | """The folder activated is opened.""" |
2881 | 258 | self.patch(gui.os.path, 'exists', lambda *a: True) | 239 | self.patch(gui.os.path, 'exists', lambda *a: True) |
2882 | 259 | 240 | ||
2883 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/account_ui.py' | |||
2884 | --- ubuntuone/controlpanel/gui/qt/ui/account_ui.py 2011-07-22 21:26:48 +0000 | |||
2885 | +++ ubuntuone/controlpanel/gui/qt/ui/account_ui.py 2011-08-12 19:16:23 +0000 | |||
2886 | @@ -2,7 +2,7 @@ | |||
2887 | 2 | 2 | ||
2888 | 3 | # Form implementation generated from reading ui file 'data/qt/account.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/account.ui' |
2889 | 4 | # | 4 | # |
2891 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
2892 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
2893 | 7 | # | 7 | # |
2894 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
2895 | @@ -18,60 +18,67 @@ | |||
2896 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
2897 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
2898 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
2900 | 21 | Form.resize(321, 205) | 21 | Form.resize(381, 167) |
2901 | 22 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 22 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
2902 | 23 | self.verticalLayout.setMargin(0) | 23 | self.verticalLayout.setMargin(0) |
2903 | 24 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 24 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
2908 | 25 | self.horizontalGroupBox = QtGui.QGroupBox(Form) | 25 | self.gridLayout_2 = QtGui.QGridLayout() |
2909 | 26 | self.horizontalGroupBox.setObjectName(_fromUtf8("horizontalGroupBox")) | 26 | self.gridLayout_2.setVerticalSpacing(30) |
2910 | 27 | self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalGroupBox) | 27 | self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) |
2911 | 28 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 28 | self.edit_profile_button = GoToWebButton(Form) |
2912 | 29 | self.edit_profile_button.setObjectName(_fromUtf8("edit_profile_button")) | ||
2913 | 30 | self.gridLayout_2.addWidget(self.edit_profile_button, 2, 2, 1, 1) | ||
2914 | 31 | self.services = QtGui.QGroupBox(Form) | ||
2915 | 32 | self.services.setObjectName(_fromUtf8("services")) | ||
2916 | 33 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.services) | ||
2917 | 34 | self.verticalLayout_3.setMargin(0) | ||
2918 | 35 | self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) | ||
2919 | 36 | self.services_description_label = QtGui.QLabel(self.services) | ||
2920 | 37 | self.services_description_label.setText(_fromUtf8("")) | ||
2921 | 38 | self.services_description_label.setObjectName(_fromUtf8("services_description_label")) | ||
2922 | 39 | self.verticalLayout_3.addWidget(self.services_description_label) | ||
2923 | 40 | self.gridLayout_2.addWidget(self.services, 2, 0, 1, 1) | ||
2924 | 41 | self.account_separator = QtGui.QFrame(Form) | ||
2925 | 42 | self.account_separator.setFrameShape(QtGui.QFrame.HLine) | ||
2926 | 43 | self.account_separator.setFrameShadow(QtGui.QFrame.Sunken) | ||
2927 | 44 | self.account_separator.setObjectName(_fromUtf8("account_separator")) | ||
2928 | 45 | self.gridLayout_2.addWidget(self.account_separator, 1, 0, 1, 4) | ||
2929 | 46 | self.profile_info = QtGui.QGroupBox(Form) | ||
2930 | 47 | self.profile_info.setObjectName(_fromUtf8("profile_info")) | ||
2931 | 48 | self.verticalLayout_4 = QtGui.QVBoxLayout(self.profile_info) | ||
2932 | 49 | self.verticalLayout_4.setMargin(0) | ||
2933 | 50 | self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) | ||
2934 | 29 | self.verticalLayout_2 = QtGui.QVBoxLayout() | 51 | self.verticalLayout_2 = QtGui.QVBoxLayout() |
2935 | 30 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) | 52 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) |
2937 | 31 | self.name_label = QtGui.QLabel(self.horizontalGroupBox) | 53 | self.name_label = QtGui.QLabel(self.profile_info) |
2938 | 32 | self.name_label.setText(_fromUtf8("")) | 54 | self.name_label.setText(_fromUtf8("")) |
2939 | 33 | self.name_label.setObjectName(_fromUtf8("name_label")) | 55 | self.name_label.setObjectName(_fromUtf8("name_label")) |
2940 | 34 | self.verticalLayout_2.addWidget(self.name_label) | 56 | self.verticalLayout_2.addWidget(self.name_label) |
2942 | 35 | self.email_label = QtGui.QLabel(self.horizontalGroupBox) | 57 | self.email_label = QtGui.QLabel(self.profile_info) |
2943 | 36 | self.email_label.setText(_fromUtf8("")) | 58 | self.email_label.setText(_fromUtf8("")) |
2944 | 37 | self.email_label.setObjectName(_fromUtf8("email_label")) | 59 | self.email_label.setObjectName(_fromUtf8("email_label")) |
2945 | 38 | self.verticalLayout_2.addWidget(self.email_label) | 60 | self.verticalLayout_2.addWidget(self.email_label) |
2947 | 39 | self.horizontalLayout.addLayout(self.verticalLayout_2) | 61 | self.verticalLayout_4.addLayout(self.verticalLayout_2) |
2948 | 62 | self.gridLayout_2.addWidget(self.profile_info, 0, 0, 1, 1) | ||
2949 | 63 | self.edit_services_button = GoToWebButton(Form) | ||
2950 | 64 | self.edit_services_button.setObjectName(_fromUtf8("edit_services_button")) | ||
2951 | 65 | self.gridLayout_2.addWidget(self.edit_services_button, 0, 2, 1, 1) | ||
2952 | 40 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 66 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
2957 | 41 | self.horizontalLayout.addItem(spacerItem) | 67 | self.gridLayout_2.addItem(spacerItem, 0, 3, 1, 1) |
2954 | 42 | self.edit_profile_button = GoToWebButton(self.horizontalGroupBox) | ||
2955 | 43 | self.edit_profile_button.setObjectName(_fromUtf8("edit_profile_button")) | ||
2956 | 44 | self.horizontalLayout.addWidget(self.edit_profile_button) | ||
2958 | 45 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 68 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
2979 | 46 | self.horizontalLayout.addItem(spacerItem1) | 69 | self.gridLayout_2.addItem(spacerItem1, 0, 1, 1, 1) |
2980 | 47 | self.verticalLayout.addWidget(self.horizontalGroupBox) | 70 | self.verticalLayout.addLayout(self.gridLayout_2) |
2981 | 48 | self.horizontalGroupBox_2 = QtGui.QGroupBox(Form) | 71 | spacerItem2 = QtGui.QSpacerItem(20, 10, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
2982 | 49 | self.horizontalGroupBox_2.setObjectName(_fromUtf8("horizontalGroupBox_2")) | 72 | self.verticalLayout.addItem(spacerItem2) |
2963 | 50 | self.horizontalLayout_2 = QtGui.QHBoxLayout(self.horizontalGroupBox_2) | ||
2964 | 51 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) | ||
2965 | 52 | self.services_description_label = QtGui.QLabel(self.horizontalGroupBox_2) | ||
2966 | 53 | self.services_description_label.setText(_fromUtf8("")) | ||
2967 | 54 | self.services_description_label.setObjectName(_fromUtf8("services_description_label")) | ||
2968 | 55 | self.horizontalLayout_2.addWidget(self.services_description_label) | ||
2969 | 56 | spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | ||
2970 | 57 | self.horizontalLayout_2.addItem(spacerItem2) | ||
2971 | 58 | self.edit_services_button = GoToWebButton(self.horizontalGroupBox_2) | ||
2972 | 59 | self.edit_services_button.setObjectName(_fromUtf8("edit_services_button")) | ||
2973 | 60 | self.horizontalLayout_2.addWidget(self.edit_services_button) | ||
2974 | 61 | spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | ||
2975 | 62 | self.horizontalLayout_2.addItem(spacerItem3) | ||
2976 | 63 | self.verticalLayout.addWidget(self.horizontalGroupBox_2) | ||
2977 | 64 | spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) | ||
2978 | 65 | self.verticalLayout.addItem(spacerItem4) | ||
2983 | 66 | 73 | ||
2984 | 67 | self.retranslateUi(Form) | 74 | self.retranslateUi(Form) |
2985 | 68 | QtCore.QMetaObject.connectSlotsByName(Form) | 75 | QtCore.QMetaObject.connectSlotsByName(Form) |
2986 | 69 | 76 | ||
2987 | 70 | def retranslateUi(self, Form): | 77 | def retranslateUi(self, Form): |
2988 | 71 | Form.setWindowTitle(_('Form')) | 78 | Form.setWindowTitle(_('Form')) |
2989 | 72 | self.horizontalGroupBox.setTitle(_('Personal details')) | ||
2990 | 73 | self.edit_profile_button.setText(_('Edit personal details online')) | 79 | self.edit_profile_button.setText(_('Edit personal details online')) |
2992 | 74 | self.horizontalGroupBox_2.setTitle(_('Your services')) | 80 | self.services.setTitle(_('Your services')) |
2993 | 81 | self.profile_info.setTitle(_('Personal details')) | ||
2994 | 75 | self.edit_services_button.setText(_('Edit your services online')) | 82 | self.edit_services_button.setText(_('Edit your services online')) |
2995 | 76 | 83 | ||
2996 | 77 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton | 84 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton |
2997 | 78 | 85 | ||
2998 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py' | |||
2999 | --- ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py 2011-07-22 21:26:48 +0000 | |||
3000 | +++ ubuntuone/controlpanel/gui/qt/ui/controlpanel_ui.py 2011-08-12 19:16:23 +0000 | |||
3001 | @@ -2,7 +2,7 @@ | |||
3002 | 2 | 2 | ||
3003 | 3 | # Form implementation generated from reading ui file 'data/qt/controlpanel.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/controlpanel.ui' |
3004 | 4 | # | 4 | # |
3006 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3007 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
3008 | 7 | # | 7 | # |
3009 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3010 | @@ -18,7 +18,7 @@ | |||
3011 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
3012 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
3013 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
3015 | 21 | Form.resize(536, 389) | 21 | Form.resize(387, 203) |
3016 | 22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) | 22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) |
3017 | 23 | sizePolicy.setHorizontalStretch(0) | 23 | sizePolicy.setHorizontalStretch(0) |
3018 | 24 | sizePolicy.setVerticalStretch(0) | 24 | sizePolicy.setVerticalStretch(0) |
3019 | @@ -26,65 +26,48 @@ | |||
3020 | 26 | Form.setSizePolicy(sizePolicy) | 26 | Form.setSizePolicy(sizePolicy) |
3021 | 27 | Form.setWindowTitle(_fromUtf8("Form")) | 27 | Form.setWindowTitle(_fromUtf8("Form")) |
3022 | 28 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 28 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
3024 | 29 | self.verticalLayout.setSpacing(4) | 29 | self.verticalLayout.setSpacing(3) |
3025 | 30 | self.verticalLayout.setMargin(0) | 30 | self.verticalLayout.setMargin(0) |
3026 | 31 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 31 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
3049 | 32 | self.frmHeader = QtGui.QFrame(Form) | 32 | self.frame_header = QtGui.QFrame(Form) |
3050 | 33 | self.frmHeader.setFrameShape(QtGui.QFrame.StyledPanel) | 33 | self.frame_header.setObjectName(_fromUtf8("frame_header")) |
3051 | 34 | self.frmHeader.setFrameShadow(QtGui.QFrame.Raised) | 34 | self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame_header) |
3052 | 35 | self.frmHeader.setObjectName(_fromUtf8("frmHeader")) | 35 | self.horizontalLayout_2.setSpacing(5) |
3053 | 36 | self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmHeader) | 36 | self.horizontalLayout_2.setMargin(0) |
3054 | 37 | self.horizontalLayout_4.setSpacing(0) | 37 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) |
3055 | 38 | self.horizontalLayout_4.setContentsMargins(15, 10, 10, 10) | 38 | self.frame_greeting = QtGui.QFrame(self.frame_header) |
3056 | 39 | self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) | 39 | self.frame_greeting.setObjectName(_fromUtf8("frame_greeting")) |
3057 | 40 | self.horizontalLayout = QtGui.QHBoxLayout() | 40 | self.verticalLayout_4 = QtGui.QVBoxLayout(self.frame_greeting) |
3058 | 41 | self.horizontalLayout.setSpacing(0) | 41 | self.verticalLayout_4.setMargin(0) |
3059 | 42 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 42 | self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) |
3060 | 43 | self.vLayoutGreeting = QtGui.QVBoxLayout() | 43 | self.greeting_label = QtGui.QLabel(self.frame_greeting) |
3039 | 44 | self.vLayoutGreeting.setSpacing(0) | ||
3040 | 45 | self.vLayoutGreeting.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) | ||
3041 | 46 | self.vLayoutGreeting.setObjectName(_fromUtf8("vLayoutGreeting")) | ||
3042 | 47 | self.greeting_label = QtGui.QLabel(self.frmHeader) | ||
3043 | 48 | font = QtGui.QFont() | ||
3044 | 49 | font.setPointSize(10) | ||
3045 | 50 | self.greeting_label.setFont(font) | ||
3046 | 51 | self.greeting_label.setLayoutDirection(QtCore.Qt.LeftToRight) | ||
3047 | 52 | self.greeting_label.setAutoFillBackground(False) | ||
3048 | 53 | self.greeting_label.setText(_fromUtf8("")) | ||
3061 | 54 | self.greeting_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) | 44 | self.greeting_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) |
3062 | 55 | self.greeting_label.setMargin(0) | ||
3063 | 56 | self.greeting_label.setIndent(-1) | ||
3064 | 57 | self.greeting_label.setObjectName(_fromUtf8("greeting_label")) | 45 | self.greeting_label.setObjectName(_fromUtf8("greeting_label")) |
3067 | 58 | self.vLayoutGreeting.addWidget(self.greeting_label) | 46 | self.verticalLayout_4.addWidget(self.greeting_label) |
3068 | 59 | self.horizontalLayout.addLayout(self.vLayoutGreeting) | 47 | self.horizontalLayout_2.addWidget(self.frame_greeting) |
3069 | 60 | spacerItem = QtGui.QSpacerItem(15, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) | 48 | spacerItem = QtGui.QSpacerItem(15, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) |
3072 | 61 | self.horizontalLayout.addItem(spacerItem) | 49 | self.horizontalLayout_2.addItem(spacerItem) |
3073 | 62 | self.frameStorage = QtGui.QFrame(self.frmHeader) | 50 | self.frame_storage = QtGui.QFrame(self.frame_header) |
3074 | 63 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) | 51 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) |
3075 | 64 | sizePolicy.setHorizontalStretch(0) | 52 | sizePolicy.setHorizontalStretch(0) |
3076 | 65 | sizePolicy.setVerticalStretch(0) | 53 | sizePolicy.setVerticalStretch(0) |
3088 | 66 | sizePolicy.setHeightForWidth(self.frameStorage.sizePolicy().hasHeightForWidth()) | 54 | sizePolicy.setHeightForWidth(self.frame_storage.sizePolicy().hasHeightForWidth()) |
3089 | 67 | self.frameStorage.setSizePolicy(sizePolicy) | 55 | self.frame_storage.setSizePolicy(sizePolicy) |
3090 | 68 | self.frameStorage.setMaximumSize(QtCore.QSize(166, 16777215)) | 56 | self.frame_storage.setMinimumSize(QtCore.QSize(165, 0)) |
3091 | 69 | self.frameStorage.setFrameShape(QtGui.QFrame.StyledPanel) | 57 | self.frame_storage.setMaximumSize(QtCore.QSize(165, 16777215)) |
3092 | 70 | self.frameStorage.setFrameShadow(QtGui.QFrame.Raised) | 58 | self.frame_storage.setObjectName(_fromUtf8("frame_storage")) |
3093 | 71 | self.frameStorage.setObjectName(_fromUtf8("frameStorage")) | 59 | self.vLayoutStorage = QtGui.QVBoxLayout(self.frame_storage) |
3094 | 72 | self.horizontalLayout_7 = QtGui.QHBoxLayout(self.frameStorage) | 60 | self.vLayoutStorage.setSpacing(6) |
3084 | 73 | self.horizontalLayout_7.setSpacing(0) | ||
3085 | 74 | self.horizontalLayout_7.setContentsMargins(10, 0, 10, 0) | ||
3086 | 75 | self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) | ||
3087 | 76 | self.vLayoutStorage = QtGui.QVBoxLayout() | ||
3095 | 77 | self.vLayoutStorage.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) | 61 | self.vLayoutStorage.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
3096 | 62 | self.vLayoutStorage.setMargin(0) | ||
3097 | 78 | self.vLayoutStorage.setObjectName(_fromUtf8("vLayoutStorage")) | 63 | self.vLayoutStorage.setObjectName(_fromUtf8("vLayoutStorage")) |
3103 | 79 | self.frmQuota = QtGui.QFrame(self.frameStorage) | 64 | self.frame_quota = QtGui.QFrame(self.frame_storage) |
3104 | 80 | self.frmQuota.setFrameShape(QtGui.QFrame.StyledPanel) | 65 | self.frame_quota.setObjectName(_fromUtf8("frame_quota")) |
3105 | 81 | self.frmQuota.setFrameShadow(QtGui.QFrame.Raised) | 66 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.frame_quota) |
3101 | 82 | self.frmQuota.setObjectName(_fromUtf8("frmQuota")) | ||
3102 | 83 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.frmQuota) | ||
3106 | 84 | self.verticalLayout_3.setSpacing(2) | 67 | self.verticalLayout_3.setSpacing(2) |
3108 | 85 | self.verticalLayout_3.setContentsMargins(0, 0, 0, 10) | 68 | self.verticalLayout_3.setMargin(0) |
3109 | 86 | self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) | 69 | self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) |
3111 | 87 | self.percentage_usage_label = QtGui.QLabel(self.frmQuota) | 70 | self.percentage_usage_label = QtGui.QLabel(self.frame_quota) |
3112 | 88 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) | 71 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) |
3113 | 89 | sizePolicy.setHorizontalStretch(0) | 72 | sizePolicy.setHorizontalStretch(0) |
3114 | 90 | sizePolicy.setVerticalStretch(0) | 73 | sizePolicy.setVerticalStretch(0) |
3115 | @@ -93,39 +76,42 @@ | |||
3116 | 93 | self.percentage_usage_label.setText(_fromUtf8("")) | 76 | self.percentage_usage_label.setText(_fromUtf8("")) |
3117 | 94 | self.percentage_usage_label.setObjectName(_fromUtf8("percentage_usage_label")) | 77 | self.percentage_usage_label.setObjectName(_fromUtf8("percentage_usage_label")) |
3118 | 95 | self.verticalLayout_3.addWidget(self.percentage_usage_label) | 78 | self.verticalLayout_3.addWidget(self.percentage_usage_label) |
3120 | 96 | self.quota_usage_label = QtGui.QLabel(self.frmQuota) | 79 | self.quota_usage_label = QtGui.QLabel(self.frame_quota) |
3121 | 97 | font = QtGui.QFont() | 80 | font = QtGui.QFont() |
3122 | 98 | font.setPointSize(8) | 81 | font.setPointSize(8) |
3123 | 99 | self.quota_usage_label.setFont(font) | 82 | self.quota_usage_label.setFont(font) |
3124 | 100 | self.quota_usage_label.setText(_fromUtf8("")) | 83 | self.quota_usage_label.setText(_fromUtf8("")) |
3125 | 101 | self.quota_usage_label.setObjectName(_fromUtf8("quota_usage_label")) | 84 | self.quota_usage_label.setObjectName(_fromUtf8("quota_usage_label")) |
3126 | 102 | self.verticalLayout_3.addWidget(self.quota_usage_label) | 85 | self.verticalLayout_3.addWidget(self.quota_usage_label) |
3129 | 103 | self.vLayoutStorage.addWidget(self.frmQuota) | 86 | self.vLayoutStorage.addWidget(self.frame_quota) |
3130 | 104 | self.get_more_space_button = GoToWebButton(self.frameStorage) | 87 | self.get_more_space_button = GoToWebButton(self.frame_storage) |
3131 | 105 | self.get_more_space_button.setObjectName(_fromUtf8("get_more_space_button")) | 88 | self.get_more_space_button.setObjectName(_fromUtf8("get_more_space_button")) |
3132 | 106 | self.vLayoutStorage.addWidget(self.get_more_space_button) | 89 | self.vLayoutStorage.addWidget(self.get_more_space_button) |
3136 | 107 | self.horizontalLayout_7.addLayout(self.vLayoutStorage) | 90 | self.horizontalLayout_2.addWidget(self.frame_storage) |
3137 | 108 | self.horizontalLayout.addWidget(self.frameStorage) | 91 | self.frame_status = QtGui.QFrame(self.frame_header) |
3135 | 109 | self.frameStatus = QtGui.QFrame(self.frmHeader) | ||
3138 | 110 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) | 92 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) |
3139 | 111 | sizePolicy.setHorizontalStretch(0) | 93 | sizePolicy.setHorizontalStretch(0) |
3140 | 112 | sizePolicy.setVerticalStretch(0) | 94 | sizePolicy.setVerticalStretch(0) |
3150 | 113 | sizePolicy.setHeightForWidth(self.frameStatus.sizePolicy().hasHeightForWidth()) | 95 | sizePolicy.setHeightForWidth(self.frame_status.sizePolicy().hasHeightForWidth()) |
3151 | 114 | self.frameStatus.setSizePolicy(sizePolicy) | 96 | self.frame_status.setSizePolicy(sizePolicy) |
3152 | 115 | self.frameStatus.setMaximumSize(QtCore.QSize(166, 16777215)) | 97 | self.frame_status.setMinimumSize(QtCore.QSize(165, 0)) |
3153 | 116 | self.frameStatus.setFrameShape(QtGui.QFrame.StyledPanel) | 98 | self.frame_status.setMaximumSize(QtCore.QSize(165, 16777215)) |
3154 | 117 | self.frameStatus.setFrameShadow(QtGui.QFrame.Raised) | 99 | self.frame_status.setObjectName(_fromUtf8("frame_status")) |
3155 | 118 | self.frameStatus.setObjectName(_fromUtf8("frameStatus")) | 100 | self.horizontalLayout_8 = QtGui.QHBoxLayout(self.frame_status) |
3156 | 119 | self.horizontalLayout_8 = QtGui.QHBoxLayout(self.frameStatus) | 101 | self.horizontalLayout_8.setMargin(0) |
3148 | 120 | self.horizontalLayout_8.setSpacing(0) | ||
3149 | 121 | self.horizontalLayout_8.setContentsMargins(10, 0, 0, 0) | ||
3157 | 122 | self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) | 102 | self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) |
3159 | 123 | self.file_sync_status = FileSyncStatus(self.frameStatus) | 103 | self.file_sync_status = FileSyncStatus(self.frame_status) |
3160 | 104 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) | ||
3161 | 105 | sizePolicy.setHorizontalStretch(0) | ||
3162 | 106 | sizePolicy.setVerticalStretch(0) | ||
3163 | 107 | sizePolicy.setHeightForWidth(self.file_sync_status.sizePolicy().hasHeightForWidth()) | ||
3164 | 108 | self.file_sync_status.setSizePolicy(sizePolicy) | ||
3165 | 109 | self.file_sync_status.setMinimumSize(QtCore.QSize(0, 0)) | ||
3166 | 110 | self.file_sync_status.setMaximumSize(QtCore.QSize(165, 16777215)) | ||
3167 | 124 | self.file_sync_status.setObjectName(_fromUtf8("file_sync_status")) | 111 | self.file_sync_status.setObjectName(_fromUtf8("file_sync_status")) |
3168 | 125 | self.horizontalLayout_8.addWidget(self.file_sync_status) | 112 | self.horizontalLayout_8.addWidget(self.file_sync_status) |
3172 | 126 | self.horizontalLayout.addWidget(self.frameStatus) | 113 | self.horizontalLayout_2.addWidget(self.frame_status) |
3173 | 127 | self.horizontalLayout_4.addLayout(self.horizontalLayout) | 114 | self.verticalLayout.addWidget(self.frame_header) |
3171 | 128 | self.verticalLayout.addWidget(self.frmHeader) | ||
3174 | 129 | self.tab_widget = QtGui.QTabWidget(Form) | 115 | self.tab_widget = QtGui.QTabWidget(Form) |
3175 | 130 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) | 116 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) |
3176 | 131 | sizePolicy.setHorizontalStretch(0) | 117 | sizePolicy.setHorizontalStretch(0) |
3177 | @@ -146,31 +132,24 @@ | |||
3178 | 146 | self.account_tab.setObjectName(_fromUtf8("account_tab")) | 132 | self.account_tab.setObjectName(_fromUtf8("account_tab")) |
3179 | 147 | self.tab_widget.addTab(self.account_tab, _fromUtf8("")) | 133 | self.tab_widget.addTab(self.account_tab, _fromUtf8("")) |
3180 | 148 | self.verticalLayout.addWidget(self.tab_widget) | 134 | self.verticalLayout.addWidget(self.tab_widget) |
3195 | 149 | self.frmFooter = QtGui.QFrame(Form) | 135 | self.frame_footer = QtGui.QFrame(Form) |
3196 | 150 | self.frmFooter.setMaximumSize(QtCore.QSize(16777215, 30)) | 136 | self.frame_footer.setObjectName(_fromUtf8("frame_footer")) |
3197 | 151 | self.frmFooter.setFrameShape(QtGui.QFrame.StyledPanel) | 137 | self.horizontalLayout = QtGui.QHBoxLayout(self.frame_footer) |
3198 | 152 | self.frmFooter.setFrameShadow(QtGui.QFrame.Raised) | 138 | self.horizontalLayout.setSpacing(5) |
3199 | 153 | self.frmFooter.setObjectName(_fromUtf8("frmFooter")) | 139 | self.horizontalLayout.setContentsMargins(3, 0, 3, 3) |
3200 | 154 | self.verticalLayout_2 = QtGui.QVBoxLayout(self.frmFooter) | 140 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
3201 | 155 | self.verticalLayout_2.setSpacing(0) | 141 | self.help_button = GoToWebButton(self.frame_footer) |
3188 | 156 | self.verticalLayout_2.setMargin(0) | ||
3189 | 157 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) | ||
3190 | 158 | self.hLayoutFooter = QtGui.QHBoxLayout() | ||
3191 | 159 | self.hLayoutFooter.setSpacing(5) | ||
3192 | 160 | self.hLayoutFooter.setContentsMargins(3, -1, 3, -1) | ||
3193 | 161 | self.hLayoutFooter.setObjectName(_fromUtf8("hLayoutFooter")) | ||
3194 | 162 | self.help_button = GoToWebButton(self.frmFooter) | ||
3202 | 163 | self.help_button.setObjectName(_fromUtf8("help_button")) | 142 | self.help_button.setObjectName(_fromUtf8("help_button")) |
3207 | 164 | self.hLayoutFooter.addWidget(self.help_button) | 143 | self.horizontalLayout.addWidget(self.help_button) |
3208 | 165 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 144 | spacerItem1 = QtGui.QSpacerItem(133, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
3209 | 166 | self.hLayoutFooter.addItem(spacerItem1) | 145 | self.horizontalLayout.addItem(spacerItem1) |
3210 | 167 | self.follow_us_label = QtGui.QLabel(self.frmFooter) | 146 | self.follow_us_label = QtGui.QLabel(self.frame_footer) |
3211 | 168 | font = QtGui.QFont() | 147 | font = QtGui.QFont() |
3212 | 169 | font.setPointSize(11) | 148 | font.setPointSize(11) |
3213 | 170 | self.follow_us_label.setFont(font) | 149 | self.follow_us_label.setFont(font) |
3214 | 171 | self.follow_us_label.setObjectName(_fromUtf8("follow_us_label")) | 150 | self.follow_us_label.setObjectName(_fromUtf8("follow_us_label")) |
3217 | 172 | self.hLayoutFooter.addWidget(self.follow_us_label) | 151 | self.horizontalLayout.addWidget(self.follow_us_label) |
3218 | 173 | self.twitter_button = QtGui.QToolButton(self.frmFooter) | 152 | self.twitter_button = QtGui.QToolButton(self.frame_footer) |
3219 | 174 | self.twitter_button.setCursor(QtCore.Qt.PointingHandCursor) | 153 | self.twitter_button.setCursor(QtCore.Qt.PointingHandCursor) |
3220 | 175 | self.twitter_button.setStyleSheet(_fromUtf8("border: 0;")) | 154 | self.twitter_button.setStyleSheet(_fromUtf8("border: 0;")) |
3221 | 176 | self.twitter_button.setText(_fromUtf8("")) | 155 | self.twitter_button.setText(_fromUtf8("")) |
3222 | @@ -179,8 +158,8 @@ | |||
3223 | 179 | self.twitter_button.setIcon(icon) | 158 | self.twitter_button.setIcon(icon) |
3224 | 180 | self.twitter_button.setIconSize(QtCore.QSize(22, 22)) | 159 | self.twitter_button.setIconSize(QtCore.QSize(22, 22)) |
3225 | 181 | self.twitter_button.setObjectName(_fromUtf8("twitter_button")) | 160 | self.twitter_button.setObjectName(_fromUtf8("twitter_button")) |
3228 | 182 | self.hLayoutFooter.addWidget(self.twitter_button) | 161 | self.horizontalLayout.addWidget(self.twitter_button) |
3229 | 183 | self.facebook_button = QtGui.QToolButton(self.frmFooter) | 162 | self.facebook_button = QtGui.QToolButton(self.frame_footer) |
3230 | 184 | self.facebook_button.setCursor(QtCore.Qt.PointingHandCursor) | 163 | self.facebook_button.setCursor(QtCore.Qt.PointingHandCursor) |
3231 | 185 | self.facebook_button.setStyleSheet(_fromUtf8("border: 0;")) | 164 | self.facebook_button.setStyleSheet(_fromUtf8("border: 0;")) |
3232 | 186 | self.facebook_button.setText(_fromUtf8("")) | 165 | self.facebook_button.setText(_fromUtf8("")) |
3233 | @@ -189,9 +168,8 @@ | |||
3234 | 189 | self.facebook_button.setIcon(icon1) | 168 | self.facebook_button.setIcon(icon1) |
3235 | 190 | self.facebook_button.setIconSize(QtCore.QSize(22, 22)) | 169 | self.facebook_button.setIconSize(QtCore.QSize(22, 22)) |
3236 | 191 | self.facebook_button.setObjectName(_fromUtf8("facebook_button")) | 170 | self.facebook_button.setObjectName(_fromUtf8("facebook_button")) |
3240 | 192 | self.hLayoutFooter.addWidget(self.facebook_button) | 171 | self.horizontalLayout.addWidget(self.facebook_button) |
3241 | 193 | self.verticalLayout_2.addLayout(self.hLayoutFooter) | 172 | self.verticalLayout.addWidget(self.frame_footer) |
3239 | 194 | self.verticalLayout.addWidget(self.frmFooter) | ||
3242 | 195 | 173 | ||
3243 | 196 | self.retranslateUi(Form) | 174 | self.retranslateUi(Form) |
3244 | 197 | self.tab_widget.setCurrentIndex(0) | 175 | self.tab_widget.setCurrentIndex(0) |
3245 | @@ -201,7 +179,7 @@ | |||
3246 | 201 | Form.setTabOrder(self.twitter_button, self.facebook_button) | 179 | Form.setTabOrder(self.twitter_button, self.facebook_button) |
3247 | 202 | 180 | ||
3248 | 203 | def retranslateUi(self, Form): | 181 | def retranslateUi(self, Form): |
3250 | 204 | self.get_more_space_button.setText(_('Get more storage!')) | 182 | self.get_more_space_button.setText(_('Get more storage')) |
3251 | 205 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.folders_tab), _('Folders')) | 183 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.folders_tab), _('Folders')) |
3252 | 206 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.devices_tab), _('Devices')) | 184 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.devices_tab), _('Devices')) |
3253 | 207 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.preferences_tab), _('Preferences')) | 185 | self.tab_widget.setTabText(self.tab_widget.indexOf(self.preferences_tab), _('Preferences')) |
3254 | 208 | 186 | ||
3255 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/device_ui.py' | |||
3256 | --- ubuntuone/controlpanel/gui/qt/ui/device_ui.py 2011-07-22 21:26:48 +0000 | |||
3257 | +++ ubuntuone/controlpanel/gui/qt/ui/device_ui.py 2011-08-12 19:16:23 +0000 | |||
3258 | @@ -2,7 +2,7 @@ | |||
3259 | 2 | 2 | ||
3260 | 3 | # Form implementation generated from reading ui file 'data/qt/device.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/device.ui' |
3261 | 4 | # | 4 | # |
3263 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3264 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
3265 | 7 | # | 7 | # |
3266 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3267 | @@ -18,7 +18,7 @@ | |||
3268 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
3269 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
3270 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
3272 | 21 | Form.resize(400, 63) | 21 | Form.resize(233, 36) |
3273 | 22 | Form.setWindowTitle(_fromUtf8("Form")) | 22 | Form.setWindowTitle(_fromUtf8("Form")) |
3274 | 23 | self.horizontalLayout = QtGui.QHBoxLayout(Form) | 23 | self.horizontalLayout = QtGui.QHBoxLayout(Form) |
3275 | 24 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 24 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
3276 | @@ -40,6 +40,6 @@ | |||
3277 | 40 | 40 | ||
3278 | 41 | def retranslateUi(self, Form): | 41 | def retranslateUi(self, Form): |
3279 | 42 | self.device_name_label.setText(_('Local device')) | 42 | self.device_name_label.setText(_('Local device')) |
3281 | 43 | self.remove_device_button.setText(_('Delete device')) | 43 | self.remove_device_button.setText(_('Remove')) |
3282 | 44 | 44 | ||
3283 | 45 | import images_rc | 45 | import images_rc |
3284 | 46 | 46 | ||
3285 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/devices_ui.py' | |||
3286 | --- ubuntuone/controlpanel/gui/qt/ui/devices_ui.py 2011-07-22 21:26:48 +0000 | |||
3287 | +++ ubuntuone/controlpanel/gui/qt/ui/devices_ui.py 2011-08-12 19:16:23 +0000 | |||
3288 | @@ -2,7 +2,7 @@ | |||
3289 | 2 | 2 | ||
3290 | 3 | # Form implementation generated from reading ui file 'data/qt/devices.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/devices.ui' |
3291 | 4 | # | 4 | # |
3293 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3294 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
3295 | 7 | # | 7 | # |
3296 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3297 | @@ -18,56 +18,53 @@ | |||
3298 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
3299 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
3300 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
3302 | 21 | Form.resize(409, 310) | 21 | Form.resize(393, 281) |
3303 | 22 | Form.setWindowTitle(_fromUtf8("Form")) | 22 | Form.setWindowTitle(_fromUtf8("Form")) |
3306 | 23 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 23 | self.verticalLayout_3 = QtGui.QVBoxLayout(Form) |
3307 | 24 | self.verticalLayout.setSpacing(0) | 24 | self.verticalLayout_3.setSpacing(0) |
3308 | 25 | self.verticalLayout_3.setMargin(0) | ||
3309 | 26 | self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) | ||
3310 | 27 | self.local_device = QtGui.QGroupBox(Form) | ||
3311 | 28 | self.local_device.setObjectName(_fromUtf8("local_device")) | ||
3312 | 29 | self.verticalLayout = QtGui.QVBoxLayout(self.local_device) | ||
3313 | 25 | self.verticalLayout.setMargin(0) | 30 | self.verticalLayout.setMargin(0) |
3314 | 26 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 31 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
3315 | 27 | self.frame = QtGui.QFrame(Form) | ||
3316 | 28 | self.frame.setFrameShape(QtGui.QFrame.StyledPanel) | ||
3317 | 29 | self.frame.setFrameShadow(QtGui.QFrame.Raised) | ||
3318 | 30 | self.frame.setObjectName(_fromUtf8("frame")) | ||
3319 | 31 | self.verticalLayout_2 = QtGui.QVBoxLayout(self.frame) | ||
3320 | 32 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) | ||
3321 | 33 | self.horizontalLayout_2 = QtGui.QHBoxLayout() | ||
3322 | 34 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) | ||
3323 | 35 | self.local_device_box = QtGui.QVBoxLayout() | 32 | self.local_device_box = QtGui.QVBoxLayout() |
3324 | 36 | self.local_device_box.setObjectName(_fromUtf8("local_device_box")) | 33 | self.local_device_box.setObjectName(_fromUtf8("local_device_box")) |
3336 | 37 | self.horizontalLayout_2.addLayout(self.local_device_box) | 34 | self.verticalLayout.addLayout(self.local_device_box) |
3337 | 38 | self.verticalLayout_2.addLayout(self.horizontalLayout_2) | 35 | self.verticalLayout_3.addWidget(self.local_device) |
3338 | 39 | self.horizontalLayout = QtGui.QHBoxLayout() | 36 | self.oher_devices = QtGui.QGroupBox(Form) |
3339 | 40 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 37 | self.oher_devices.setObjectName(_fromUtf8("oher_devices")) |
3340 | 41 | self.other_devices_label = QtGui.QLabel(self.frame) | 38 | self.verticalLayout_2 = QtGui.QVBoxLayout(self.oher_devices) |
3341 | 42 | self.other_devices_label.setObjectName(_fromUtf8("other_devices_label")) | 39 | self.verticalLayout_2.setMargin(0) |
3342 | 43 | self.horizontalLayout.addWidget(self.other_devices_label) | 40 | self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) |
3343 | 44 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 41 | self.list_devices = QtGui.QListWidget(self.oher_devices) |
3344 | 45 | self.horizontalLayout.addItem(spacerItem) | 42 | self.list_devices.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) |
3334 | 46 | self.verticalLayout_2.addLayout(self.horizontalLayout) | ||
3335 | 47 | self.list_devices = QtGui.QListWidget(self.frame) | ||
3345 | 48 | self.list_devices.setAlternatingRowColors(True) | 43 | self.list_devices.setAlternatingRowColors(True) |
3346 | 49 | self.list_devices.setIconSize(QtCore.QSize(32, 32)) | 44 | self.list_devices.setIconSize(QtCore.QSize(32, 32)) |
3347 | 50 | self.list_devices.setSpacing(0) | 45 | self.list_devices.setSpacing(0) |
3348 | 51 | self.list_devices.setSelectionRectVisible(False) | 46 | self.list_devices.setSelectionRectVisible(False) |
3349 | 52 | self.list_devices.setObjectName(_fromUtf8("list_devices")) | 47 | self.list_devices.setObjectName(_fromUtf8("list_devices")) |
3350 | 53 | self.verticalLayout_2.addWidget(self.list_devices) | 48 | self.verticalLayout_2.addWidget(self.list_devices) |
3351 | 49 | self.verticalLayout_3.addWidget(self.oher_devices) | ||
3352 | 54 | self.horizontalLayout_3 = QtGui.QHBoxLayout() | 50 | self.horizontalLayout_3 = QtGui.QHBoxLayout() |
3353 | 51 | self.horizontalLayout_3.setMargin(3) | ||
3354 | 55 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) | 52 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) |
3355 | 53 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | ||
3356 | 54 | self.horizontalLayout_3.addItem(spacerItem) | ||
3357 | 55 | self.manage_devices_button = GoToWebButton(Form) | ||
3358 | 56 | self.manage_devices_button.setObjectName(_fromUtf8("manage_devices_button")) | ||
3359 | 57 | self.horizontalLayout_3.addWidget(self.manage_devices_button) | ||
3360 | 56 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 58 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
3361 | 57 | self.horizontalLayout_3.addItem(spacerItem1) | 59 | self.horizontalLayout_3.addItem(spacerItem1) |
3369 | 58 | self.manage_devices_button = GoToWebButton(self.frame) | 60 | self.verticalLayout_3.addLayout(self.horizontalLayout_3) |
3363 | 59 | self.manage_devices_button.setObjectName(_fromUtf8("manage_devices_button")) | ||
3364 | 60 | self.horizontalLayout_3.addWidget(self.manage_devices_button) | ||
3365 | 61 | spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | ||
3366 | 62 | self.horizontalLayout_3.addItem(spacerItem2) | ||
3367 | 63 | self.verticalLayout_2.addLayout(self.horizontalLayout_3) | ||
3368 | 64 | self.verticalLayout.addWidget(self.frame) | ||
3370 | 65 | 61 | ||
3371 | 66 | self.retranslateUi(Form) | 62 | self.retranslateUi(Form) |
3372 | 67 | QtCore.QMetaObject.connectSlotsByName(Form) | 63 | QtCore.QMetaObject.connectSlotsByName(Form) |
3373 | 68 | 64 | ||
3374 | 69 | def retranslateUi(self, Form): | 65 | def retranslateUi(self, Form): |
3376 | 70 | self.other_devices_label.setText(_('Other devices')) | 66 | self.local_device.setTitle(_('This device')) |
3377 | 67 | self.oher_devices.setTitle(_('Other devices')) | ||
3378 | 71 | self.manage_devices_button.setText(_('Go to the web page to manage your other devices')) | 68 | self.manage_devices_button.setText(_('Go to the web page to manage your other devices')) |
3379 | 72 | 69 | ||
3380 | 73 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton | 70 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton |
3381 | 74 | 71 | ||
3382 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/filesyncstatus_ui.py' | |||
3383 | --- ubuntuone/controlpanel/gui/qt/ui/filesyncstatus_ui.py 2011-07-22 21:26:48 +0000 | |||
3384 | +++ ubuntuone/controlpanel/gui/qt/ui/filesyncstatus_ui.py 2011-08-12 19:16:23 +0000 | |||
3385 | @@ -2,7 +2,7 @@ | |||
3386 | 2 | 2 | ||
3387 | 3 | # Form implementation generated from reading ui file 'data/qt/filesyncstatus.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/filesyncstatus.ui' |
3388 | 4 | # | 4 | # |
3390 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3391 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
3392 | 7 | # | 7 | # |
3393 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3394 | @@ -18,16 +18,14 @@ | |||
3395 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
3396 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
3397 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
3399 | 21 | Form.resize(310, 211) | 21 | Form.resize(94, 49) |
3400 | 22 | Form.setWindowTitle(_fromUtf8("Form")) | 22 | Form.setWindowTitle(_fromUtf8("Form")) |
3404 | 23 | self.horizontalLayout_2 = QtGui.QHBoxLayout(Form) | 23 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
3405 | 24 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) | 24 | self.verticalLayout.setMargin(0) |
3403 | 25 | self.verticalLayout = QtGui.QVBoxLayout() | ||
3406 | 26 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 25 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
3407 | 27 | self.horizontalLayout = QtGui.QHBoxLayout() | 26 | self.horizontalLayout = QtGui.QHBoxLayout() |
3408 | 28 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 27 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
3409 | 29 | self.sync_status_icon = QtGui.QLabel(Form) | 28 | self.sync_status_icon = QtGui.QLabel(Form) |
3410 | 30 | self.sync_status_icon.setText(_fromUtf8("")) | ||
3411 | 31 | self.sync_status_icon.setObjectName(_fromUtf8("sync_status_icon")) | 29 | self.sync_status_icon.setObjectName(_fromUtf8("sync_status_icon")) |
3412 | 32 | self.horizontalLayout.addWidget(self.sync_status_icon) | 30 | self.horizontalLayout.addWidget(self.sync_status_icon) |
3413 | 33 | self.sync_status_label = QtGui.QLabel(Form) | 31 | self.sync_status_label = QtGui.QLabel(Form) |
3414 | @@ -37,15 +35,13 @@ | |||
3415 | 37 | self.horizontalLayout.addWidget(self.sync_status_label) | 35 | self.horizontalLayout.addWidget(self.sync_status_label) |
3416 | 38 | self.verticalLayout.addLayout(self.horizontalLayout) | 36 | self.verticalLayout.addLayout(self.horizontalLayout) |
3417 | 39 | self.sync_status_button = QtGui.QPushButton(Form) | 37 | self.sync_status_button = QtGui.QPushButton(Form) |
3418 | 40 | self.sync_status_button.setText(_fromUtf8("")) | ||
3419 | 41 | self.sync_status_button.setObjectName(_fromUtf8("sync_status_button")) | 38 | self.sync_status_button.setObjectName(_fromUtf8("sync_status_button")) |
3420 | 42 | self.verticalLayout.addWidget(self.sync_status_button) | 39 | self.verticalLayout.addWidget(self.sync_status_button) |
3421 | 43 | self.horizontalLayout_2.addLayout(self.verticalLayout) | ||
3422 | 44 | self.sync_status_label.setBuddy(self.sync_status_button) | 40 | self.sync_status_label.setBuddy(self.sync_status_button) |
3423 | 45 | 41 | ||
3424 | 46 | self.retranslateUi(Form) | 42 | self.retranslateUi(Form) |
3425 | 47 | QtCore.QMetaObject.connectSlotsByName(Form) | 43 | QtCore.QMetaObject.connectSlotsByName(Form) |
3426 | 48 | 44 | ||
3427 | 49 | def retranslateUi(self, Form): | 45 | def retranslateUi(self, Form): |
3429 | 50 | self.sync_status_button.setToolTip(_('test')) | 46 | pass |
3430 | 51 | 47 | ||
3431 | 52 | 48 | ||
3432 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/folders_ui.py' | |||
3433 | --- ubuntuone/controlpanel/gui/qt/ui/folders_ui.py 2011-07-22 21:26:48 +0000 | |||
3434 | +++ ubuntuone/controlpanel/gui/qt/ui/folders_ui.py 2011-08-12 19:16:23 +0000 | |||
3435 | @@ -2,7 +2,7 @@ | |||
3436 | 2 | 2 | ||
3437 | 3 | # Form implementation generated from reading ui file 'data/qt/folders.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/folders.ui' |
3438 | 4 | # | 4 | # |
3440 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3441 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
3442 | 7 | # | 7 | # |
3443 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3444 | @@ -18,45 +18,74 @@ | |||
3445 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
3446 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
3447 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
3449 | 21 | Form.resize(607, 435) | 21 | Form.resize(345, 279) |
3450 | 22 | Form.setWindowTitle(_fromUtf8("Form")) | 22 | Form.setWindowTitle(_fromUtf8("Form")) |
3452 | 23 | Form.setStyleSheet(_fromUtf8("")) | 23 | Form.setStyleSheet(_fromUtf8("padding: 0px;")) |
3453 | 24 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 24 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
3454 | 25 | self.verticalLayout.setSpacing(0) | ||
3455 | 26 | self.verticalLayout.setMargin(0) | ||
3456 | 25 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 27 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
3457 | 28 | self.frame_top = QtGui.QFrame(Form) | ||
3458 | 29 | self.frame_top.setMinimumSize(QtCore.QSize(0, 35)) | ||
3459 | 30 | self.frame_top.setObjectName(_fromUtf8("frame_top")) | ||
3460 | 31 | self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame_top) | ||
3461 | 32 | self.horizontalLayout_2.setMargin(3) | ||
3462 | 33 | self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) | ||
3463 | 34 | self.share_publish_button = GoToWebButton(self.frame_top) | ||
3464 | 35 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) | ||
3465 | 36 | sizePolicy.setHorizontalStretch(0) | ||
3466 | 37 | sizePolicy.setVerticalStretch(0) | ||
3467 | 38 | sizePolicy.setHeightForWidth(self.share_publish_button.sizePolicy().hasHeightForWidth()) | ||
3468 | 39 | self.share_publish_button.setSizePolicy(sizePolicy) | ||
3469 | 40 | self.share_publish_button.setObjectName(_fromUtf8("share_publish_button")) | ||
3470 | 41 | self.horizontalLayout_2.addWidget(self.share_publish_button) | ||
3471 | 42 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | ||
3472 | 43 | self.horizontalLayout_2.addItem(spacerItem) | ||
3473 | 44 | self.verticalLayout.addWidget(self.frame_top) | ||
3474 | 26 | self.folders = QtGui.QTreeWidget(Form) | 45 | self.folders = QtGui.QTreeWidget(Form) |
3475 | 46 | self.folders.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) | ||
3476 | 27 | self.folders.setAlternatingRowColors(True) | 47 | self.folders.setAlternatingRowColors(True) |
3478 | 28 | self.folders.setUniformRowHeights(False) | 48 | self.folders.setIndentation(15) |
3479 | 49 | self.folders.setRootIsDecorated(False) | ||
3480 | 29 | self.folders.setItemsExpandable(True) | 50 | self.folders.setItemsExpandable(True) |
3482 | 30 | self.folders.setHeaderHidden(False) | 51 | self.folders.setHeaderHidden(True) |
3483 | 31 | self.folders.setObjectName(_fromUtf8("folders")) | 52 | self.folders.setObjectName(_fromUtf8("folders")) |
3485 | 32 | self.folders.header().setVisible(True) | 53 | self.folders.header().setVisible(False) |
3486 | 33 | self.folders.header().setCascadingSectionResizes(False) | 54 | self.folders.header().setCascadingSectionResizes(False) |
3487 | 34 | self.folders.header().setDefaultSectionSize(300) | 55 | self.folders.header().setDefaultSectionSize(300) |
3488 | 35 | self.folders.header().setHighlightSections(False) | 56 | self.folders.header().setHighlightSections(False) |
3489 | 36 | self.folders.header().setSortIndicatorShown(False) | 57 | self.folders.header().setSortIndicatorShown(False) |
3490 | 37 | self.folders.header().setStretchLastSection(True) | 58 | self.folders.header().setStretchLastSection(True) |
3491 | 38 | self.verticalLayout.addWidget(self.folders) | 59 | self.verticalLayout.addWidget(self.folders) |
3500 | 39 | self.horizontalLayout_3 = QtGui.QHBoxLayout() | 60 | self.frame_bottom = QtGui.QFrame(Form) |
3501 | 40 | self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) | 61 | self.frame_bottom.setMinimumSize(QtCore.QSize(0, 40)) |
3502 | 41 | self.share_publish_button = GoToWebButton(Form) | 62 | self.frame_bottom.setObjectName(_fromUtf8("frame_bottom")) |
3503 | 42 | self.share_publish_button.setObjectName(_fromUtf8("share_publish_button")) | 63 | self.horizontalLayout = QtGui.QHBoxLayout(self.frame_bottom) |
3504 | 43 | self.horizontalLayout_3.addWidget(self.share_publish_button) | 64 | self.horizontalLayout.setMargin(3) |
3505 | 44 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 65 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
3506 | 45 | self.horizontalLayout_3.addItem(spacerItem) | 66 | spacerItem1 = QtGui.QSpacerItem(53, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
3507 | 46 | self.add_folder_button = AddFolderButton(Form) | 67 | self.horizontalLayout.addItem(spacerItem1) |
3508 | 68 | self.add_folder_button = AddFolderButton(self.frame_bottom) | ||
3509 | 69 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) | ||
3510 | 70 | sizePolicy.setHorizontalStretch(0) | ||
3511 | 71 | sizePolicy.setVerticalStretch(0) | ||
3512 | 72 | sizePolicy.setHeightForWidth(self.add_folder_button.sizePolicy().hasHeightForWidth()) | ||
3513 | 73 | self.add_folder_button.setSizePolicy(sizePolicy) | ||
3514 | 47 | self.add_folder_button.setObjectName(_fromUtf8("add_folder_button")) | 74 | self.add_folder_button.setObjectName(_fromUtf8("add_folder_button")) |
3517 | 48 | self.horizontalLayout_3.addWidget(self.add_folder_button) | 75 | self.horizontalLayout.addWidget(self.add_folder_button) |
3518 | 49 | self.verticalLayout.addLayout(self.horizontalLayout_3) | 76 | spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
3519 | 77 | self.horizontalLayout.addItem(spacerItem2) | ||
3520 | 78 | self.verticalLayout.addWidget(self.frame_bottom) | ||
3521 | 50 | 79 | ||
3522 | 51 | self.retranslateUi(Form) | 80 | self.retranslateUi(Form) |
3523 | 52 | QtCore.QMetaObject.connectSlotsByName(Form) | 81 | QtCore.QMetaObject.connectSlotsByName(Form) |
3524 | 53 | 82 | ||
3525 | 54 | def retranslateUi(self, Form): | 83 | def retranslateUi(self, Form): |
3526 | 84 | self.share_publish_button.setText(_('Go to the web for public and private sharing options')) | ||
3527 | 55 | self.folders.headerItem().setText(0, _('Name')) | 85 | self.folders.headerItem().setText(0, _('Name')) |
3528 | 56 | self.folders.headerItem().setText(1, _('Sync Locally?')) | 86 | self.folders.headerItem().setText(1, _('Sync Locally?')) |
3532 | 57 | self.folders.headerItem().setText(2, _(' ')) | 87 | self.folders.headerItem().setText(2, _('Explore')) |
3533 | 58 | self.share_publish_button.setText(_('Go to the web to share folders and publish files')) | 88 | self.add_folder_button.setText(_('Add a folder from this computer')) |
3531 | 59 | self.add_folder_button.setText(_('Sync another folder with your cloud')) | ||
3534 | 60 | 89 | ||
3535 | 61 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton | 90 | from ubuntuone.controlpanel.gui.qt.gotoweb import GoToWebButton |
3536 | 62 | from ubuntuone.controlpanel.gui.qt.addfolder import AddFolderButton | 91 | from ubuntuone.controlpanel.gui.qt.addfolder import AddFolderButton |
3537 | 63 | 92 | ||
3538 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/images_rc.py' | |||
3539 | --- ubuntuone/controlpanel/gui/qt/ui/images_rc.py 2011-07-22 21:26:48 +0000 | |||
3540 | +++ ubuntuone/controlpanel/gui/qt/ui/images_rc.py 2011-08-12 19:16:23 +0000 | |||
3541 | @@ -2,7 +2,7 @@ | |||
3542 | 2 | 2 | ||
3543 | 3 | # Resource object code | 3 | # Resource object code |
3544 | 4 | # | 4 | # |
3546 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
3547 | 6 | # by: The Resource Compiler for PyQt (Qt v4.7.2) | 6 | # by: The Resource Compiler for PyQt (Qt v4.7.2) |
3548 | 7 | # | 7 | # |
3549 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
3550 | @@ -412,102 +412,180 @@ | |||
3551 | 412 | \x04\xc3\x06\xd0\xb4\xf6\x1c\xaa\xf8\x39\x94\x8f\x12\xe1\x00\x01\ | 412 | \x04\xc3\x06\xd0\xb4\xf6\x1c\xaa\xf8\x39\x94\x8f\x12\xe1\x00\x01\ |
3552 | 413 | \x06\x00\x00\x4e\x7e\x7b\x48\x93\x95\x27\x00\x00\x00\x00\x49\x45\ | 413 | \x06\x00\x00\x4e\x7e\x7b\x48\x93\x95\x27\x00\x00\x00\x00\x49\x45\ |
3553 | 414 | \x4e\x44\xae\x42\x60\x82\ | 414 | \x4e\x44\xae\x42\x60\x82\ |
3555 | 415 | \x00\x00\x0f\x1d\ | 415 | \x00\x00\x12\xb1\ |
3556 | 416 | \x51\ | 416 | \x51\ |
3557 | 417 | \x4d\x61\x69\x6e\x57\x69\x6e\x64\x6f\x77\x20\x7b\x0a\x20\x20\x20\ | 417 | \x4d\x61\x69\x6e\x57\x69\x6e\x64\x6f\x77\x20\x7b\x0a\x20\x20\x20\ |
3558 | 418 | \x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\ | 418 | \x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\ |
3559 | 419 | \x72\x3a\x20\x23\x64\x64\x34\x38\x31\x34\x3b\x0a\x7d\x0a\x0a\x51\ | 419 | \x72\x3a\x20\x23\x64\x64\x34\x38\x31\x34\x3b\x0a\x7d\x0a\x0a\x51\ |
3586 | 420 | \x46\x72\x61\x6d\x65\x23\x66\x72\x6d\x48\x65\x61\x64\x65\x72\x20\ | 420 | \x57\x69\x64\x67\x65\x74\x20\x7b\x0a\x20\x20\x20\x20\x66\x6f\x6e\ |
3587 | 421 | \x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\ | 421 | \x74\x2d\x66\x61\x6d\x69\x6c\x79\x3a\x20\x22\x55\x62\x75\x6e\x74\ |
3588 | 422 | \x3a\x20\x23\x66\x66\x66\x66\x66\x66\x3b\x0a\x20\x20\x20\x20\x62\ | 422 | \x75\x22\x3b\x0a\x7d\x0a\x0a\x51\x46\x72\x61\x6d\x65\x20\x7b\x0a\ |
3589 | 423 | \x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\ | 423 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x6e\x6f\x6e\x65\ |
3590 | 424 | \x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\ | 424 | \x3b\x0a\x7d\x0a\x0a\x51\x46\x72\x61\x6d\x65\x23\x66\x72\x61\x6d\ |
3591 | 425 | \x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\ | 425 | \x65\x5f\x68\x65\x61\x64\x65\x72\x20\x7b\x0a\x20\x20\x20\x20\x62\ |
3592 | 426 | \x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\ | 426 | \x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x23\x66\x66\x66\x66\ |
3593 | 427 | \x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | 427 | \x66\x66\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\ |
3594 | 428 | \x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\ | 428 | \x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\ |
3595 | 429 | \x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\ | 429 | \x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\ |
3596 | 430 | \x20\x20\x20\x20\x6d\x69\x6e\x2d\x68\x65\x69\x67\x68\x74\x3a\x20\ | 430 | \x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3571 | 431 | \x31\x30\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\ | ||
3572 | 432 | \x75\x74\x74\x6f\x6e\x5b\x65\x6e\x61\x62\x6c\x65\x64\x3d\x22\x74\ | ||
3573 | 433 | \x72\x75\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\ | ||
3574 | 434 | \x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\x72\x67\ | ||
3575 | 435 | \x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\x20\x79\ | ||
3576 | 436 | \x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\x32\x3a\ | ||
3577 | 437 | \x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\x6f\x70\ | ||
3578 | 438 | \x3a\x20\x30\x20\x23\x66\x65\x63\x66\x63\x32\x2c\x73\x74\x6f\x70\ | ||
3579 | 439 | \x3a\x20\x31\x2e\x30\x20\x23\x65\x34\x34\x65\x31\x39\x29\x3b\x0a\ | ||
3580 | 440 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\ | ||
3581 | 441 | \x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | ||
3582 | 442 | \x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\ | ||
3583 | 443 | \x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x36\x70\ | ||
3584 | 444 | \x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\ | ||
3585 | 445 | \x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | ||
3597 | 446 | \x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\ | 431 | \x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\ |
3598 | 447 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\ | 432 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\ |
3611 | 448 | \x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\ | 433 | \x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x6d\x69\x6e\x2d\x68\ |
3612 | 449 | \x74\x3a\x20\x31\x34\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\ | 434 | \x65\x69\x67\x68\x74\x3a\x20\x39\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\ |
3613 | 450 | \x68\x42\x75\x74\x74\x6f\x6e\x3a\x68\x6f\x76\x65\x72\x5b\x65\x6e\ | 435 | \x51\x46\x72\x61\x6d\x65\x23\x66\x72\x61\x6d\x65\x5f\x67\x72\x65\ |
3614 | 451 | \x61\x62\x6c\x65\x64\x3d\x22\x74\x72\x75\x65\x22\x5d\x20\x7b\x0a\ | 436 | \x65\x74\x69\x6e\x67\x20\x7b\x0a\x20\x20\x20\x20\x6d\x61\x72\x67\ |
3615 | 452 | \x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\ | 437 | \x69\x6e\x20\x30\x70\x78\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\ |
3616 | 453 | \x71\x6c\x69\x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\ | 438 | \x69\x6e\x67\x2d\x6c\x65\x66\x74\x3a\x20\x31\x35\x70\x78\x3b\x0a\ |
3617 | 454 | \x78\x31\x3a\x20\x30\x2c\x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\ | 439 | \x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x2d\x74\x6f\x70\x3a\ |
3618 | 455 | \x3a\x20\x30\x2c\x20\x79\x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\ | 440 | \x20\x31\x30\x70\x78\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\ |
3619 | 456 | \x20\x20\x20\x20\x73\x74\x6f\x70\x3a\x20\x30\x20\x23\x66\x65\x64\ | 441 | \x6e\x67\x2d\x72\x69\x67\x68\x74\x3a\x20\x31\x30\x70\x78\x3b\x0a\ |
3620 | 457 | \x61\x64\x31\x2c\x73\x74\x6f\x70\x3a\x20\x31\x2e\x30\x20\x23\x65\ | 442 | \x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x2d\x62\x6f\x74\x74\ |
3621 | 458 | \x34\x37\x61\x35\x35\x29\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | 443 | \x6f\x6d\x3a\x20\x31\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x46\x72\ |
3622 | 459 | \x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\ | 444 | \x61\x6d\x65\x23\x66\x72\x61\x6d\x65\x5f\x73\x74\x61\x74\x75\x73\ |
3623 | 445 | \x2c\x0a\x51\x46\x72\x61\x6d\x65\x23\x66\x72\x61\x6d\x65\x5f\x73\ | ||
3624 | 446 | \x74\x6f\x72\x61\x67\x65\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\ | ||
3625 | 447 | \x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x64\x6f\x74\x74\x65\ | ||
3626 | 448 | \x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\ | ||
3627 | 449 | \x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\ | ||
3628 | 450 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x77\x69\ | ||
3629 | 451 | \x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x70\x61\ | ||
3630 | 452 | \x64\x64\x69\x6e\x67\x3a\x20\x31\x30\x70\x78\x3b\x0a\x20\x20\x20\ | ||
3631 | 453 | \x20\x6d\x69\x6e\x2d\x77\x69\x64\x74\x68\x3a\x20\x34\x30\x70\x78\ | ||
3632 | 454 | \x3b\x0a\x7d\x0a\x0a\x51\x46\x72\x61\x6d\x65\x23\x61\x63\x63\x6f\ | ||
3633 | 455 | \x75\x6e\x74\x5f\x73\x65\x70\x61\x72\x61\x74\x6f\x72\x20\x7b\x0a\ | ||
3634 | 460 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\ | 456 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\ |
3663 | 461 | \x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\ | 457 | \x3a\x20\x64\x6f\x74\x74\x65\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\ |
3664 | 462 | \x64\x69\x6e\x67\x3a\x20\x36\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\ | 458 | \x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\ |
3665 | 463 | \x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\ | 459 | \x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3666 | 464 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\ | 460 | \x62\x6f\x74\x74\x6f\x6d\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\ |
3667 | 465 | \x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | 461 | \x78\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\ |
3668 | 466 | \x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\ | 462 | \x6e\x5b\x65\x6e\x61\x62\x6c\x65\x64\x3d\x22\x74\x72\x75\x65\x22\ |
3669 | 467 | \x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\x31\x32\x70\x78\x3b\ | 463 | \x5d\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\ |
3670 | 468 | \x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x3a\ | 464 | \x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\x72\x67\x72\x61\x64\x69\ |
3671 | 469 | \x70\x72\x65\x73\x73\x65\x64\x5b\x65\x6e\x61\x62\x6c\x65\x64\x3d\ | 465 | \x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\x20\x79\x31\x3a\x20\x30\ |
3672 | 470 | \x22\x74\x72\x75\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\ | 466 | \x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\x32\x3a\x20\x31\x2c\x0a\ |
3673 | 471 | \x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\ | 467 | \x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\x6f\x70\x3a\x20\x30\x20\ |
3674 | 472 | \x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\ | 468 | \x23\x66\x65\x63\x66\x63\x32\x2c\x20\x73\x74\x6f\x70\x3a\x20\x31\ |
3675 | 473 | \x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\ | 469 | \x2e\x30\x20\x23\x65\x34\x34\x65\x31\x39\x29\x3b\x0a\x20\x20\x20\ |
3676 | 474 | \x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\ | 470 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\ |
3677 | 475 | \x6f\x70\x3a\x20\x30\x20\x23\x65\x34\x34\x65\x31\x39\x2c\x73\x74\ | 471 | \x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3678 | 476 | \x6f\x70\x3a\x20\x31\x2e\x30\x20\x23\x66\x65\x63\x66\x63\x32\x29\ | 472 | \x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\ |
3679 | 477 | \x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\ | 473 | \x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x36\x70\x78\x3b\x0a\ |
3680 | 478 | \x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\ | 474 | \x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\ |
3681 | 479 | \x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\ | 475 | \x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\ |
3682 | 480 | \x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\ | 476 | \x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\ |
3683 | 481 | \x36\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\ | 477 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\ |
3684 | 482 | \x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | 478 | \x70\x78\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\ |
3685 | 483 | \x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\ | 479 | \x31\x34\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\ |
3686 | 484 | \x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\ | 480 | \x74\x74\x6f\x6e\x3a\x68\x6f\x76\x65\x72\x5b\x65\x6e\x61\x62\x6c\ |
3687 | 485 | \x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\ | 481 | \x65\x64\x3d\x22\x74\x72\x75\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\ |
3660 | 486 | \x67\x68\x74\x3a\x20\x31\x32\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x50\ | ||
3661 | 487 | \x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x5b\x65\x6e\x61\x62\x6c\x65\ | ||
3662 | 488 | \x64\x3d\x22\x66\x61\x6c\x73\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\ | ||
3688 | 489 | \x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\ | 482 | \x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\ |
3689 | 490 | \x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\ | 483 | \x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\ |
3690 | 491 | \x20\x30\x2c\x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\ | 484 | \x20\x30\x2c\x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\ |
3691 | 492 | \x2c\x20\x79\x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\ | 485 | \x2c\x20\x79\x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\ |
3701 | 493 | \x20\x73\x74\x6f\x70\x3a\x20\x30\x20\x23\x65\x61\x65\x61\x65\x61\ | 486 | \x20\x73\x74\x6f\x70\x3a\x20\x30\x20\x23\x66\x65\x64\x61\x64\x31\ |
3702 | 494 | \x2c\x20\x73\x74\x6f\x70\x3a\x20\x31\x2e\x30\x20\x23\x63\x61\x63\ | 487 | \x2c\x73\x74\x6f\x70\x3a\x20\x31\x2e\x30\x20\x23\x65\x34\x37\x61\ |
3703 | 495 | \x61\x63\x61\x29\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ | 488 | \x35\x35\x29\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3704 | 496 | \x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\ | 489 | \x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\ |
3705 | 497 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\ | 490 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\ |
3706 | 498 | \x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\ | 491 | \x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\ |
3707 | 499 | \x6e\x67\x3a\x20\x36\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\ | 492 | \x67\x3a\x20\x36\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\ |
3708 | 500 | \x6f\x72\x3a\x20\x23\x35\x39\x35\x39\x35\x39\x3b\x0a\x20\x20\x20\ | 493 | \x72\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\ |
3709 | 501 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\ | 494 | \x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\ |
3710 | 495 | \x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | ||
3711 | 496 | \x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\ | ||
3712 | 497 | \x68\x65\x69\x67\x68\x74\x3a\x20\x31\x32\x70\x78\x3b\x0a\x7d\x0a\ | ||
3713 | 498 | \x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x3a\x70\x72\x65\ | ||
3714 | 499 | \x73\x73\x65\x64\x5b\x65\x6e\x61\x62\x6c\x65\x64\x3d\x22\x74\x72\ | ||
3715 | 500 | \x75\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\ | ||
3716 | 501 | \x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\x72\x67\x72\ | ||
3717 | 502 | \x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\x20\x79\x31\ | ||
3718 | 503 | \x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\x32\x3a\x20\ | ||
3719 | 504 | \x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\x6f\x70\x3a\ | ||
3720 | 505 | \x20\x30\x20\x23\x65\x34\x34\x65\x31\x39\x2c\x73\x74\x6f\x70\x3a\ | ||
3721 | 506 | \x20\x31\x2e\x30\x20\x23\x66\x65\x63\x66\x63\x32\x29\x3b\x0a\x20\ | ||
3722 | 507 | \x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\ | ||
3723 | 508 | \x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | ||
3724 | 509 | \x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\ | ||
3725 | 510 | \x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x36\x70\x78\ | ||
3726 | 511 | \x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\ | ||
3727 | 512 | \x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\ | ||
3728 | 513 | \x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\ | ||
3729 | 514 | \x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\ | ||
3730 | 515 | \x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\x74\ | ||
3731 | 516 | \x3a\x20\x31\x32\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\ | ||
3732 | 517 | \x42\x75\x74\x74\x6f\x6e\x5b\x65\x6e\x61\x62\x6c\x65\x64\x3d\x22\ | ||
3733 | 518 | \x66\x61\x6c\x73\x65\x22\x5d\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\ | ||
3734 | 519 | \x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\ | ||
3735 | 520 | \x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\ | ||
3736 | 521 | \x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\ | ||
3737 | 522 | \x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\ | ||
3738 | 523 | \x6f\x70\x3a\x20\x30\x20\x23\x65\x61\x65\x61\x65\x61\x2c\x20\x73\ | ||
3739 | 524 | \x74\x6f\x70\x3a\x20\x31\x2e\x30\x20\x23\x63\x61\x63\x61\x63\x61\ | ||
3740 | 525 | \x29\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\ | ||
3741 | 526 | \x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\ | ||
3742 | 527 | \x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\ | ||
3743 | 528 | \x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\ | ||
3744 | 529 | \x20\x36\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\ | ||
3745 | 530 | \x20\x23\x35\x39\x35\x39\x35\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\ | ||
3746 | 531 | \x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\ | ||
3747 | 532 | \x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | ||
3748 | 533 | \x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\ | ||
3749 | 534 | \x68\x65\x69\x67\x68\x74\x3a\x20\x31\x32\x70\x78\x3b\x0a\x7d\x0a\ | ||
3750 | 535 | \x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x23\x68\x65\x6c\ | ||
3751 | 536 | \x70\x5f\x62\x75\x74\x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x62\ | ||
3752 | 537 | \x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x74\x72\x61\x6e\x73\ | ||
3753 | 538 | \x70\x61\x72\x65\x6e\x74\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | ||
3754 | 539 | \x65\x72\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x20\x20\x20\x20\x63\x6f\ | ||
3755 | 540 | \x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\ | ||
3756 | 541 | \x68\x65\x69\x67\x68\x74\x3a\x20\x32\x30\x70\x78\x3b\x0a\x20\x20\ | ||
3757 | 542 | \x20\x20\x74\x65\x78\x74\x2d\x64\x65\x63\x6f\x72\x61\x74\x69\x6f\ | ||
3758 | 543 | \x6e\x3a\x20\x75\x6e\x64\x65\x72\x6c\x69\x6e\x65\x3b\x0a\x20\x20\ | ||
3759 | 544 | \x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x30\x70\x78\x3b\x0a\ | ||
3760 | 545 | \x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x23\x65\ | ||
3761 | 546 | \x78\x70\x6c\x6f\x72\x65\x5f\x66\x6f\x6c\x64\x65\x72\x5f\x62\x75\ | ||
3762 | 547 | \x74\x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | ||
3763 | 548 | \x72\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x20\x20\x20\x20\x62\x61\x63\ | ||
3764 | 549 | \x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x20\ | ||
3765 | 550 | \x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x35\x39\x35\x39\x35\ | ||
3766 | 551 | \x39\x3b\x0a\x7d\x0a\x0a\x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\ | ||
3767 | 552 | \x6e\x23\x61\x64\x64\x5f\x66\x6f\x6c\x64\x65\x72\x5f\x62\x75\x74\ | ||
3768 | 553 | \x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\ | ||
3769 | 554 | \x67\x3a\x20\x35\x70\x78\x3b\x0a\x7d\x0a\x0a\x47\x6f\x54\x6f\x57\ | ||
3770 | 555 | \x65\x62\x42\x75\x74\x74\x6f\x6e\x23\x73\x68\x61\x72\x65\x5f\x70\ | ||
3771 | 556 | \x75\x62\x6c\x69\x73\x68\x5f\x62\x75\x74\x74\x6f\x6e\x20\x7b\x0a\ | ||
3772 | 557 | \x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\ | ||
3773 | 558 | \x74\x72\x61\x6e\x73\x70\x61\x72\x65\x6e\x74\x3b\x0a\x20\x20\x20\ | ||
3774 | 559 | \x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x20\ | ||
3775 | 560 | \x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x64\x64\x34\x38\x31\ | ||
3776 | 561 | \x34\x3b\x0a\x20\x20\x20\x20\x74\x65\x78\x74\x2d\x64\x65\x63\x6f\ | ||
3777 | 562 | \x72\x61\x74\x69\x6f\x6e\x3a\x20\x75\x6e\x64\x65\x72\x6c\x69\x6e\ | ||
3778 | 563 | \x65\x3b\x0a\x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\ | ||
3779 | 564 | \x61\x62\x20\x7b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\ | ||
3780 | 565 | \x20\x31\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\ | ||
3781 | 566 | \x3a\x20\x23\x33\x33\x33\x33\x33\x33\x3b\x0a\x20\x20\x20\x20\x62\ | ||
3782 | 567 | \x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\ | ||
3783 | 568 | \x20\x23\x65\x34\x65\x30\x64\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\ | ||
3784 | 569 | \x72\x64\x65\x72\x2d\x74\x6f\x70\x2d\x6c\x65\x66\x74\x2d\x72\x61\ | ||
3785 | 570 | \x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\ | ||
3786 | 571 | \x6f\x72\x64\x65\x72\x2d\x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\ | ||
3787 | 572 | \x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\ | ||
3788 | 573 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\ | ||
3789 | 574 | \x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\ | ||
3790 | 575 | \x67\x3a\x20\x31\x32\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ | ||
3791 | 576 | \x64\x65\x72\x2d\x74\x6f\x70\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\ | ||
3792 | 502 | \x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | 577 | \x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ |
3801 | 503 | \x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\ | 578 | \x65\x72\x2d\x72\x69\x67\x68\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\ |
3802 | 504 | \x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\x31\x32\x70\x78\x3b\ | 579 | \x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ |
3803 | 505 | \x0a\x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\ | 580 | \x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\ |
3804 | 506 | \x20\x7b\x0a\x20\x20\x20\x20\x68\x65\x69\x67\x68\x74\x3a\x20\x31\ | 581 | \x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ |
3805 | 507 | \x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\ | 582 | \x72\x2d\x62\x6f\x74\x74\x6f\x6d\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\ |
3806 | 508 | \x23\x33\x33\x33\x33\x33\x33\x3b\x0a\x20\x20\x20\x20\x62\x61\x63\ | 583 | \x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ |
3807 | 509 | \x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\ | 584 | \x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\ |
3808 | 510 | \x65\x34\x65\x30\x64\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | 585 | \x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\ |
3809 | 586 | \x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\x20\x20\x20\x62\ | ||
3810 | 587 | \x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\ | ||
3811 | 588 | \x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ | ||
3812 | 511 | \x65\x72\x2d\x74\x6f\x70\x2d\x6c\x65\x66\x74\x2d\x72\x61\x64\x69\ | 589 | \x65\x72\x2d\x74\x6f\x70\x2d\x6c\x65\x66\x74\x2d\x72\x61\x64\x69\ |
3813 | 512 | \x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ | 590 | \x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ |
3814 | 513 | \x64\x65\x72\x2d\x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\ | 591 | \x64\x65\x72\x2d\x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\ |
3815 | @@ -521,141 +599,121 @@ | |||
3816 | 521 | \x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | 599 | \x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ |
3817 | 522 | \x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\ | 600 | \x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\ |
3818 | 523 | \x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | 601 | \x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3848 | 524 | \x62\x6f\x74\x74\x6f\x6d\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\ | 602 | \x62\x6f\x74\x74\x6f\x6d\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\ |
3849 | 525 | \x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | 603 | \x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
3850 | 526 | \x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x7d\x0a\ | 604 | \x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\ |
3822 | 527 | \x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x73\x65\ | ||
3823 | 528 | \x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\ | ||
3824 | 529 | \x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\ | ||
3825 | 530 | \x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ | ||
3826 | 531 | \x2d\x74\x6f\x70\x2d\x6c\x65\x66\x74\x2d\x72\x61\x64\x69\x75\x73\ | ||
3827 | 532 | \x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | ||
3828 | 533 | \x72\x2d\x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\x69\ | ||
3829 | 534 | \x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ | ||
3830 | 535 | \x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\ | ||
3831 | 536 | \x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\x31\ | ||
3832 | 537 | \x32\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | ||
3833 | 538 | \x74\x6f\x70\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\ | ||
3834 | 539 | \x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\ | ||
3835 | 540 | \x69\x67\x68\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\ | ||
3836 | 541 | \x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | ||
3837 | 542 | \x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\ | ||
3838 | 543 | \x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\ | ||
3839 | 544 | \x74\x74\x6f\x6d\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\ | ||
3840 | 545 | \x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\ | ||
3841 | 546 | \x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x54\x61\ | ||
3842 | 547 | \x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x66\x69\x72\x73\x74\x3a\ | ||
3843 | 548 | \x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\x20\x20\x20\ | ||
3844 | 549 | \x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\ | ||
3845 | 550 | \x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\ | ||
3846 | 551 | \x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\x6f\ | ||
3847 | 552 | \x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x7d\x0a\x0a\x51\ | ||
3851 | 553 | \x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x66\x69\x72\x73\ | 605 | \x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x66\x69\x72\x73\ |
3864 | 554 | \x74\x3a\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\x20\x20\ | 606 | \x74\x3a\x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\x20\ |
3865 | 555 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\x6c\ | 607 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\ |
3866 | 556 | \x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x7d\x0a\x0a\ | 608 | \x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\ |
3867 | 557 | \x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x6d\x69\x64\ | 609 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\x6f\ |
3868 | 558 | \x64\x6c\x65\x3a\x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\ | 610 | \x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x7d\x0a\ |
3869 | 559 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\ | 611 | \x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x66\x69\ |
3870 | 560 | \x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x34\x65\x30\x64\x64\x3b\x0a\ | 612 | \x72\x73\x74\x3a\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\x0a\x20\ |
3871 | 561 | \x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\ | 613 | \x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\x2d\x63\ |
3872 | 562 | \x6c\x61\x73\x74\x3a\x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\x7b\ | 614 | \x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x7d\ |
3873 | 563 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\x74\ | 615 | \x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x6d\ |
3874 | 564 | \x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x34\x65\x30\x64\x64\x3b\ | 616 | \x69\x64\x64\x6c\x65\x3a\x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\ |
3875 | 565 | \x0a\x7d\x0a\x0a\x51\x54\x61\x62\x57\x69\x64\x67\x65\x74\x20\x7b\ | 617 | \x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\ |
3876 | 618 | \x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x34\x65\x30\x64\x64\ | ||
3877 | 619 | \x3b\x0a\x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\ | ||
3878 | 620 | \x62\x3a\x68\x6f\x76\x65\x72\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\ | ||
3879 | 621 | \x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\ | ||
3880 | 622 | \x72\x67\x72\x61\x64\x69\x65\x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\ | ||
3881 | 623 | \x20\x79\x31\x3a\x20\x30\x2c\x20\x78\x32\x3a\x20\x30\x2c\x20\x79\ | ||
3882 | 624 | \x32\x3a\x20\x31\x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\ | ||
3883 | 625 | \x6f\x70\x3a\x20\x30\x20\x23\x66\x61\x66\x61\x66\x61\x2c\x20\x73\ | ||
3884 | 626 | \x74\x6f\x70\x3a\x20\x30\x2e\x34\x20\x23\x66\x34\x66\x34\x66\x34\ | ||
3885 | 627 | \x2c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x73\x74\x6f\x70\x3a\x20\ | ||
3886 | 628 | \x30\x2e\x35\x20\x23\x65\x37\x65\x37\x65\x37\x2c\x20\x73\x74\x6f\ | ||
3887 | 629 | \x70\x3a\x20\x31\x2e\x30\x20\x23\x66\x61\x66\x61\x66\x61\x29\x3b\ | ||
3888 | 630 | \x0a\x20\x20\x20\x20\x74\x65\x78\x74\x2d\x64\x65\x63\x6f\x72\x61\ | ||
3889 | 631 | \x74\x69\x6f\x6e\x3a\x20\x75\x6e\x64\x65\x72\x6c\x69\x6e\x65\x3b\ | ||
3890 | 632 | \x0a\x7d\x0a\x0a\x51\x54\x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\ | ||
3891 | 633 | \x3a\x6c\x61\x73\x74\x3a\x21\x73\x65\x6c\x65\x63\x74\x65\x64\x20\ | ||
3892 | 634 | \x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x6c\x65\x66\ | ||
3893 | 635 | \x74\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x34\x65\x30\x64\x64\ | ||
3894 | 636 | \x3b\x0a\x7d\x0a\x0a\x51\x54\x61\x62\x57\x69\x64\x67\x65\x74\x20\ | ||
3895 | 637 | \x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\ | ||
3896 | 638 | \x74\x6f\x6d\x2d\x6c\x65\x66\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\ | ||
3897 | 639 | \x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ | ||
3898 | 640 | \x2d\x62\x6f\x74\x74\x6f\x6d\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\ | ||
3899 | 641 | \x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\ | ||
3900 | 642 | \x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\ | ||
3901 | 643 | \x69\x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\ | ||
3902 | 644 | \x20\x31\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x54\x61\x62\x57\x69\ | ||
3903 | 645 | \x64\x67\x65\x74\x3a\x3a\x70\x61\x6e\x65\x20\x7b\x0a\x20\x20\x20\ | ||
3904 | 646 | \x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\x74\x6f\x6d\x2d\x6c\ | ||
3905 | 647 | \x65\x66\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\ | ||
3906 | 566 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\x74\ | 648 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\x74\ |
3999 | 567 | \x6f\x6d\x2d\x6c\x65\x66\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\ | 649 | \x6f\x6d\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\ |
4000 | 568 | \x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | 650 | \x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ |
4001 | 569 | \x62\x6f\x74\x74\x6f\x6d\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\ | 651 | \x2d\x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\x69\x75\ |
4002 | 570 | \x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\ | 652 | \x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\ |
4003 | 571 | \x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\ | 653 | \x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\ |
4004 | 572 | \x64\x3b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x3a\x20\ | 654 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\ |
4005 | 573 | \x31\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x54\x61\x62\x57\x69\x64\ | 655 | \x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\ |
4006 | 574 | \x67\x65\x74\x3a\x3a\x70\x61\x6e\x65\x20\x7b\x0a\x20\x20\x20\x20\ | 656 | \x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\ |
4007 | 575 | \x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\x74\x6f\x6d\x2d\x6c\x65\ | 657 | \x78\x3b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\ |
4008 | 576 | \x66\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\ | 658 | \x64\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\ |
4009 | 577 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x62\x6f\x74\x74\x6f\ | 659 | \x72\x64\x65\x72\x2d\x74\x6f\x70\x3a\x20\x32\x70\x78\x20\x73\x6f\ |
4010 | 578 | \x6d\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\x69\x75\x73\x3a\x20\ | 660 | \x6c\x69\x64\x20\x77\x68\x69\x74\x65\x3b\x0a\x7d\x0a\x0a\x51\x47\ |
4011 | 579 | \x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ | 661 | \x72\x6f\x75\x70\x42\x6f\x78\x20\x7b\x0a\x20\x20\x20\x20\x70\x61\ |
4012 | 580 | \x74\x6f\x70\x2d\x72\x69\x67\x68\x74\x2d\x72\x61\x64\x69\x75\x73\ | 662 | \x64\x64\x69\x6e\x67\x2d\x74\x6f\x70\x3a\x20\x33\x30\x70\x78\x3b\ |
4013 | 581 | \x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | 663 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x6e\x6f\x6e\ |
4014 | 582 | \x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\ | 664 | \x65\x3b\x0a\x20\x20\x20\x20\x6d\x61\x72\x67\x69\x6e\x2d\x74\x6f\ |
4015 | 583 | \x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\ | 665 | \x70\x3a\x20\x31\x65\x78\x3b\x0a\x7d\x0a\x0a\x51\x47\x72\x6f\x75\ |
4016 | 584 | \x3a\x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\ | 666 | \x70\x42\x6f\x78\x3a\x3a\x74\x69\x74\x6c\x65\x20\x7b\x0a\x20\x20\ |
4017 | 585 | \x6f\x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\ | 667 | \x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x33\x33\x33\x33\x33\x33\ |
4018 | 586 | \x3b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\ | 668 | \x3b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x3a\x20\x62\x6f\x6c\x64\ |
4019 | 587 | \x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\ | 669 | \x20\x31\x35\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x47\x72\x6f\x75\x70\ |
4020 | 588 | \x64\x65\x72\x2d\x74\x6f\x70\x3a\x20\x32\x70\x78\x20\x73\x6f\x6c\ | 670 | \x42\x6f\x78\x23\x70\x72\x6f\x66\x69\x6c\x65\x2c\x0a\x51\x47\x72\ |
4021 | 589 | \x69\x64\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x7d\x0a\x0a\x51\x54\ | 671 | \x6f\x75\x70\x42\x6f\x78\x23\x73\x65\x72\x76\x69\x63\x65\x73\x20\ |
4022 | 590 | \x61\x62\x42\x61\x72\x3a\x3a\x74\x61\x62\x3a\x68\x6f\x76\x65\x72\ | 672 | \x7b\x0a\x20\x20\x20\x20\x70\x61\x64\x64\x69\x6e\x67\x2d\x6c\x65\ |
4023 | 591 | \x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\ | 673 | \x66\x74\x3a\x20\x35\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\x69\x73\ |
4024 | 592 | \x64\x3a\x20\x71\x6c\x69\x6e\x65\x61\x72\x67\x72\x61\x64\x69\x65\ | 674 | \x74\x57\x69\x64\x67\x65\x74\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\ |
4025 | 593 | \x6e\x74\x28\x78\x31\x3a\x20\x30\x2c\x20\x79\x31\x3a\x20\x30\x2c\ | 675 | \x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x23\x66\x37\x66\x36\x66\ |
4026 | 594 | \x20\x78\x32\x3a\x20\x30\x2c\x20\x79\x32\x3a\x20\x31\x2c\x0a\x20\ | 676 | \x35\x3b\x0a\x20\x20\x20\x20\x61\x6c\x74\x65\x72\x6e\x61\x74\x65\ |
4027 | 595 | \x20\x20\x20\x20\x20\x20\x20\x73\x74\x6f\x70\x3a\x20\x30\x20\x23\ | 677 | \x2d\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\ |
4028 | 596 | \x66\x61\x66\x61\x66\x61\x2c\x20\x73\x74\x6f\x70\x3a\x20\x30\x2e\ | 678 | \x72\x3a\x20\x23\x65\x66\x65\x64\x65\x63\x3b\x0a\x7d\x0a\x0a\x51\ |
4029 | 597 | \x34\x20\x23\x66\x34\x66\x34\x66\x34\x2c\x0a\x20\x20\x20\x20\x20\ | 679 | \x4c\x69\x73\x74\x57\x69\x64\x67\x65\x74\x23\x6c\x69\x73\x74\x5f\ |
4030 | 598 | \x20\x20\x20\x73\x74\x6f\x70\x3a\x20\x30\x2e\x35\x20\x23\x65\x37\ | 680 | \x64\x65\x76\x69\x63\x65\x73\x3a\x3a\x69\x74\x65\x6d\x20\x7b\x0a\ |
4031 | 599 | \x65\x37\x65\x37\x2c\x20\x73\x74\x6f\x70\x3a\x20\x31\x2e\x30\x20\ | 681 | \x20\x20\x20\x20\x6d\x69\x6e\x2d\x68\x65\x69\x67\x68\x74\x3a\x20\ |
4032 | 600 | \x23\x66\x61\x66\x61\x66\x61\x29\x3b\x0a\x20\x7d\x0a\x0a\x51\x50\ | 682 | \x34\x38\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\x61\x62\x65\x6c\x23\ |
4033 | 601 | \x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x23\x68\x65\x6c\x70\x5f\x62\ | 683 | \x6f\x74\x68\x65\x72\x5f\x64\x65\x76\x69\x63\x65\x73\x5f\x6c\x61\ |
4034 | 602 | \x75\x74\x74\x6f\x6e\x20\x7b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\ | 684 | \x62\x65\x6c\x20\x7b\x0a\x20\x20\x20\x20\x66\x6f\x6e\x74\x3a\x20\ |
4035 | 603 | \x67\x72\x6f\x75\x6e\x64\x3a\x20\x74\x72\x61\x6e\x73\x70\x61\x72\ | 685 | \x62\x6f\x6c\x64\x20\x31\x36\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\ |
4036 | 604 | \x65\x6e\x74\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\ | 686 | \x61\x62\x65\x6c\x23\x70\x65\x72\x63\x65\x6e\x74\x61\x67\x65\x5f\ |
4037 | 605 | \x20\x6e\x6f\x6e\x65\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\ | 687 | \x75\x73\x61\x67\x65\x5f\x6c\x61\x62\x65\x6c\x20\x7b\x0a\x20\x20\ |
4038 | 606 | \x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x68\x65\x69\ | 688 | \x20\x20\x6d\x61\x72\x67\x69\x6e\x2d\x74\x6f\x70\x3a\x20\x2d\x34\ |
4039 | 607 | \x67\x68\x74\x3a\x20\x32\x30\x70\x78\x3b\x0a\x20\x20\x20\x20\x74\ | 689 | \x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\x61\x62\x65\x6c\x23\x66\x6f\ |
4040 | 608 | \x65\x78\x74\x2d\x64\x65\x63\x6f\x72\x61\x74\x69\x6f\x6e\x3a\x20\ | 690 | \x6c\x6c\x6f\x77\x5f\x75\x73\x5f\x6c\x61\x62\x65\x6c\x20\x7b\x0a\ |
4041 | 609 | \x75\x6e\x64\x65\x72\x6c\x69\x6e\x65\x3b\x0a\x20\x20\x20\x20\x70\ | 691 | \x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\x65\ |
4042 | 610 | \x61\x64\x64\x69\x6e\x67\x3a\x20\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\ | 692 | \x3b\x0a\x7d\x0a\x0a\x51\x46\x72\x61\x6d\x65\x23\x66\x72\x6d\x5f\ |
4043 | 611 | \x51\x50\x75\x73\x68\x42\x75\x74\x74\x6f\x6e\x23\x65\x78\x70\x6c\ | 693 | \x62\x6f\x78\x20\x7b\x20\x2f\x2a\x20\x74\x68\x65\x20\x6c\x6f\x61\ |
4044 | 612 | \x6f\x72\x65\x5f\x66\x6f\x6c\x64\x65\x72\x5f\x62\x75\x74\x74\x6f\ | 694 | \x64\x69\x6e\x67\x6f\x76\x65\x72\x6c\x61\x79\x20\x66\x72\x61\x6d\ |
4045 | 613 | \x6e\x20\x7b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\ | 695 | \x65\x20\x2a\x2f\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\ |
4046 | 614 | \x6e\x6f\x6e\x65\x3b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\ | 696 | \x75\x6e\x64\x3a\x20\x23\x66\x66\x66\x66\x66\x66\x3b\x0a\x20\x20\ |
4047 | 615 | \x6f\x75\x6e\x64\x3a\x20\x6e\x6f\x6e\x65\x3b\x0a\x7d\x0a\x0a\x51\ | 697 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x72\x61\x64\x69\x75\x73\x3a\ |
4048 | 616 | \x47\x72\x6f\x75\x70\x42\x6f\x78\x20\x7b\x0a\x20\x20\x20\x20\x70\ | 698 | \x20\x35\x70\x78\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ |
4049 | 617 | \x61\x64\x64\x69\x6e\x67\x2d\x74\x6f\x70\x3a\x20\x33\x30\x70\x78\ | 699 | \x2d\x73\x74\x79\x6c\x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\ |
4050 | 618 | \x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x3a\x20\x30\x70\ | 700 | \x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\ |
4051 | 619 | \x78\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x6d\x61\x72\ | 701 | \x20\x23\x39\x33\x39\x33\x38\x39\x3b\x0a\x20\x20\x20\x20\x62\x6f\ |
4052 | 620 | \x67\x69\x6e\x2d\x74\x6f\x70\x3a\x20\x31\x65\x78\x3b\x0a\x20\x20\ | 702 | \x72\x64\x65\x72\x2d\x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\ |
4053 | 621 | \x20\x20\x66\x6f\x6e\x74\x3a\x20\x62\x6f\x6c\x64\x20\x31\x35\x70\ | 703 | \x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\x3a\x20\x77\x68\x69\x74\ |
4054 | 622 | \x78\x3b\x0a\x7d\x0a\x0a\x51\x47\x72\x6f\x75\x70\x42\x6f\x78\x3a\ | 704 | \x65\x3b\x0a\x20\x20\x20\x20\x6d\x69\x6e\x2d\x68\x65\x69\x67\x68\ |
4055 | 623 | \x3a\x74\x69\x74\x6c\x65\x20\x7b\x0a\x20\x20\x20\x20\x63\x6f\x6c\ | 705 | \x74\x3a\x20\x31\x30\x30\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x41\x62\ |
4056 | 624 | \x6f\x72\x3a\x20\x23\x33\x33\x33\x33\x33\x33\x3b\x0a\x7d\x0a\x0a\ | 706 | \x73\x74\x72\x61\x63\x74\x49\x74\x65\x6d\x56\x69\x65\x77\x20\x7b\ |
4057 | 625 | \x51\x4c\x69\x73\x74\x57\x69\x64\x67\x65\x74\x20\x7b\x0a\x20\x20\ | 707 | \x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\ |
4058 | 626 | \x20\x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x23\x66\ | 708 | \x65\x3a\x20\x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\ |
4059 | 627 | \x37\x66\x36\x66\x35\x3b\x0a\x20\x20\x20\x20\x61\x6c\x74\x65\x72\ | 709 | \x72\x64\x65\x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x33\x33\x33\ |
4060 | 628 | \x6e\x61\x74\x65\x2d\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x2d\ | 710 | \x33\x33\x33\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\ |
4061 | 629 | \x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x66\x65\x64\x65\x63\x3b\x0a\ | 711 | \x77\x69\x64\x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\ |
4062 | 630 | \x7d\x0a\x0a\x51\x4c\x69\x73\x74\x57\x69\x64\x67\x65\x74\x23\x6c\ | 712 | \x61\x6c\x74\x65\x72\x6e\x61\x74\x65\x2d\x62\x61\x63\x6b\x67\x72\ |
4063 | 631 | \x69\x73\x74\x44\x65\x76\x69\x63\x65\x73\x3a\x3a\x69\x74\x65\x6d\ | 713 | \x6f\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x65\x66\x65\ |
4064 | 632 | \x20\x7b\x0a\x20\x20\x20\x20\x6d\x69\x6e\x2d\x68\x65\x69\x67\x68\ | 714 | \x64\x65\x63\x3b\x0a\x20\x20\x20\x20\x62\x61\x63\x6b\x67\x72\x6f\ |
4065 | 633 | \x74\x3a\x20\x34\x38\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\x61\x62\ | 715 | \x75\x6e\x64\x3a\x20\x23\x66\x37\x66\x36\x66\x35\x3b\x0a\x7d\x0a\ |
4066 | 634 | \x65\x6c\x23\x6f\x74\x68\x65\x72\x5f\x64\x65\x76\x69\x63\x65\x73\ | 716 | \ |
3975 | 635 | \x5f\x6c\x61\x62\x65\x6c\x2c\x0a\x51\x4c\x61\x62\x65\x6c\x23\x74\ | ||
3976 | 636 | \x69\x74\x6c\x65\x5f\x6c\x61\x62\x65\x6c\x20\x7b\x0a\x20\x20\x20\ | ||
3977 | 637 | \x20\x66\x6f\x6e\x74\x3a\x20\x62\x6f\x6c\x64\x20\x31\x36\x70\x78\ | ||
3978 | 638 | \x3b\x0a\x7d\x0a\x0a\x51\x4c\x61\x62\x65\x6c\x23\x70\x65\x72\x63\ | ||
3979 | 639 | \x65\x6e\x74\x61\x67\x65\x5f\x75\x73\x61\x67\x65\x5f\x6c\x61\x62\ | ||
3980 | 640 | \x65\x6c\x20\x7b\x0a\x20\x20\x20\x20\x6d\x61\x72\x67\x69\x6e\x2d\ | ||
3981 | 641 | \x74\x6f\x70\x3a\x20\x2d\x34\x70\x78\x3b\x0a\x7d\x0a\x0a\x51\x4c\ | ||
3982 | 642 | \x61\x62\x65\x6c\x23\x66\x6f\x6c\x6c\x6f\x77\x5f\x75\x73\x5f\x6c\ | ||
3983 | 643 | \x61\x62\x65\x6c\x20\x7b\x0a\x20\x20\x20\x20\x63\x6f\x6c\x6f\x72\ | ||
3984 | 644 | \x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x7d\x0a\x0a\x51\x46\x72\x61\ | ||
3985 | 645 | \x6d\x65\x23\x66\x72\x6d\x5f\x62\x6f\x78\x20\x7b\x0a\x20\x20\x20\ | ||
3986 | 646 | \x20\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64\x3a\x20\x23\x66\x66\ | ||
3987 | 647 | \x66\x66\x66\x66\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\ | ||
3988 | 648 | \x2d\x72\x61\x64\x69\x75\x73\x3a\x20\x35\x70\x78\x3b\x0a\x20\x20\ | ||
3989 | 649 | \x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x73\x74\x79\x6c\x65\x3a\x20\ | ||
3990 | 650 | \x73\x6f\x6c\x69\x64\x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\ | ||
3991 | 651 | \x72\x2d\x63\x6f\x6c\x6f\x72\x3a\x20\x23\x39\x33\x39\x33\x38\x39\ | ||
3992 | 652 | \x3b\x0a\x20\x20\x20\x20\x62\x6f\x72\x64\x65\x72\x2d\x77\x69\x64\ | ||
3993 | 653 | \x74\x68\x3a\x20\x31\x70\x78\x3b\x0a\x20\x20\x20\x20\x63\x6f\x6c\ | ||
3994 | 654 | \x6f\x72\x3a\x20\x77\x68\x69\x74\x65\x3b\x0a\x20\x20\x20\x20\x6d\ | ||
3995 | 655 | \x69\x6e\x2d\x68\x65\x69\x67\x68\x74\x3a\x20\x31\x30\x30\x70\x78\ | ||
3996 | 656 | \x3b\x0a\x7d\x0a\x0a\x51\x57\x69\x64\x67\x65\x74\x20\x7b\x0a\x20\ | ||
3997 | 657 | \x20\x20\x20\x66\x6f\x6e\x74\x2d\x66\x61\x6d\x69\x6c\x79\x3a\x20\ | ||
3998 | 658 | \x22\x55\x62\x75\x6e\x74\x75\x22\x3b\x0a\x7d\x0a\ | ||
4067 | 659 | \x00\x00\x02\x6f\ | 717 | \x00\x00\x02\x6f\ |
4068 | 660 | \x89\ | 718 | \x89\ |
4069 | 661 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ | 719 | \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ |
4070 | @@ -23411,20 +23469,20 @@ | |||
4071 | 23411 | 23469 | ||
4072 | 23412 | qt_resource_struct = "\ | 23470 | qt_resource_struct = "\ |
4073 | 23413 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x0e\x00\x00\x00\x01\ | 23471 | \x00\x00\x00\x00\x00\x02\x00\x00\x00\x0e\x00\x00\x00\x01\ |
4075 | 23414 | \x00\x00\x01\xf0\x00\x00\x00\x00\x00\x01\x00\x05\xae\xdf\ | 23472 | \x00\x00\x01\xf0\x00\x00\x00\x00\x00\x01\x00\x05\xb2\x73\ |
4076 | 23415 | \x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe5\ | 23473 | \x00\x00\x00\x96\x00\x00\x00\x00\x00\x01\x00\x00\x0c\xe5\ |
4077 | 23416 | \x00\x00\x01\x3e\x00\x00\x00\x00\x00\x01\x00\x00\x17\xfe\ | 23474 | \x00\x00\x01\x3e\x00\x00\x00\x00\x00\x01\x00\x00\x17\xfe\ |
4078 | 23417 | \x00\x00\x00\x7e\x00\x00\x00\x00\x00\x01\x00\x00\x09\xc8\ | 23475 | \x00\x00\x00\x7e\x00\x00\x00\x00\x00\x01\x00\x00\x09\xc8\ |
4080 | 23418 | \x00\x00\x01\xb4\x00\x00\x00\x00\x00\x01\x00\x05\xa6\x8a\ | 23476 | \x00\x00\x01\xb4\x00\x00\x00\x00\x00\x01\x00\x05\xaa\x1e\ |
4081 | 23419 | \x00\x00\x00\x4a\x00\x00\x00\x00\x00\x01\x00\x00\x04\x92\ | 23477 | \x00\x00\x00\x4a\x00\x00\x00\x00\x00\x01\x00\x00\x04\x92\ |
4082 | 23420 | \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ | 23478 | \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ |
4083 | 23421 | \x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x00\x11\xb2\ | 23479 | \x00\x00\x00\xee\x00\x00\x00\x00\x00\x01\x00\x00\x11\xb2\ |
4084 | 23422 | \x00\x00\x00\x30\x00\x00\x00\x00\x00\x01\x00\x00\x01\xd5\ | 23480 | \x00\x00\x00\x30\x00\x00\x00\x00\x00\x01\x00\x00\x01\xd5\ |
4085 | 23423 | \x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\x0f\x83\ | 23481 | \x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\x0f\x83\ |
4086 | 23424 | \x00\x00\x01\x0a\x00\x00\x00\x00\x00\x01\x00\x00\x16\xd3\ | 23482 | \x00\x00\x01\x0a\x00\x00\x00\x00\x00\x01\x00\x00\x16\xd3\ |
4090 | 23425 | \x00\x00\x01\xd2\x00\x00\x00\x00\x00\x01\x00\x05\xaa\x16\ | 23483 | \x00\x00\x01\xd2\x00\x00\x00\x00\x00\x01\x00\x05\xad\xaa\ |
4091 | 23426 | \x00\x00\x01\x5e\x00\x00\x00\x00\x00\x01\x00\x00\x27\x1f\ | 23484 | \x00\x00\x01\x5e\x00\x00\x00\x00\x00\x01\x00\x00\x2a\xb3\ |
4092 | 23427 | \x00\x00\x01\x96\x00\x00\x00\x00\x00\x01\x00\x00\x29\x92\ | 23485 | \x00\x00\x01\x96\x00\x00\x00\x00\x00\x01\x00\x00\x2d\x26\ |
4093 | 23428 | " | 23486 | " |
4094 | 23429 | 23487 | ||
4095 | 23430 | def qInitResources(): | 23488 | def qInitResources(): |
4096 | 23431 | 23489 | ||
4097 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/loadingoverlay_ui.py' | |||
4098 | --- ubuntuone/controlpanel/gui/qt/ui/loadingoverlay_ui.py 2011-07-22 21:26:48 +0000 | |||
4099 | +++ ubuntuone/controlpanel/gui/qt/ui/loadingoverlay_ui.py 2011-08-12 19:16:23 +0000 | |||
4100 | @@ -2,7 +2,7 @@ | |||
4101 | 2 | 2 | ||
4102 | 3 | # Form implementation generated from reading ui file 'data/qt/loadingoverlay.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/loadingoverlay.ui' |
4103 | 4 | # | 4 | # |
4105 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
4106 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
4107 | 7 | # | 7 | # |
4108 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
4109 | @@ -19,8 +19,6 @@ | |||
4110 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
4111 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
4112 | 21 | Form.resize(702, 230) | 21 | Form.resize(702, 230) |
4113 | 22 | Form.setFrameShape(QtGui.QFrame.StyledPanel) | ||
4114 | 23 | Form.setFrameShadow(QtGui.QFrame.Raised) | ||
4115 | 24 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 22 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
4116 | 25 | self.verticalLayout.setContentsMargins(-1, 30, -1, -1) | 23 | self.verticalLayout.setContentsMargins(-1, 30, -1, -1) |
4117 | 26 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 24 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
4118 | @@ -30,9 +28,6 @@ | |||
4119 | 30 | self.horizontalLayout_2.addItem(spacerItem) | 28 | self.horizontalLayout_2.addItem(spacerItem) |
4120 | 31 | self.frm_box = QtGui.QFrame(Form) | 29 | self.frm_box = QtGui.QFrame(Form) |
4121 | 32 | self.frm_box.setMinimumSize(QtCore.QSize(0, 102)) | 30 | self.frm_box.setMinimumSize(QtCore.QSize(0, 102)) |
4122 | 33 | self.frm_box.setStyleSheet(_fromUtf8("")) | ||
4123 | 34 | self.frm_box.setFrameShape(QtGui.QFrame.StyledPanel) | ||
4124 | 35 | self.frm_box.setFrameShadow(QtGui.QFrame.Raised) | ||
4125 | 36 | self.frm_box.setObjectName(_fromUtf8("frm_box")) | 31 | self.frm_box.setObjectName(_fromUtf8("frm_box")) |
4126 | 37 | self.horizontalLayout = QtGui.QHBoxLayout(self.frm_box) | 32 | self.horizontalLayout = QtGui.QHBoxLayout(self.frm_box) |
4127 | 38 | self.horizontalLayout.setContentsMargins(-1, 0, -1, 30) | 33 | self.horizontalLayout.setContentsMargins(-1, 0, -1, 30) |
4128 | @@ -60,5 +55,5 @@ | |||
4129 | 60 | 55 | ||
4130 | 61 | def retranslateUi(self, Form): | 56 | def retranslateUi(self, Form): |
4131 | 62 | Form.setWindowTitle(_('Frame')) | 57 | Form.setWindowTitle(_('Frame')) |
4133 | 63 | self.label.setText(_('Please wait while we retrieve the information...')) | 58 | self.label.setText(_('Getting information, please wait...')) |
4134 | 64 | 59 | ||
4135 | 65 | 60 | ||
4136 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py' | |||
4137 | --- ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py 2011-07-22 21:26:48 +0000 | |||
4138 | +++ ubuntuone/controlpanel/gui/qt/ui/mainwindow_ui.py 2011-08-12 19:16:23 +0000 | |||
4139 | @@ -2,7 +2,7 @@ | |||
4140 | 2 | 2 | ||
4141 | 3 | # Form implementation generated from reading ui file 'data/qt/mainwindow.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/mainwindow.ui' |
4142 | 4 | # | 4 | # |
4144 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
4145 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
4146 | 7 | # | 7 | # |
4147 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
4148 | 9 | 9 | ||
4149 | === modified file 'ubuntuone/controlpanel/gui/qt/ui/preferences_ui.py' | |||
4150 | --- ubuntuone/controlpanel/gui/qt/ui/preferences_ui.py 2011-07-22 21:26:48 +0000 | |||
4151 | +++ ubuntuone/controlpanel/gui/qt/ui/preferences_ui.py 2011-08-12 19:16:23 +0000 | |||
4152 | @@ -2,7 +2,7 @@ | |||
4153 | 2 | 2 | ||
4154 | 3 | # Form implementation generated from reading ui file 'data/qt/preferences.ui' | 3 | # Form implementation generated from reading ui file 'data/qt/preferences.ui' |
4155 | 4 | # | 4 | # |
4157 | 5 | # Created: Fri Jul 22 17:06:43 2011 | 5 | # Created: Fri Aug 12 15:07:18 2011 |
4158 | 6 | # by: PyQt4 UI code generator 4.8.3 | 6 | # by: PyQt4 UI code generator 4.8.3 |
4159 | 7 | # | 7 | # |
4160 | 8 | # WARNING! All changes made in this file will be lost! | 8 | # WARNING! All changes made in this file will be lost! |
4161 | @@ -18,71 +18,74 @@ | |||
4162 | 18 | class Ui_Form(object): | 18 | class Ui_Form(object): |
4163 | 19 | def setupUi(self, Form): | 19 | def setupUi(self, Form): |
4164 | 20 | Form.setObjectName(_fromUtf8("Form")) | 20 | Form.setObjectName(_fromUtf8("Form")) |
4166 | 21 | Form.resize(469, 352) | 21 | Form.resize(433, 328) |
4167 | 22 | Form.setWindowTitle(_fromUtf8("Form")) | 22 | Form.setWindowTitle(_fromUtf8("Form")) |
4168 | 23 | Form.setStyleSheet(_fromUtf8("")) | 23 | Form.setStyleSheet(_fromUtf8("")) |
4169 | 24 | self.verticalLayout = QtGui.QVBoxLayout(Form) | 24 | self.verticalLayout = QtGui.QVBoxLayout(Form) |
4170 | 25 | self.verticalLayout.setMargin(0) | 25 | self.verticalLayout.setMargin(0) |
4171 | 26 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) | 26 | self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) |
4176 | 27 | self.verticalGroupBox = QtGui.QGroupBox(Form) | 27 | self.bandwidth_settings = QtGui.QGroupBox(Form) |
4177 | 28 | self.verticalGroupBox.setObjectName(_fromUtf8("verticalGroupBox")) | 28 | self.bandwidth_settings.setObjectName(_fromUtf8("bandwidth_settings")) |
4178 | 29 | self.gridLayout = QtGui.QGridLayout(self.verticalGroupBox) | 29 | self.gridLayout = QtGui.QGridLayout(self.bandwidth_settings) |
4179 | 30 | self.gridLayout.setVerticalSpacing(10) | 30 | self.gridLayout.setMargin(0) |
4180 | 31 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) | 31 | self.gridLayout.setObjectName(_fromUtf8("gridLayout")) |
4182 | 32 | self.limit_uploads_checkbox = QtGui.QCheckBox(self.verticalGroupBox) | 32 | self.limit_uploads_checkbox = QtGui.QCheckBox(self.bandwidth_settings) |
4183 | 33 | self.limit_uploads_checkbox.setObjectName(_fromUtf8("limit_uploads_checkbox")) | 33 | self.limit_uploads_checkbox.setObjectName(_fromUtf8("limit_uploads_checkbox")) |
4184 | 34 | self.gridLayout.addWidget(self.limit_uploads_checkbox, 0, 0, 1, 1) | 34 | self.gridLayout.addWidget(self.limit_uploads_checkbox, 0, 0, 1, 1) |
4186 | 35 | self.upload_speed_spinbox = QtGui.QSpinBox(self.verticalGroupBox) | 35 | self.upload_speed_spinbox = QtGui.QSpinBox(self.bandwidth_settings) |
4187 | 36 | self.upload_speed_spinbox.setMinimum(-1) | 36 | self.upload_speed_spinbox.setMinimum(-1) |
4188 | 37 | self.upload_speed_spinbox.setMaximum(999999999) | 37 | self.upload_speed_spinbox.setMaximum(999999999) |
4189 | 38 | self.upload_speed_spinbox.setObjectName(_fromUtf8("upload_speed_spinbox")) | 38 | self.upload_speed_spinbox.setObjectName(_fromUtf8("upload_speed_spinbox")) |
4190 | 39 | self.gridLayout.addWidget(self.upload_speed_spinbox, 0, 1, 1, 1) | 39 | self.gridLayout.addWidget(self.upload_speed_spinbox, 0, 1, 1, 1) |
4192 | 40 | self.kbps_label_1 = QtGui.QLabel(self.verticalGroupBox) | 40 | self.kbps_label_1 = QtGui.QLabel(self.bandwidth_settings) |
4193 | 41 | self.kbps_label_1.setObjectName(_fromUtf8("kbps_label_1")) | 41 | self.kbps_label_1.setObjectName(_fromUtf8("kbps_label_1")) |
4194 | 42 | self.gridLayout.addWidget(self.kbps_label_1, 0, 2, 1, 1) | 42 | self.gridLayout.addWidget(self.kbps_label_1, 0, 2, 1, 1) |
4196 | 43 | self.limit_downloads_checkbox = QtGui.QCheckBox(self.verticalGroupBox) | 43 | self.limit_downloads_checkbox = QtGui.QCheckBox(self.bandwidth_settings) |
4197 | 44 | self.limit_downloads_checkbox.setObjectName(_fromUtf8("limit_downloads_checkbox")) | 44 | self.limit_downloads_checkbox.setObjectName(_fromUtf8("limit_downloads_checkbox")) |
4198 | 45 | self.gridLayout.addWidget(self.limit_downloads_checkbox, 2, 0, 1, 1) | 45 | self.gridLayout.addWidget(self.limit_downloads_checkbox, 2, 0, 1, 1) |
4200 | 46 | self.download_speed_spinbox = QtGui.QSpinBox(self.verticalGroupBox) | 46 | self.download_speed_spinbox = QtGui.QSpinBox(self.bandwidth_settings) |
4201 | 47 | self.download_speed_spinbox.setMinimum(-1) | 47 | self.download_speed_spinbox.setMinimum(-1) |
4202 | 48 | self.download_speed_spinbox.setMaximum(999999999) | 48 | self.download_speed_spinbox.setMaximum(999999999) |
4203 | 49 | self.download_speed_spinbox.setObjectName(_fromUtf8("download_speed_spinbox")) | 49 | self.download_speed_spinbox.setObjectName(_fromUtf8("download_speed_spinbox")) |
4204 | 50 | self.gridLayout.addWidget(self.download_speed_spinbox, 2, 1, 1, 1) | 50 | self.gridLayout.addWidget(self.download_speed_spinbox, 2, 1, 1, 1) |
4206 | 51 | self.kbps_label_2 = QtGui.QLabel(self.verticalGroupBox) | 51 | self.kbps_label_2 = QtGui.QLabel(self.bandwidth_settings) |
4207 | 52 | self.kbps_label_2.setObjectName(_fromUtf8("kbps_label_2")) | 52 | self.kbps_label_2.setObjectName(_fromUtf8("kbps_label_2")) |
4208 | 53 | self.gridLayout.addWidget(self.kbps_label_2, 2, 2, 1, 1) | 53 | self.gridLayout.addWidget(self.kbps_label_2, 2, 2, 1, 1) |
4209 | 54 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 54 | spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
4210 | 55 | self.gridLayout.addItem(spacerItem, 0, 3, 1, 1) | 55 | self.gridLayout.addItem(spacerItem, 0, 3, 1, 1) |
4212 | 56 | self.label_2 = QtGui.QLabel(self.verticalGroupBox) | 56 | self.label_2 = QtGui.QLabel(self.bandwidth_settings) |
4213 | 57 | self.label_2.setScaledContents(False) | 57 | self.label_2.setScaledContents(False) |
4214 | 58 | self.label_2.setWordWrap(False) | 58 | self.label_2.setWordWrap(False) |
4215 | 59 | self.label_2.setObjectName(_fromUtf8("label_2")) | 59 | self.label_2.setObjectName(_fromUtf8("label_2")) |
4216 | 60 | self.gridLayout.addWidget(self.label_2, 4, 0, 1, 3) | 60 | self.gridLayout.addWidget(self.label_2, 4, 0, 1, 3) |
4217 | 61 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) | 61 | spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) |
4218 | 62 | self.gridLayout.addItem(spacerItem1, 3, 0, 1, 1) | 62 | self.gridLayout.addItem(spacerItem1, 3, 0, 1, 1) |
4224 | 63 | self.verticalLayout.addWidget(self.verticalGroupBox) | 63 | self.verticalLayout.addWidget(self.bandwidth_settings) |
4225 | 64 | self.groupBox_2 = QtGui.QGroupBox(Form) | 64 | self.file_sync_settings = QtGui.QGroupBox(Form) |
4226 | 65 | self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) | 65 | self.file_sync_settings.setObjectName(_fromUtf8("file_sync_settings")) |
4227 | 66 | self.verticalLayout_1 = QtGui.QVBoxLayout(self.groupBox_2) | 66 | self.verticalLayout_1 = QtGui.QVBoxLayout(self.file_sync_settings) |
4228 | 67 | self.verticalLayout_1.setSpacing(10) | 67 | self.verticalLayout_1.setMargin(0) |
4229 | 68 | self.verticalLayout_1.setObjectName(_fromUtf8("verticalLayout_1")) | 68 | self.verticalLayout_1.setObjectName(_fromUtf8("verticalLayout_1")) |
4231 | 69 | self.autoconnect_checkbox = QtGui.QCheckBox(self.groupBox_2) | 69 | self.autoconnect_checkbox = QtGui.QCheckBox(self.file_sync_settings) |
4232 | 70 | self.autoconnect_checkbox.setObjectName(_fromUtf8("autoconnect_checkbox")) | 70 | self.autoconnect_checkbox.setObjectName(_fromUtf8("autoconnect_checkbox")) |
4233 | 71 | self.verticalLayout_1.addWidget(self.autoconnect_checkbox) | 71 | self.verticalLayout_1.addWidget(self.autoconnect_checkbox) |
4235 | 72 | self.udf_autosubscribe_checkbox = QtGui.QCheckBox(self.groupBox_2) | 72 | self.udf_autosubscribe_checkbox = QtGui.QCheckBox(self.file_sync_settings) |
4236 | 73 | self.udf_autosubscribe_checkbox.setObjectName(_fromUtf8("udf_autosubscribe_checkbox")) | 73 | self.udf_autosubscribe_checkbox.setObjectName(_fromUtf8("udf_autosubscribe_checkbox")) |
4237 | 74 | self.verticalLayout_1.addWidget(self.udf_autosubscribe_checkbox) | 74 | self.verticalLayout_1.addWidget(self.udf_autosubscribe_checkbox) |
4239 | 75 | self.share_autosubscribe_checkbox = QtGui.QCheckBox(self.groupBox_2) | 75 | self.share_autosubscribe_checkbox = QtGui.QCheckBox(self.file_sync_settings) |
4240 | 76 | self.share_autosubscribe_checkbox.setObjectName(_fromUtf8("share_autosubscribe_checkbox")) | 76 | self.share_autosubscribe_checkbox.setObjectName(_fromUtf8("share_autosubscribe_checkbox")) |
4241 | 77 | self.verticalLayout_1.addWidget(self.share_autosubscribe_checkbox) | 77 | self.verticalLayout_1.addWidget(self.share_autosubscribe_checkbox) |
4243 | 78 | self.show_all_notifications_checkbox = QtGui.QCheckBox(self.groupBox_2) | 78 | self.show_all_notifications_checkbox = QtGui.QCheckBox(self.file_sync_settings) |
4244 | 79 | self.show_all_notifications_checkbox.setObjectName(_fromUtf8("show_all_notifications_checkbox")) | 79 | self.show_all_notifications_checkbox.setObjectName(_fromUtf8("show_all_notifications_checkbox")) |
4245 | 80 | self.verticalLayout_1.addWidget(self.show_all_notifications_checkbox) | 80 | self.verticalLayout_1.addWidget(self.show_all_notifications_checkbox) |
4247 | 81 | self.verticalLayout.addWidget(self.groupBox_2) | 81 | self.verticalLayout.addWidget(self.file_sync_settings) |
4248 | 82 | spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) | ||
4249 | 83 | self.verticalLayout.addItem(spacerItem2) | ||
4250 | 82 | self.horizontalLayout = QtGui.QHBoxLayout() | 84 | self.horizontalLayout = QtGui.QHBoxLayout() |
4251 | 85 | self.horizontalLayout.setMargin(3) | ||
4252 | 83 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) | 86 | self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) |
4255 | 84 | spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) | 87 | spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) |
4256 | 85 | self.horizontalLayout.addItem(spacerItem2) | 88 | self.horizontalLayout.addItem(spacerItem3) |
4257 | 86 | self.apply_changes_button = QtGui.QPushButton(Form) | 89 | self.apply_changes_button = QtGui.QPushButton(Form) |
4258 | 87 | self.apply_changes_button.setObjectName(_fromUtf8("apply_changes_button")) | 90 | self.apply_changes_button.setObjectName(_fromUtf8("apply_changes_button")) |
4259 | 88 | self.horizontalLayout.addWidget(self.apply_changes_button) | 91 | self.horizontalLayout.addWidget(self.apply_changes_button) |
4260 | @@ -90,20 +93,18 @@ | |||
4261 | 90 | self.restore_defaults_button.setObjectName(_fromUtf8("restore_defaults_button")) | 93 | self.restore_defaults_button.setObjectName(_fromUtf8("restore_defaults_button")) |
4262 | 91 | self.horizontalLayout.addWidget(self.restore_defaults_button) | 94 | self.horizontalLayout.addWidget(self.restore_defaults_button) |
4263 | 92 | self.verticalLayout.addLayout(self.horizontalLayout) | 95 | self.verticalLayout.addLayout(self.horizontalLayout) |
4264 | 93 | spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) | ||
4265 | 94 | self.verticalLayout.addItem(spacerItem3) | ||
4266 | 95 | 96 | ||
4267 | 96 | self.retranslateUi(Form) | 97 | self.retranslateUi(Form) |
4268 | 97 | QtCore.QMetaObject.connectSlotsByName(Form) | 98 | QtCore.QMetaObject.connectSlotsByName(Form) |
4269 | 98 | 99 | ||
4270 | 99 | def retranslateUi(self, Form): | 100 | def retranslateUi(self, Form): |
4272 | 100 | self.verticalGroupBox.setTitle(_('Bandwidth settings')) | 101 | self.bandwidth_settings.setTitle(_('Bandwidth settings')) |
4273 | 101 | self.limit_uploads_checkbox.setText(_('Limit upload speed to')) | 102 | self.limit_uploads_checkbox.setText(_('Limit upload speed to')) |
4274 | 102 | self.kbps_label_1.setText(_('Kilobits per second')) | 103 | self.kbps_label_1.setText(_('Kilobits per second')) |
4275 | 103 | self.limit_downloads_checkbox.setText(_('Limit download speed to')) | 104 | self.limit_downloads_checkbox.setText(_('Limit download speed to')) |
4276 | 104 | self.kbps_label_2.setText(_('Kilobits per second')) | 105 | self.kbps_label_2.setText(_('Kilobits per second')) |
4277 | 105 | self.label_2.setText(_('Please note that your files will not sync if you set bandwidth to 0')) | 106 | self.label_2.setText(_('Please note that your files will not sync if you set bandwidth to 0')) |
4279 | 106 | self.groupBox_2.setTitle(_('File Sync Settings')) | 107 | self.file_sync_settings.setTitle(_('File Sync Settings')) |
4280 | 107 | self.autoconnect_checkbox.setText(_('Connect automatically when computer starts')) | 108 | self.autoconnect_checkbox.setText(_('Connect automatically when computer starts')) |
4281 | 108 | self.udf_autosubscribe_checkbox.setText(_('Automatically sync all selected folders on this computer to the cloud')) | 109 | self.udf_autosubscribe_checkbox.setText(_('Automatically sync all selected folders on this computer to the cloud')) |
4282 | 109 | self.share_autosubscribe_checkbox.setText(_('Automatically sync all folders shared with me by other to this computer')) | 110 | self.share_autosubscribe_checkbox.setText(_('Automatically sync all folders shared with me by other to this computer')) |
4283 | 110 | 111 | ||
4284 | === modified file 'ubuntuone/controlpanel/gui/tests/test_url_sign.py' | |||
4285 | --- ubuntuone/controlpanel/gui/tests/test_url_sign.py 2011-07-22 21:26:48 +0000 | |||
4286 | +++ ubuntuone/controlpanel/gui/tests/test_url_sign.py 2011-08-12 19:16:23 +0000 | |||
4287 | @@ -29,7 +29,7 @@ | |||
4288 | 29 | u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', | 29 | u'token': u'GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo', |
4289 | 30 | u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'} | 30 | u'token_secret': u'qFYImEtlczPbsCnYyuwLoPDlPEnvNcIktZphPQklAWrvyfFMV'} |
4290 | 31 | 31 | ||
4292 | 32 | SAMPLE_SIGNED = 'https://one.ubuntu.com/api/1.0/from_oauth?oauth_nonce=' \ | 32 | SAMPLE_SIGNED = 'https://one.ubuntu.com/api/1.0/from_oauth/?oauth_nonce=' \ |
4293 | 33 | '36886134&oauth_timestamp=1310671062&oauth_consumer_key=consumer_key&' \ | 33 | '36886134&oauth_timestamp=1310671062&oauth_consumer_key=consumer_key&' \ |
4294 | 34 | 'oauth_signature_method=HMAC-SHA1&next=%2Fblah&oauth_version=1.0&' \ | 34 | 'oauth_signature_method=HMAC-SHA1&next=%2Fblah&oauth_version=1.0&' \ |
4295 | 35 | 'oauth_token=GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo&' \ | 35 | 'oauth_token=GkInOfSMGwTXAUoVQwLUoPxElEEUdhsLVNTPhxHJDUIeHCPNEo&' \ |
4296 | @@ -47,9 +47,15 @@ | |||
4297 | 47 | signed = sign_url("/blah", TOKEN) | 47 | signed = sign_url("/blah", TOKEN) |
4298 | 48 | parsed_signed = urlparse(signed) | 48 | parsed_signed = urlparse(signed) |
4299 | 49 | parsed_sample = urlparse(SAMPLE_SIGNED) | 49 | parsed_sample = urlparse(SAMPLE_SIGNED) |
4300 | 50 | |||
4301 | 51 | self.assertEqual(parsed_signed.netloc, parsed_sample.netloc) | 50 | self.assertEqual(parsed_signed.netloc, parsed_sample.netloc) |
4302 | 52 | 51 | ||
4303 | 52 | def test_is_correct_path(self): | ||
4304 | 53 | """Test that we are using the right path in the URL.""" | ||
4305 | 54 | signed = sign_url("/blah", TOKEN) | ||
4306 | 55 | parsed_signed = urlparse(signed) | ||
4307 | 56 | parsed_sample = urlparse(SAMPLE_SIGNED) | ||
4308 | 57 | self.assertEqual(parsed_signed.path, parsed_sample.path) | ||
4309 | 58 | |||
4310 | 53 | def test_is_correct_scheme(self): | 59 | def test_is_correct_scheme(self): |
4311 | 54 | """Test that we are using the right scheme.""" | 60 | """Test that we are using the right scheme.""" |
4312 | 55 | signed = sign_url("/blah", TOKEN) | 61 | signed = sign_url("/blah", TOKEN) |
4313 | 56 | 62 | ||
4314 | === modified file 'ubuntuone/controlpanel/logger.py' | |||
4315 | --- ubuntuone/controlpanel/logger.py 2011-01-25 19:08:59 +0000 | |||
4316 | +++ ubuntuone/controlpanel/logger.py 2011-08-12 19:16:23 +0000 | |||
4317 | @@ -26,7 +26,8 @@ | |||
4318 | 26 | from logging.handlers import RotatingFileHandler | 26 | from logging.handlers import RotatingFileHandler |
4319 | 27 | 27 | ||
4320 | 28 | # pylint: disable=F0401,E0611 | 28 | # pylint: disable=F0401,E0611 |
4322 | 29 | from ubuntuone.logger import LOGFOLDER, LOGBACKUP, basic_formatter | 29 | from ubuntuone.logger import LOGBACKUP, basic_formatter |
4323 | 30 | from ubuntuone.platform.xdg_base_directory import ubuntuone_log_dir | ||
4324 | 30 | 31 | ||
4325 | 31 | 32 | ||
4326 | 32 | if os.environ.get('DEBUG'): | 33 | if os.environ.get('DEBUG'): |
4327 | @@ -35,7 +36,8 @@ | |||
4328 | 35 | # Only log this level and above | 36 | # Only log this level and above |
4329 | 36 | LOG_LEVEL = logging.DEBUG # before final release, switch to INFO | 37 | LOG_LEVEL = logging.DEBUG # before final release, switch to INFO |
4330 | 37 | 38 | ||
4332 | 38 | MAIN_HANDLER = RotatingFileHandler(os.path.join(LOGFOLDER, 'controlpanel.log'), | 39 | FILE_NAME = os.path.join(ubuntuone_log_dir, 'controlpanel.log') |
4333 | 40 | MAIN_HANDLER = RotatingFileHandler(FILE_NAME, | ||
4334 | 39 | maxBytes=1048576, | 41 | maxBytes=1048576, |
4335 | 40 | backupCount=LOGBACKUP) | 42 | backupCount=LOGBACKUP) |
4336 | 41 | MAIN_HANDLER.setFormatter(basic_formatter) | 43 | MAIN_HANDLER.setFormatter(basic_formatter) |
Approved!