Changeset 649638
- Timestamp:
- 08/22/2014 01:43:37 PM (11 years ago)
- Branches:
- 2.0.x, develop, master
- Children:
- 1bc92e
- Parents:
- 14776d
- git-author:
- Calum Lind <calumlind+deluge@gmail.com> (08/22/2014 01:00:40 PM)
- git-committer:
- Calum Lind <calumlind+deluge@gmail.com> (08/22/2014 01:43:37 PM)
- Location:
- deluge/ui
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/common.py
r14776d r649638 40 40 41 41 import os 42 import sys43 42 import logging 44 import urlparse45 import locale46 43 from hashlib import sha1 as sha 47 44 … … 52 49 log = logging.getLogger(__name__) 53 50 51 54 52 # Dummy tranlation dict so Torrent states text is available for Translators 55 53 # All entries in deluge.common.TORRENT_STATE should be here. It does not need importing 56 54 # as the string matches the translation text so using the _() function is enough. 57 def _(message): return message 55 def _(message): 56 return message 58 57 STATE_TRANSLATION = { 59 58 "All": _("All"), … … 68 67 "Error": _("Error"), 69 68 } 69 70 TRACKER_STATUS_TRANSLATION = { 71 "Error": _("Error"), 72 "Warning": _("Warning"), 73 "Announce OK": _("Announce OK"), 74 "Announce Sent": _("Announce Sent") 75 } 70 76 del _ 77 71 78 72 79 class TorrentInfo(object): -
deluge/ui/gtkui/details_tab.py
r14776d r649638 22 22 23 23 def fdate_blank(value): 24 """Display value as date, eg 05/05/08 or blank"""24 """Display value as date, eg 05/05/08 or dash""" 25 25 if value > 0.0: 26 26 return fdate(value) 27 27 else: 28 return " "28 return "-" 29 29 30 30 … … 60 60 ] 61 61 62 self.status_keys = [status for widget in self.label_widgets for status in widget[2]] 63 62 64 def update(self): 63 65 # Get the first selected torrent … … 65 67 66 68 # Only use the first torrent in the list or return if None selected 67 if len(selected) != 0:69 if selected: 68 70 selected = selected[0] 69 71 else: … … 72 74 return 73 75 74 # Get the torrent status75 status_keys = ["name", "total_size", "num_files", "time_added", "completed_time",76 "download_location", "hash", "comment", "owner", "num_pieces", "piece_length",77 "shared", "private"]78 79 76 session = component.get("SessionProxy") 80 session.get_torrent_status(selected, s tatus_keys).addCallback(self._on_get_torrent_status)77 session.get_torrent_status(selected, self.status_keys).addCallback(self._on_get_torrent_status) 81 78 82 79 def _on_get_torrent_status(self, status): … … 88 85 for widget in self.label_widgets: 89 86 if widget[1] is not None: 90 args = []91 87 try: 92 for key in widget[2]: 93 args.append(status[key]) 94 except Exception, e: 95 log.debug("Unable to get status value: %s", e) 88 args = [status[key] for key in widget[2]] 89 except KeyError, ex: 90 log.debug("Unable to get status value: %s", ex) 96 91 continue 97 98 92 txt = widget[1](*args) 99 93 else: -
deluge/ui/gtkui/glade/main_window.tabs.ui
r14776d r649638 59 59 <property name="visible">True</property> 60 60 <property name="can_focus">False</property> 61 <property name="top_padding"> 10</property>61 <property name="top_padding">5</property> 62 62 <property name="bottom_padding">10</property> 63 <property name="left_padding">1 5</property>64 <property name="right_padding">1 5</property>63 <property name="left_padding">10</property> 64 <property name="right_padding">10</property> 65 65 <child> 66 66 <object class="GtkVBox" id="vbox3"> … … 69 69 <property name="spacing">5</property> 70 70 <child> 71 <object class="GtkVBox" id="status_progress_vbox"> 72 <property name="visible">True</property> 73 <property name="can_focus">False</property> 74 <child> 75 <object class="GtkProgressBar" id="progressbar"> 76 <property name="visible">True</property> 77 <property name="can_focus">False</property> 78 <property name="show_text">True</property> 79 <property name="pulse_step">0.10000000149</property> 71 <object class="GtkHBox" id="hbox3"> 72 <property name="visible">True</property> 73 <property name="can_focus">False</property> 74 <child> 75 <object class="GtkAlignment" id="alignment10"> 76 <property name="visible">True</property> 77 <property name="can_focus">False</property> 78 <property name="right_padding">5</property> 79 <child> 80 <object class="GtkLabel" id="label_status"> 81 <property name="visible">True</property> 82 <property name="can_focus">False</property> 83 <property name="xalign">0</property> 84 <property name="ypad">1</property> 85 <property name="label" translatable="yes">Status:</property> 86 <attributes> 87 <attribute name="weight" value="bold"/> 88 </attributes> 89 </object> 90 </child> 80 91 </object> 81 92 <packing> … … 86 97 </child> 87 98 <child> 99 <object class="GtkLabel" id="summary_torrent_status"> 100 <property name="visible">True</property> 101 <property name="can_focus">False</property> 102 <property name="xalign">0</property> 103 <property name="selectable">True</property> 104 </object> 105 <packing> 106 <property name="expand">True</property> 107 <property name="fill">True</property> 108 <property name="position">1</property> 109 </packing> 110 </child> 111 </object> 112 <packing> 113 <property name="expand">False</property> 114 <property name="fill">False</property> 115 <property name="position">0</property> 116 </packing> 117 </child> 118 <child> 119 <object class="GtkVBox" id="status_progress_vbox"> 120 <property name="visible">True</property> 121 <property name="can_focus">False</property> 122 <child> 123 <object class="GtkProgressBar" id="progressbar"> 124 <property name="visible">True</property> 125 <property name="can_focus">False</property> 126 <property name="show_text">True</property> 127 <property name="pulse_step">0.10000000149</property> 128 </object> 129 <packing> 130 <property name="expand">False</property> 131 <property name="fill">False</property> 132 <property name="position">0</property> 133 </packing> 134 </child> 135 <child> 88 136 <placeholder/> 89 137 </child> … … 92 140 <property name="expand">False</property> 93 141 <property name="fill">True</property> 94 <property name="position"> 0</property>142 <property name="position">1</property> 95 143 </packing> 96 144 </child> … … 99 147 <property name="visible">True</property> 100 148 <property name="can_focus">False</property> 101 <property name="n_rows"> 6</property>149 <property name="n_rows">5</property> 102 150 <property name="n_columns">8</property> 103 151 <property name="column_spacing">10</property> 104 152 <property name="row_spacing">5</property> 105 153 <child> 106 <object class="GtkLabel" id="summary_auto_managed"> 107 <property name="visible">True</property> 108 <property name="can_focus">False</property> 109 <property name="xalign">0</property> 110 </object> 111 <packing> 112 <property name="left_attach">5</property> 113 <property name="right_attach">6</property> 114 <property name="top_attach">3</property> 115 <property name="bottom_attach">4</property> 116 <property name="x_options">GTK_FILL</property> 117 </packing> 118 </child> 119 <child> 120 <object class="GtkLabel" id="label22"> 121 <property name="visible">True</property> 122 <property name="can_focus">False</property> 123 <property name="xalign">0</property> 124 <property name="label" translatable="yes">Auto Managed:</property> 154 <object class="GtkLabel" id="summary_availability"> 155 <property name="visible">True</property> 156 <property name="can_focus">False</property> 157 <property name="xalign">0</property> 158 <property name="wrap">True</property> 159 <property name="wrap_mode">word-char</property> 160 </object> 161 <packing> 162 <property name="left_attach">7</property> 163 <property name="right_attach">8</property> 164 <property name="top_attach">2</property> 165 <property name="bottom_attach">3</property> 166 <property name="x_options">GTK_FILL</property> 167 </packing> 168 </child> 169 <child> 170 <object class="GtkLabel" id="label47"> 171 <property name="visible">True</property> 172 <property name="can_focus">False</property> 173 <property name="xalign">0</property> 174 <property name="label" translatable="yes">Availability:</property> 125 175 <attributes> 126 176 <attribute name="weight" value="bold"/> … … 128 178 </object> 129 179 <packing> 130 <property name="left_attach"> 4</property>131 <property name="right_attach"> 5</property>132 <property name="top_attach"> 3</property>133 <property name="bottom_attach"> 4</property>134 <property name="x_options">GTK_FILL</property> 135 </packing> 136 </child> 137 <child> 138 <object class="GtkLabel" id="summary_ seed_time">180 <property name="left_attach">6</property> 181 <property name="right_attach">7</property> 182 <property name="top_attach">2</property> 183 <property name="bottom_attach">3</property> 184 <property name="x_options">GTK_FILL</property> 185 </packing> 186 </child> 187 <child> 188 <object class="GtkLabel" id="summary_peers"> 139 189 <property name="visible">True</property> 140 190 <property name="can_focus">False</property> … … 150 200 </child> 151 201 <child> 152 <object class="GtkLabel" id="label 19">153 <property name="visible">True</property> 154 <property name="can_focus">False</property> 155 <property name="xalign">0</property> 156 <property name="label" translatable="yes"> Seeding Time:</property>202 <object class="GtkLabel" id="label44"> 203 <property name="visible">True</property> 204 <property name="can_focus">False</property> 205 <property name="xalign">0</property> 206 <property name="label" translatable="yes">Peers:</property> 157 207 <attributes> 158 208 <attribute name="weight" value="bold"/> … … 168 218 </child> 169 219 <child> 170 <object class="GtkLabel" id="summary_ active_time">220 <object class="GtkLabel" id="summary_seeds"> 171 221 <property name="visible">True</property> 172 222 <property name="can_focus">False</property> … … 180 230 </child> 181 231 <child> 182 <object class="GtkLabel" id="label 7">183 <property name="visible">True</property> 184 <property name="can_focus">False</property> 185 <property name="xalign">0</property> 186 <property name="label" translatable="yes"> Active Time:</property>232 <object class="GtkLabel" id="label40"> 233 <property name="visible">True</property> 234 <property name="can_focus">False</property> 235 <property name="xalign">0</property> 236 <property name="label" translatable="yes">Seeds:</property> 187 237 <attributes> 188 238 <attribute name="weight" value="bold"/> … … 196 246 </child> 197 247 <child> 198 <object class="GtkLabel" id="summary_next_announce"> 199 <property name="visible">True</property> 200 <property name="can_focus">False</property> 201 <property name="xalign">0</property> 202 <property name="wrap">True</property> 248 <object class="GtkAlignment" id="alignment45"> 249 <property name="visible">True</property> 250 <property name="can_focus">False</property> 251 <property name="right_padding">5</property> 252 <child> 253 <object class="GtkLabel" id="label39"> 254 <property name="visible">True</property> 255 <property name="can_focus">False</property> 256 <property name="xalign">0</property> 257 <property name="label" translatable="yes">Uploaded:</property> 258 <attributes> 259 <attribute name="weight" value="bold"/> 260 </attributes> 261 </object> 262 </child> 263 </object> 264 <packing> 265 <property name="top_attach">3</property> 266 <property name="bottom_attach">4</property> 267 <property name="x_options">GTK_FILL</property> 268 </packing> 269 </child> 270 <child> 271 <object class="GtkAlignment" id="alignment44"> 272 <property name="visible">True</property> 273 <property name="can_focus">False</property> 274 <property name="right_padding">5</property> 275 <child> 276 <object class="GtkLabel" id="label38"> 277 <property name="visible">True</property> 278 <property name="can_focus">False</property> 279 <property name="xalign">0</property> 280 <property name="label" translatable="yes">Downloaded:</property> 281 <attributes> 282 <attribute name="weight" value="bold"/> 283 </attributes> 284 </object> 285 </child> 286 </object> 287 <packing> 288 <property name="top_attach">2</property> 289 <property name="bottom_attach">3</property> 290 <property name="x_options">GTK_FILL</property> 291 </packing> 292 </child> 293 <child> 294 <object class="GtkLabel" id="summary_total_uploaded"> 295 <property name="visible">True</property> 296 <property name="can_focus">False</property> 297 <property name="xalign">0</property> 298 <property name="xpad">5</property> 203 299 </object> 204 300 <packing> … … 211 307 </child> 212 308 <child> 213 <object class="GtkLabel" id="summary_availability"> 214 <property name="visible">True</property> 215 <property name="can_focus">False</property> 216 <property name="xalign">0</property> 217 <property name="wrap">True</property> 218 <property name="wrap_mode">word-char</property> 219 </object> 220 <packing> 221 <property name="left_attach">5</property> 222 <property name="right_attach">6</property> 223 <property name="top_attach">2</property> 224 <property name="bottom_attach">3</property> 225 <property name="x_options">GTK_FILL</property> 226 </packing> 227 </child> 228 <child> 229 <object class="GtkLabel" id="label47"> 230 <property name="visible">True</property> 231 <property name="can_focus">False</property> 232 <property name="xalign">0</property> 233 <property name="ypad">1</property> 234 <property name="label" translatable="yes">Availability:</property> 235 <attributes> 236 <attribute name="weight" value="bold"/> 237 </attributes> 238 </object> 239 <packing> 240 <property name="left_attach">4</property> 241 <property name="right_attach">5</property> 242 <property name="top_attach">2</property> 243 <property name="bottom_attach">3</property> 244 <property name="x_options">GTK_FILL</property> 245 </packing> 246 </child> 247 <child> 248 <object class="GtkLabel" id="summary_share_ratio"> 249 <property name="visible">True</property> 250 <property name="can_focus">False</property> 251 <property name="xalign">0</property> 309 <object class="GtkLabel" id="summary_total_downloaded"> 310 <property name="visible">True</property> 311 <property name="can_focus">False</property> 312 <property name="xalign">0</property> 313 <property name="xpad">5</property> 252 314 </object> 253 315 <packing> … … 260 322 </child> 261 323 <child> 262 <object class="GtkLabel" id="summary_peers"> 263 <property name="visible">True</property> 264 <property name="can_focus">False</property> 265 <property name="xalign">0</property> 266 </object> 267 <packing> 268 <property name="left_attach">5</property> 269 <property name="right_attach">6</property> 324 <object class="GtkAlignment" id="alignment48"> 325 <property name="visible">True</property> 326 <property name="can_focus">False</property> 327 <property name="right_padding">5</property> 328 <child> 329 <object class="GtkLabel" id="label42"> 330 <property name="visible">True</property> 331 <property name="can_focus">False</property> 332 <property name="xalign">0</property> 333 <property name="label" translatable="yes">Down Speed:</property> 334 <attributes> 335 <attribute name="weight" value="bold"/> 336 </attributes> 337 </object> 338 </child> 339 </object> 340 <packing> 341 <property name="x_options">GTK_FILL</property> 342 </packing> 343 </child> 344 <child> 345 <object class="GtkLabel" id="summary_download_speed"> 346 <property name="visible">True</property> 347 <property name="can_focus">False</property> 348 <property name="xalign">0</property> 349 <property name="xpad">5</property> 350 </object> 351 <packing> 352 <property name="left_attach">1</property> 353 <property name="right_attach">2</property> 354 <property name="x_options">GTK_FILL</property> 355 </packing> 356 </child> 357 <child> 358 <object class="GtkAlignment" id="alignment49"> 359 <property name="visible">True</property> 360 <property name="can_focus">False</property> 361 <property name="right_padding">5</property> 362 <child> 363 <object class="GtkLabel" id="label43"> 364 <property name="visible">True</property> 365 <property name="can_focus">False</property> 366 <property name="xalign">0</property> 367 <property name="label" translatable="yes">Up Speed:</property> 368 <attributes> 369 <attribute name="weight" value="bold"/> 370 </attributes> 371 </object> 372 </child> 373 </object> 374 <packing> 270 375 <property name="top_attach">1</property> 271 376 <property name="bottom_attach">2</property> … … 274 379 </child> 275 380 <child> 276 <object class="GtkLabel" id="label44"> 277 <property name="visible">True</property> 278 <property name="can_focus">False</property> 279 <property name="xalign">0</property> 280 <property name="label" translatable="yes">Peers:</property> 281 <attributes> 282 <attribute name="weight" value="bold"/> 283 </attributes> 284 </object> 285 <packing> 286 <property name="left_attach">4</property> 287 <property name="right_attach">5</property> 381 <object class="GtkLabel" id="summary_upload_speed"> 382 <property name="visible">True</property> 383 <property name="can_focus">False</property> 384 <property name="xalign">0</property> 385 <property name="xpad">5</property> 386 </object> 387 <packing> 388 <property name="left_attach">1</property> 389 <property name="right_attach">2</property> 288 390 <property name="top_attach">1</property> 289 391 <property name="bottom_attach">2</property> … … 292 394 </child> 293 395 <child> 294 <object class="GtkLabel" id="summary_seeds">295 <property name="visible">True</property>296 <property name="can_focus">False</property>297 <property name="xalign">0</property>298 </object>299 <packing>300 <property name="left_attach">5</property>301 <property name="right_attach">6</property>302 <property name="x_options">GTK_FILL</property>303 </packing>304 </child>305 <child>306 <object class="GtkLabel" id="label40">307 <property name="visible">True</property>308 <property name="can_focus">False</property>309 <property name="xalign">0</property>310 <property name="label" translatable="yes">Seeds:</property>311 <attributes>312 <attribute name="weight" value="bold"/>313 </attributes>314 </object>315 <packing>316 <property name="left_attach">4</property>317 <property name="right_attach">5</property>318 <property name="x_options">GTK_FILL</property>319 </packing>320 </child>321 <child>322 <object class="GtkAlignment" id="alignment51">323 <property name="visible">True</property>324 <property name="can_focus">False</property>325 <property name="left_padding">15</property>326 <property name="right_padding">5</property>327 <child>328 <placeholder/>329 </child>330 </object>331 <packing>332 <property name="left_attach">2</property>333 <property name="right_attach">3</property>334 <property name="top_attach">3</property>335 <property name="bottom_attach">4</property>336 <property name="x_options">GTK_FILL</property>337 </packing>338 </child>339 <child>340 396 <object class="GtkAlignment" id="alignment50"> 341 397 <property name="visible">True</property> 342 398 <property name="can_focus">False</property> 343 <property name="left_padding">15</property>344 399 <property name="right_padding">5</property> 345 400 <child> … … 356 411 </object> 357 412 <packing> 358 <property name="left_attach">2</property> 359 <property name="right_attach">3</property> 360 <property name="top_attach">2</property> 361 <property name="bottom_attach">3</property> 362 <property name="x_options">GTK_FILL</property> 363 </packing> 364 </child> 365 <child> 366 <object class="GtkAlignment" id="alignment49"> 367 <property name="visible">True</property> 368 <property name="can_focus">False</property> 369 <property name="left_padding">15</property> 370 <property name="right_padding">5</property> 371 <child> 372 <object class="GtkLabel" id="label43"> 373 <property name="visible">True</property> 374 <property name="can_focus">False</property> 375 <property name="xalign">0</property> 376 <property name="label" translatable="yes">Up Speed:</property> 377 <attributes> 378 <attribute name="weight" value="bold"/> 379 </attributes> 380 </object> 381 </child> 382 </object> 383 <packing> 384 <property name="left_attach">2</property> 385 <property name="right_attach">3</property> 386 <property name="top_attach">1</property> 387 <property name="bottom_attach">2</property> 388 <property name="x_options">GTK_FILL</property> 389 </packing> 390 </child> 391 <child> 392 <object class="GtkAlignment" id="alignment48"> 393 <property name="visible">True</property> 394 <property name="can_focus">False</property> 395 <property name="left_padding">15</property> 396 <property name="right_padding">5</property> 397 <child> 398 <object class="GtkLabel" id="label42"> 399 <property name="visible">True</property> 400 <property name="can_focus">False</property> 401 <property name="xalign">0</property> 402 <property name="label" translatable="yes">Down Speed:</property> 403 <attributes> 404 <attribute name="weight" value="bold"/> 405 </attributes> 406 </object> 407 </child> 408 </object> 409 <packing> 410 <property name="left_attach">2</property> 411 <property name="right_attach">3</property> 412 <property name="x_options">GTK_FILL</property> 413 </packing> 414 </child> 415 <child> 416 <object class="GtkAlignment" id="alignment47"> 417 <property name="visible">True</property> 418 <property name="can_focus">False</property> 419 <property name="right_padding">5</property> 420 <child> 421 <object class="GtkLabel" id="label53"> 422 <property name="visible">True</property> 423 <property name="can_focus">False</property> 424 <property name="xalign">0</property> 425 <property name="label" translatable="yes">Next Announce:</property> 426 <attributes> 427 <attribute name="weight" value="bold"/> 428 </attributes> 429 </object> 430 </child> 431 </object> 432 <packing> 433 <property name="top_attach">3</property> 434 <property name="bottom_attach">4</property> 435 <property name="x_options">GTK_FILL</property> 436 </packing> 437 </child> 438 <child> 439 <object class="GtkAlignment" id="alignment46"> 440 <property name="visible">True</property> 441 <property name="can_focus">False</property> 442 <property name="right_padding">5</property> 443 <child> 444 <object class="GtkLabel" id="label41"> 445 <property name="visible">True</property> 446 <property name="can_focus">False</property> 447 <property name="xalign">0</property> 448 <property name="label" translatable="yes">Share Ratio:</property> 449 <attributes> 450 <attribute name="weight" value="bold"/> 451 </attributes> 452 </object> 453 </child> 454 </object> 455 <packing> 456 <property name="top_attach">2</property> 457 <property name="bottom_attach">3</property> 458 <property name="x_options">GTK_FILL</property> 459 </packing> 460 </child> 461 <child> 462 <object class="GtkAlignment" id="alignment45"> 463 <property name="visible">True</property> 464 <property name="can_focus">False</property> 465 <property name="right_padding">5</property> 466 <child> 467 <object class="GtkLabel" id="label39"> 468 <property name="visible">True</property> 469 <property name="can_focus">False</property> 470 <property name="xalign">0</property> 471 <property name="label" translatable="yes">Uploaded:</property> 472 <attributes> 473 <attribute name="weight" value="bold"/> 474 </attributes> 475 </object> 476 </child> 477 </object> 478 <packing> 479 <property name="top_attach">1</property> 480 <property name="bottom_attach">2</property> 481 <property name="x_options">GTK_FILL</property> 482 </packing> 483 </child> 484 <child> 485 <object class="GtkAlignment" id="alignment44"> 486 <property name="visible">True</property> 487 <property name="can_focus">False</property> 488 <property name="right_padding">5</property> 489 <child> 490 <object class="GtkLabel" id="label38"> 491 <property name="visible">True</property> 492 <property name="can_focus">False</property> 493 <property name="xalign">0</property> 494 <property name="label" translatable="yes">Downloaded:</property> 495 <attributes> 496 <attribute name="weight" value="bold"/> 497 </attributes> 498 </object> 499 </child> 500 </object> 501 <packing> 502 <property name="x_options">GTK_FILL</property> 503 </packing> 504 </child> 505 <child> 506 <object class="GtkLabel" id="summary_upload_speed"> 507 <property name="visible">True</property> 508 <property name="can_focus">False</property> 509 <property name="xalign">0</property> 413 <property name="left_attach">3</property> 414 <property name="right_attach">4</property> 415 <property name="x_options">GTK_FILL</property> 416 </packing> 417 </child> 418 <child> 419 <object class="GtkLabel" id="summary_eta"> 420 <property name="visible">True</property> 421 <property name="can_focus">False</property> 422 <property name="xalign">0</property> 423 </object> 424 <packing> 425 <property name="left_attach">4</property> 426 <property name="right_attach">5</property> 427 <property name="x_options">GTK_FILL</property> 428 </packing> 429 </child> 430 <child> 431 <object class="GtkLabel" id="label7"> 432 <property name="visible">True</property> 433 <property name="can_focus">False</property> 434 <property name="xalign">0</property> 435 <property name="label" translatable="yes">Active Time:</property> 436 <attributes> 437 <attribute name="weight" value="bold"/> 438 </attributes> 510 439 </object> 511 440 <packing> … … 518 447 </child> 519 448 <child> 520 <object class="GtkLabel" id="summary_ total_uploaded">521 <property name="visible">True</property> 522 <property name="can_focus">False</property> 523 <property name="xalign">0</property> 524 </object> 525 <packing> 526 <property name="left_attach"> 1</property>527 <property name="right_attach"> 2</property>449 <object class="GtkLabel" id="summary_active_time"> 450 <property name="visible">True</property> 451 <property name="can_focus">False</property> 452 <property name="xalign">0</property> 453 </object> 454 <packing> 455 <property name="left_attach">4</property> 456 <property name="right_attach">5</property> 528 457 <property name="top_attach">1</property> 529 458 <property name="bottom_attach">2</property> … … 532 461 </child> 533 462 <child> 534 <object class="GtkLabel" id="summary_download_speed"> 535 <property name="visible">True</property> 536 <property name="can_focus">False</property> 537 <property name="xalign">0</property> 463 <object class="GtkLabel" id="label19"> 464 <property name="visible">True</property> 465 <property name="can_focus">False</property> 466 <property name="xalign">0</property> 467 <property name="label" translatable="yes">Seeding Time:</property> 468 <attributes> 469 <attribute name="weight" value="bold"/> 470 </attributes> 538 471 </object> 539 472 <packing> 540 473 <property name="left_attach">3</property> 541 474 <property name="right_attach">4</property> 542 <property name="x_options">GTK_FILL</property> 543 </packing> 544 </child> 545 <child> 546 <object class="GtkLabel" id="summary_total_downloaded"> 547 <property name="visible">True</property> 548 <property name="can_focus">False</property> 549 <property name="xalign">0</property> 550 </object> 551 <packing> 552 <property name="left_attach">1</property> 553 <property name="right_attach">2</property> 475 <property name="top_attach">2</property> 476 <property name="bottom_attach">3</property> 477 <property name="x_options">GTK_FILL</property> 478 </packing> 479 </child> 480 <child> 481 <object class="GtkLabel" id="summary_seed_time"> 482 <property name="visible">True</property> 483 <property name="can_focus">False</property> 484 <property name="xalign">0</property> 485 </object> 486 <packing> 487 <property name="left_attach">4</property> 488 <property name="right_attach">5</property> 489 <property name="top_attach">2</property> 490 <property name="bottom_attach">3</property> 554 491 <property name="x_options">GTK_FILL</property> 555 492 </packing> … … 560 497 <property name="can_focus">False</property> 561 498 <property name="xalign">0</property> 562 <property name="yalign">0</property>563 499 <property name="label" translatable="yes">Complete Seen:</property> 564 500 <attributes> … … 569 505 <property name="left_attach">6</property> 570 506 <property name="right_attach">7</property> 571 <property name="top_attach">2</property> 572 <property name="bottom_attach">3</property> 573 <property name="x_options">GTK_FILL</property> 574 <property name="y_options">GTK_FILL</property> 507 <property name="top_attach">3</property> 508 <property name="bottom_attach">4</property> 509 <property name="x_options">GTK_FILL</property> 575 510 </packing> 576 511 </child> … … 586 521 <property name="left_attach">7</property> 587 522 <property name="right_attach">8</property> 588 <property name="top_attach">2</property> 589 <property name="bottom_attach">3</property> 590 <property name="y_options">GTK_FILL</property> 523 <property name="top_attach">3</property> 524 <property name="bottom_attach">4</property> 525 <property name="x_options">GTK_FILL</property> 526 </packing> 527 </child> 528 <child> 529 <object class="GtkLabel" id="label41"> 530 <property name="visible">True</property> 531 <property name="can_focus">False</property> 532 <property name="xalign">0</property> 533 <property name="label" translatable="yes">Share Ratio:</property> 534 <attributes> 535 <attribute name="weight" value="bold"/> 536 </attributes> 537 </object> 538 <packing> 539 <property name="left_attach">3</property> 540 <property name="right_attach">4</property> 541 <property name="top_attach">3</property> 542 <property name="bottom_attach">4</property> 543 <property name="x_options">GTK_FILL</property> 544 </packing> 545 </child> 546 <child> 547 <object class="GtkLabel" id="summary_share_ratio"> 548 <property name="visible">True</property> 549 <property name="can_focus">False</property> 550 <property name="xalign">0</property> 551 </object> 552 <packing> 553 <property name="left_attach">4</property> 554 <property name="right_attach">5</property> 555 <property name="top_attach">3</property> 556 <property name="bottom_attach">4</property> 557 <property name="x_options">GTK_FILL</property> 558 </packing> 559 </child> 560 <child> 561 <object class="GtkVSeparator" id="vseparator1"> 562 <property name="visible">True</property> 563 <property name="can_focus">False</property> 564 </object> 565 <packing> 566 <property name="left_attach">2</property> 567 <property name="right_attach">3</property> 568 <property name="bottom_attach">5</property> 569 <property name="x_options">GTK_SHRINK</property> 570 </packing> 571 </child> 572 <child> 573 <object class="GtkVSeparator" id="vseparator2"> 574 <property name="visible">True</property> 575 <property name="can_focus">False</property> 576 </object> 577 <packing> 578 <property name="left_attach">5</property> 579 <property name="right_attach">6</property> 580 <property name="bottom_attach">5</property> 581 <property name="x_options">GTK_SHRINK</property> 591 582 </packing> 592 583 </child> … … 602 593 </object> 603 594 <packing> 604 <property name="left_attach">6</property> 605 <property name="right_attach">7</property> 606 <property name="top_attach">3</property> 607 <property name="bottom_attach">4</property> 608 <property name="x_options">GTK_FILL</property> 609 </packing> 610 </child> 611 <child> 612 <object class="GtkLabel" id="summary_seed_rank"> 613 <property name="visible">True</property> 614 <property name="can_focus">False</property> 615 <property name="xalign">0</property> 616 </object> 617 <packing> 618 <property name="left_attach">7</property> 619 <property name="right_attach">8</property> 620 <property name="top_attach">3</property> 621 <property name="bottom_attach">4</property> 622 <property name="x_options">GTK_FILL</property> 623 </packing> 624 </child> 625 <child> 626 <object class="GtkLabel" id="summary_tracker"> 627 <property name="visible">True</property> 628 <property name="can_focus">False</property> 629 <property name="xalign">0</property> 630 <property name="wrap_mode">char</property> 631 <property name="selectable">True</property> 632 </object> 633 <packing> 634 <property name="left_attach">1</property> 635 <property name="right_attach">4</property> 636 <property name="top_attach">5</property> 637 <property name="bottom_attach">6</property> 638 <property name="y_options"></property> 639 </packing> 640 </child> 641 <child> 642 <object class="GtkLabel" id="summary_tracker_status"> 643 <property name="visible">True</property> 644 <property name="can_focus">False</property> 645 <property name="xalign">0</property> 646 <property name="wrap">True</property> 647 <property name="wrap_mode">char</property> 648 <property name="selectable">True</property> 649 </object> 650 <packing> 651 <property name="left_attach">5</property> 652 <property name="right_attach">8</property> 653 <property name="top_attach">5</property> 654 <property name="bottom_attach">6</property> 655 <property name="y_options">GTK_FILL</property> 656 </packing> 657 </child> 658 <child> 659 <object class="GtkLabel" id="label52"> 660 <property name="visible">True</property> 661 <property name="can_focus">False</property> 662 <property name="xalign">0</property> 663 <property name="yalign">0</property> 664 <property name="label" translatable="yes">Tracker Status:</property> 665 <attributes> 666 <attribute name="weight" value="bold"/> 667 </attributes> 668 </object> 669 <packing> 670 <property name="left_attach">4</property> 671 <property name="right_attach">5</property> 672 <property name="top_attach">5</property> 673 <property name="bottom_attach">6</property> 674 <property name="x_options">GTK_FILL</property> 675 <property name="y_options">GTK_FILL</property> 676 </packing> 677 </child> 678 <child> 679 <object class="GtkAlignment" id="alignment6"> 680 <property name="visible">True</property> 681 <property name="can_focus">False</property> 682 <property name="right_padding">5</property> 683 <child> 684 <object class="GtkLabel" id="label_tracker"> 685 <property name="visible">True</property> 686 <property name="can_focus">False</property> 687 <property name="xalign">0</property> 688 <property name="ypad">1</property> 689 <property name="label" translatable="yes">Tracker:</property> 690 <attributes> 691 <attribute name="weight" value="bold"/> 692 </attributes> 693 </object> 694 </child> 695 </object> 696 <packing> 697 <property name="top_attach">5</property> 698 <property name="bottom_attach">6</property> 699 <property name="x_options">GTK_FILL</property> 700 </packing> 701 </child> 702 <child> 703 <object class="GtkLabel" id="label_status"> 704 <property name="visible">True</property> 705 <property name="can_focus">False</property> 706 <property name="xalign">0</property> 707 <property name="ypad">1</property> 708 <property name="label" translatable="yes">Torrent Status:</property> 709 <attributes> 710 <attribute name="weight" value="bold"/> 711 </attributes> 712 </object> 713 <packing> 714 <property name="top_attach">4</property> 715 <property name="bottom_attach">5</property> 716 </packing> 717 </child> 718 <child> 719 <object class="GtkLabel" id="summary_torrent_status"> 720 <property name="visible">True</property> 721 <property name="can_focus">False</property> 722 <property name="xalign">0</property> 723 <property name="selectable">True</property> 724 </object> 725 <packing> 726 <property name="left_attach">1</property> 595 <property name="left_attach">3</property> 727 596 <property name="right_attach">4</property> 728 597 <property name="top_attach">4</property> 729 598 <property name="bottom_attach">5</property> 730 <property name="y_options"></property> 731 </packing> 732 </child> 733 <child> 734 <object class="GtkLabel" id="summary_eta"> 735 <property name="visible">True</property> 736 <property name="can_focus">False</property> 737 <property name="xalign">0</property> 738 </object> 739 <packing> 740 <property name="left_attach">3</property> 741 <property name="right_attach">4</property> 742 <property name="top_attach">2</property> 743 <property name="bottom_attach">3</property> 744 <property name="x_options">GTK_FILL</property> 745 </packing> 746 </child> 747 <child> 748 <placeholder/> 599 <property name="x_options">GTK_FILL</property> 600 </packing> 601 </child> 602 <child> 603 <object class="GtkLabel" id="summary_seed_rank"> 604 <property name="visible">True</property> 605 <property name="can_focus">False</property> 606 <property name="xalign">0</property> 607 </object> 608 <packing> 609 <property name="left_attach">4</property> 610 <property name="right_attach">5</property> 611 <property name="top_attach">4</property> 612 <property name="bottom_attach">5</property> 613 <property name="x_options">GTK_FILL</property> 614 </packing> 749 615 </child> 750 616 <child> … … 764 630 <property name="expand">False</property> 765 631 <property name="fill">False</property> 766 <property name="position"> 1</property>632 <property name="position">2</property> 767 633 </packing> 768 634 </child> … … 784 650 <property name="visible">True</property> 785 651 <property name="can_focus">False</property> 652 <property name="xpad">2</property> 786 653 <property name="stock">gtk-dialog-info</property> 787 654 </object> … … 826 693 <property name="visible">True</property> 827 694 <property name="can_focus">False</property> 695 <property name="yalign">0</property> 696 <property name="yscale">0</property> 828 697 <property name="top_padding">10</property> 829 698 <property name="bottom_padding">10</property> 830 <property name="left_padding">1 5</property>699 <property name="left_padding">10</property> 831 700 <property name="right_padding">15</property> 832 701 <child> … … 834 703 <property name="visible">True</property> 835 704 <property name="can_focus">False</property> 836 <property name="n_rows"> 7</property>837 <property name="n_columns"> 2</property>705 <property name="n_rows">6</property> 706 <property name="n_columns">5</property> 838 707 <property name="column_spacing">10</property> 839 <property name="row_spacing">6</property> 708 <property name="row_spacing">5</property> 709 <child> 710 <object class="GtkLabel" id="summary_name"> 711 <property name="width_request">200</property> 712 <property name="visible">True</property> 713 <property name="can_focus">False</property> 714 <property name="xalign">0</property> 715 <property name="wrap">True</property> 716 <property name="wrap_mode">char</property> 717 <property name="selectable">True</property> 718 </object> 719 <packing> 720 <property name="left_attach">1</property> 721 <property name="right_attach">2</property> 722 <property name="y_options">GTK_EXPAND</property> 723 </packing> 724 </child> 725 <child> 726 <object class="GtkLabel" id="label_date_added"> 727 <property name="visible">True</property> 728 <property name="can_focus">False</property> 729 <property name="xalign">0</property> 730 <property name="label" translatable="yes">Added:</property> 731 <attributes> 732 <attribute name="weight" value="bold"/> 733 </attributes> 734 </object> 735 <packing> 736 <property name="left_attach">3</property> 737 <property name="right_attach">4</property> 738 <property name="x_options">GTK_FILL</property> 739 <property name="y_options"></property> 740 </packing> 741 </child> 742 <child> 743 <object class="GtkLabel" id="summary_date_added"> 744 <property name="width_request">100</property> 745 <property name="visible">True</property> 746 <property name="can_focus">False</property> 747 <property name="xalign">0</property> 748 </object> 749 <packing> 750 <property name="left_attach">4</property> 751 <property name="right_attach">5</property> 752 <property name="x_options">GTK_SHRINK | GTK_FILL</property> 753 <property name="y_options"></property> 754 </packing> 755 </child> 756 <child> 757 <object class="GtkLabel" id="label_completed"> 758 <property name="visible">True</property> 759 <property name="can_focus">False</property> 760 <property name="xalign">0</property> 761 <property name="label" translatable="yes">Completed:</property> 762 <attributes> 763 <attribute name="weight" value="bold"/> 764 </attributes> 765 </object> 766 <packing> 767 <property name="left_attach">3</property> 768 <property name="right_attach">4</property> 769 <property name="top_attach">3</property> 770 <property name="bottom_attach">4</property> 771 <property name="x_options">GTK_FILL</property> 772 <property name="y_options"></property> 773 </packing> 774 </child> 775 <child> 776 <object class="GtkLabel" id="summary_completed"> 777 <property name="visible">True</property> 778 <property name="can_focus">False</property> 779 <property name="xalign">0</property> 780 </object> 781 <packing> 782 <property name="left_attach">4</property> 783 <property name="right_attach">5</property> 784 <property name="top_attach">3</property> 785 <property name="bottom_attach">4</property> 786 <property name="x_options">GTK_FILL</property> 787 <property name="y_options"></property> 788 </packing> 789 </child> 790 <child> 791 <object class="GtkLabel" id="label_owner"> 792 <property name="visible">True</property> 793 <property name="can_focus">False</property> 794 <property name="xalign">0</property> 795 <property name="label" translatable="yes">Owner:</property> 796 <attributes> 797 <attribute name="weight" value="bold"/> 798 </attributes> 799 </object> 800 <packing> 801 <property name="left_attach">3</property> 802 <property name="right_attach">4</property> 803 <property name="top_attach">4</property> 804 <property name="bottom_attach">5</property> 805 <property name="x_options">GTK_FILL</property> 806 <property name="y_options"></property> 807 </packing> 808 </child> 809 <child> 810 <object class="GtkLabel" id="summary_owner"> 811 <property name="visible">True</property> 812 <property name="can_focus">False</property> 813 <property name="xalign">0</property> 814 <property name="wrap_mode">char</property> 815 <property name="selectable">True</property> 816 </object> 817 <packing> 818 <property name="left_attach">4</property> 819 <property name="right_attach">5</property> 820 <property name="top_attach">4</property> 821 <property name="bottom_attach">5</property> 822 <property name="x_options">GTK_FILL</property> 823 <property name="y_options"></property> 824 </packing> 825 </child> 826 <child> 827 <object class="GtkLabel" id="label_shared"> 828 <property name="visible">True</property> 829 <property name="can_focus">False</property> 830 <property name="xalign">0</property> 831 <property name="label" translatable="yes">Shared:</property> 832 <attributes> 833 <attribute name="weight" value="bold"/> 834 </attributes> 835 </object> 836 <packing> 837 <property name="left_attach">3</property> 838 <property name="right_attach">4</property> 839 <property name="top_attach">5</property> 840 <property name="bottom_attach">6</property> 841 <property name="x_options">GTK_FILL</property> 842 <property name="y_options"></property> 843 </packing> 844 </child> 845 <child> 846 <object class="GtkLabel" id="summary_shared"> 847 <property name="visible">True</property> 848 <property name="can_focus">False</property> 849 <property name="xalign">0</property> 850 <property name="wrap_mode">char</property> 851 <property name="selectable">True</property> 852 </object> 853 <packing> 854 <property name="left_attach">4</property> 855 <property name="right_attach">5</property> 856 <property name="top_attach">5</property> 857 <property name="bottom_attach">6</property> 858 <property name="x_options">GTK_FILL</property> 859 <property name="y_options"></property> 860 </packing> 861 </child> 862 <child> 863 <object class="GtkLabel" id="label_path"> 864 <property name="visible">True</property> 865 <property name="can_focus">False</property> 866 <property name="xalign">0</property> 867 <property name="label" translatable="yes">Download Folder:</property> 868 <attributes> 869 <attribute name="weight" value="bold"/> 870 </attributes> 871 </object> 872 <packing> 873 <property name="top_attach">3</property> 874 <property name="bottom_attach">4</property> 875 <property name="x_options">GTK_FILL</property> 876 <property name="y_options"></property> 877 </packing> 878 </child> 879 <child> 880 <object class="GtkLabel" id="summary_torrent_path"> 881 <property name="visible">True</property> 882 <property name="can_focus">False</property> 883 <property name="xalign">0</property> 884 <property name="wrap">True</property> 885 <property name="wrap_mode">char</property> 886 <property name="selectable">True</property> 887 </object> 888 <packing> 889 <property name="left_attach">1</property> 890 <property name="right_attach">2</property> 891 <property name="top_attach">3</property> 892 <property name="bottom_attach">4</property> 893 <property name="y_options"></property> 894 </packing> 895 </child> 896 <child> 897 <object class="GtkLabel" id="label_hash"> 898 <property name="visible">True</property> 899 <property name="can_focus">False</property> 900 <property name="xalign">0</property> 901 <property name="label" translatable="yes">Hash:</property> 902 <attributes> 903 <attribute name="weight" value="bold"/> 904 </attributes> 905 </object> 906 <packing> 907 <property name="top_attach">4</property> 908 <property name="bottom_attach">5</property> 909 <property name="x_options">GTK_FILL</property> 910 <property name="y_options"></property> 911 </packing> 912 </child> 913 <child> 914 <object class="GtkLabel" id="summary_hash"> 915 <property name="visible">True</property> 916 <property name="can_focus">False</property> 917 <property name="xalign">0</property> 918 <property name="wrap">True</property> 919 <property name="wrap_mode">char</property> 920 <property name="selectable">True</property> 921 </object> 922 <packing> 923 <property name="left_attach">1</property> 924 <property name="right_attach">2</property> 925 <property name="top_attach">4</property> 926 <property name="bottom_attach">5</property> 927 <property name="y_options"></property> 928 </packing> 929 </child> 840 930 <child> 841 931 <object class="GtkLabel" id="label_comments"> … … 849 939 </object> 850 940 <packing> 851 <property name="top_attach"> 6</property>852 <property name="bottom_attach"> 7</property>853 <property name="x_options">GTK_ SHRINK | GTK_FILL</property>854 <property name="y_options"> GTK_FILL</property>941 <property name="top_attach">5</property> 942 <property name="bottom_attach">6</property> 943 <property name="x_options">GTK_FILL</property> 944 <property name="y_options"></property> 855 945 </packing> 856 946 </child> 857 947 <child> 858 948 <object class="GtkLabel" id="summary_comments"> 949 <property name="width_request">150</property> 859 950 <property name="visible">True</property> 860 951 <property name="can_focus">False</property> … … 866 957 <property name="left_attach">1</property> 867 958 <property name="right_attach">2</property> 868 <property name="top_attach">6</property> 869 <property name="bottom_attach">7</property> 870 <property name="y_options"></property> 871 </packing> 872 </child> 873 <child> 874 <object class="GtkLabel" id="summary_name"> 875 <property name="visible">True</property> 876 <property name="can_focus">False</property> 877 <property name="xalign">0</property> 878 <property name="wrap">True</property> 879 <property name="wrap_mode">char</property> 880 <property name="selectable">True</property> 881 </object> 882 <packing> 883 <property name="left_attach">1</property> 884 <property name="right_attach">2</property> 885 <property name="y_options"></property> 959 <property name="top_attach">5</property> 960 <property name="bottom_attach">6</property> 961 <property name="y_options"></property> 962 </packing> 963 </child> 964 <child> 965 <object class="GtkVSeparator" id="vseparator5"> 966 <property name="visible">True</property> 967 <property name="can_focus">False</property> 968 </object> 969 <packing> 970 <property name="left_attach">2</property> 971 <property name="right_attach">3</property> 972 <property name="bottom_attach">6</property> 973 <property name="x_options">GTK_SHRINK</property> 886 974 </packing> 887 975 </child> … … 891 979 <property name="can_focus">False</property> 892 980 <property name="xalign">0</property> 893 <property name="ypad">1</property>894 981 <property name="label" translatable="yes">Name:</property> 895 982 <attributes> … … 898 985 </object> 899 986 <packing> 900 <property name="x_options">GTK_ SHRINK | GTK_FILL</property>901 <property name="y_options"> GTK_FILL</property>902 </packing> 903 </child> 904 <child> 905 <object class="GtkLabel" id="label_ hash">906 <property name="visible">True</property> 907 <property name="can_focus">False</property> 908 <property name="xalign">0</property> 909 <property name="label" translatable="yes"> Hash:</property>987 <property name="x_options">GTK_FILL</property> 988 <property name="y_options"></property> 989 </packing> 990 </child> 991 <child> 992 <object class="GtkLabel" id="label_total_size"> 993 <property name="visible">True</property> 994 <property name="can_focus">False</property> 995 <property name="xalign">0</property> 996 <property name="label" translatable="yes">Total Size:</property> 910 997 <attributes> 911 998 <attribute name="weight" value="bold"/> … … 913 1000 </object> 914 1001 <packing> 915 <property name="top_attach">5</property> 916 <property name="bottom_attach">6</property> 917 <property name="x_options">GTK_SHRINK | GTK_FILL</property> 918 <property name="y_options"></property> 919 </packing> 920 </child> 921 <child> 922 <object class="GtkLabel" id="summary_hash"> 923 <property name="visible">True</property> 924 <property name="can_focus">False</property> 925 <property name="xalign">0</property> 926 <property name="wrap">True</property> 927 <property name="wrap_mode">char</property> 1002 <property name="top_attach">1</property> 1003 <property name="bottom_attach">2</property> 1004 <property name="x_options">GTK_FILL</property> 1005 <property name="y_options"></property> 1006 </packing> 1007 </child> 1008 <child> 1009 <object class="GtkLabel" id="summary_total_size"> 1010 <property name="width_request">60</property> 1011 <property name="visible">True</property> 1012 <property name="can_focus">False</property> 1013 <property name="xalign">0</property> 928 1014 <property name="selectable">True</property> 929 1015 </object> … … 931 1017 <property name="left_attach">1</property> 932 1018 <property name="right_attach">2</property> 933 <property name="top_attach">5</property>934 <property name="bottom_attach">6</property>935 <property name="y_options"></property>936 </packing>937 </child>938 <child>939 <object class="GtkTable" id="table2">940 <property name="visible">True</property>941 <property name="can_focus">False</property>942 <property name="n_rows">3</property>943 <property name="n_columns">6</property>944 <property name="column_spacing">10</property>945 <property name="row_spacing">5</property>946 <child>947 <object class="GtkLabel" id="label_num_files">948 <property name="visible">True</property>949 <property name="can_focus">False</property>950 <property name="xalign">0</property>951 <property name="ypad">1</property>952 <property name="label" translatable="yes">Total Files:</property>953 <attributes>954 <attribute name="weight" value="bold"/>955 </attributes>956 </object>957 <packing>958 <property name="left_attach">2</property>959 <property name="right_attach">3</property>960 <property name="x_options">GTK_FILL</property>961 </packing>962 </child>963 <child>964 <object class="GtkLabel" id="label_total_size">965 <property name="visible">True</property>966 <property name="can_focus">False</property>967 <property name="xalign">0</property>968 <property name="ypad">1</property>969 <property name="label" translatable="yes">Total Size:</property>970 <attributes>971 <attribute name="weight" value="bold"/>972 </attributes>973 </object>974 <packing>975 <property name="x_options">GTK_SHRINK | GTK_FILL</property>976 </packing>977 </child>978 <child>979 <object class="GtkLabel" id="summary_total_size">980 <property name="visible">True</property>981 <property name="can_focus">False</property>982 <property name="xalign">0</property>983 <property name="selectable">True</property>984 </object>985 <packing>986 <property name="left_attach">1</property>987 <property name="right_attach">2</property>988 <property name="x_options">GTK_FILL</property>989 <property name="y_options"></property>990 </packing>991 </child>992 <child>993 <object class="GtkLabel" id="summary_num_files">994 <property name="visible">True</property>995 <property name="can_focus">False</property>996 <property name="xalign">0</property>997 <property name="selectable">True</property>998 </object>999 <packing>1000 <property name="left_attach">3</property>1001 <property name="right_attach">4</property>1002 <property name="x_options">GTK_FILL</property>1003 <property name="y_options"></property>1004 </packing>1005 </child>1006 <child>1007 <object class="GtkLabel" id="label_pieces">1008 <property name="visible">True</property>1009 <property name="can_focus">False</property>1010 <property name="xalign">0</property>1011 <property name="label" translatable="yes">Pieces:</property>1012 <attributes>1013 <attribute name="weight" value="bold"/>1014 </attributes>1015 </object>1016 <packing>1017 <property name="left_attach">4</property>1018 <property name="right_attach">5</property>1019 <property name="x_options">GTK_FILL</property>1020 <property name="y_options">GTK_FILL</property>1021 </packing>1022 </child>1023 <child>1024 <object class="GtkLabel" id="summary_pieces">1025 <property name="visible">True</property>1026 <property name="can_focus">False</property>1027 <property name="xalign">0</property>1028 </object>1029 <packing>1030 <property name="left_attach">5</property>1031 <property name="right_attach">6</property>1032 <property name="x_options">GTK_FILL</property>1033 </packing>1034 </child>1035 <child>1036 <object class="GtkLabel" id="label_private">1037 <property name="visible">True</property>1038 <property name="can_focus">False</property>1039 <property name="xalign">0</property>1040 <property name="ypad">1</property>1041 <property name="label" translatable="yes">Private:</property>1042 <attributes>1043 <attribute name="weight" value="bold"/>1044 </attributes>1045 </object>1046 <packing>1047 <property name="left_attach">4</property>1048 <property name="right_attach">5</property>1049 <property name="top_attach">1</property>1050 <property name="bottom_attach">2</property>1051 <property name="x_options">GTK_SHRINK | GTK_FILL</property>1052 <property name="y_options"></property>1053 </packing>1054 </child>1055 <child>1056 <object class="GtkLabel" id="summary_private">1057 <property name="visible">True</property>1058 <property name="can_focus">False</property>1059 <property name="xalign">0</property>1060 <property name="wrap_mode">char</property>1061 <property name="selectable">True</property>1062 </object>1063 <packing>1064 <property name="left_attach">5</property>1065 <property name="right_attach">6</property>1066 <property name="top_attach">1</property>1067 <property name="bottom_attach">2</property>1068 <property name="x_options">GTK_FILL</property>1069 <property name="y_options"></property>1070 </packing>1071 </child>1072 <child>1073 <object class="GtkLabel" id="label_date_added">1074 <property name="visible">True</property>1075 <property name="can_focus">False</property>1076 <property name="xalign">0</property>1077 <property name="label" translatable="yes">Added:</property>1078 <attributes>1079 <attribute name="weight" value="bold"/>1080 </attributes>1081 </object>1082 <packing>1083 <property name="top_attach">1</property>1084 <property name="bottom_attach">2</property>1085 <property name="x_options">GTK_SHRINK | GTK_FILL</property>1086 </packing>1087 </child>1088 <child>1089 <object class="GtkLabel" id="label_completed">1090 <property name="visible">True</property>1091 <property name="can_focus">False</property>1092 <property name="xalign">0</property>1093 <property name="label" translatable="yes">Completed:</property>1094 <attributes>1095 <attribute name="weight" value="bold"/>1096 </attributes>1097 </object>1098 <packing>1099 <property name="top_attach">2</property>1100 <property name="bottom_attach">3</property>1101 <property name="x_options">GTK_SHRINK | GTK_FILL</property>1102 </packing>1103 </child>1104 <child>1105 <object class="GtkLabel" id="summary_completed">1106 <property name="visible">True</property>1107 <property name="can_focus">False</property>1108 <property name="xalign">0</property>1109 </object>1110 <packing>1111 <property name="left_attach">1</property>1112 <property name="right_attach">2</property>1113 <property name="top_attach">2</property>1114 <property name="bottom_attach">3</property>1115 <property name="x_options">GTK_FILL</property>1116 </packing>1117 </child>1118 <child>1119 <object class="GtkLabel" id="label_owner">1120 <property name="visible">True</property>1121 <property name="can_focus">False</property>1122 <property name="xalign">0</property>1123 <property name="ypad">1</property>1124 <property name="label" translatable="yes">Owner:</property>1125 <attributes>1126 <attribute name="weight" value="bold"/>1127 </attributes>1128 </object>1129 <packing>1130 <property name="left_attach">2</property>1131 <property name="right_attach">3</property>1132 <property name="top_attach">1</property>1133 <property name="bottom_attach">2</property>1134 <property name="x_options">GTK_SHRINK | GTK_FILL</property>1135 <property name="y_options"></property>1136 </packing>1137 </child>1138 <child>1139 <object class="GtkLabel" id="label_shared">1140 <property name="visible">True</property>1141 <property name="can_focus">False</property>1142 <property name="xalign">0</property>1143 <property name="ypad">1</property>1144 <property name="label" translatable="yes">Shared:</property>1145 <attributes>1146 <attribute name="weight" value="bold"/>1147 </attributes>1148 </object>1149 <packing>1150 <property name="left_attach">2</property>1151 <property name="right_attach">3</property>1152 <property name="top_attach">2</property>1153 <property name="bottom_attach">3</property>1154 <property name="x_options">GTK_SHRINK | GTK_FILL</property>1155 <property name="y_options"></property>1156 </packing>1157 </child>1158 <child>1159 <object class="GtkLabel" id="summary_shared">1160 <property name="visible">True</property>1161 <property name="can_focus">False</property>1162 <property name="xalign">0</property>1163 <property name="wrap_mode">char</property>1164 <property name="selectable">True</property>1165 </object>1166 <packing>1167 <property name="left_attach">3</property>1168 <property name="right_attach">4</property>1169 <property name="top_attach">2</property>1170 <property name="bottom_attach">3</property>1171 <property name="x_options">GTK_FILL</property>1172 <property name="y_options"></property>1173 </packing>1174 </child>1175 <child>1176 <object class="GtkAlignment" id="alignment7">1177 <property name="visible">True</property>1178 <property name="can_focus">False</property>1179 <property name="xscale">0</property>1180 <property name="right_padding">20</property>1181 <child>1182 <object class="GtkLabel" id="summary_date_added">1183 <property name="visible">True</property>1184 <property name="can_focus">False</property>1185 <property name="xalign">0</property>1186 </object>1187 </child>1188 </object>1189 <packing>1190 <property name="left_attach">1</property>1191 <property name="right_attach">2</property>1192 <property name="top_attach">1</property>1193 <property name="bottom_attach">2</property>1194 <property name="x_options">GTK_FILL</property>1195 </packing>1196 </child>1197 <child>1198 <object class="GtkAlignment" id="alignment3">1199 <property name="visible">True</property>1200 <property name="can_focus">False</property>1201 <property name="xscale">0</property>1202 <property name="right_padding">20</property>1203 <child>1204 <object class="GtkLabel" id="summary_owner">1205 <property name="visible">True</property>1206 <property name="can_focus">False</property>1207 <property name="xalign">0</property>1208 <property name="wrap_mode">char</property>1209 <property name="selectable">True</property>1210 </object>1211 </child>1212 </object>1213 <packing>1214 <property name="left_attach">3</property>1215 <property name="right_attach">4</property>1216 <property name="top_attach">1</property>1217 <property name="bottom_attach">2</property>1218 <property name="x_options">GTK_FILL</property>1219 <property name="y_options"></property>1220 </packing>1221 </child>1222 <child>1223 <placeholder/>1224 </child>1225 <child>1226 <placeholder/>1227 </child>1228 </object>1229 <packing>1230 <property name="right_attach">2</property>1231 1019 <property name="top_attach">1</property> 1232 <property name="bottom_attach"> 4</property>1020 <property name="bottom_attach">2</property> 1233 1021 <property name="x_options">GTK_SHRINK | GTK_FILL</property> 1234 1022 <property name="y_options"></property> … … 1236 1024 </child> 1237 1025 <child> 1238 <object class="GtkLabel" id="label_ path">1239 <property name="visible">True</property> 1240 <property name="can_focus">False</property> 1241 <property name="xalign">0</property> 1242 <property name="label" translatable="yes"> Download Folder:</property>1026 <object class="GtkLabel" id="label_num_files"> 1027 <property name="visible">True</property> 1028 <property name="can_focus">False</property> 1029 <property name="xalign">0</property> 1030 <property name="label" translatable="yes">Total Files:</property> 1243 1031 <attributes> 1244 1032 <attribute name="weight" value="bold"/> … … 1246 1034 </object> 1247 1035 <packing> 1248 <property name="top_attach">4</property> 1249 <property name="bottom_attach">5</property> 1036 <property name="top_attach">2</property> 1037 <property name="bottom_attach">3</property> 1038 <property name="x_options">GTK_FILL</property> 1039 <property name="y_options"></property> 1040 </packing> 1041 </child> 1042 <child> 1043 <object class="GtkLabel" id="summary_num_files"> 1044 <property name="visible">True</property> 1045 <property name="can_focus">False</property> 1046 <property name="xalign">0</property> 1047 <property name="selectable">True</property> 1048 </object> 1049 <packing> 1050 <property name="left_attach">1</property> 1051 <property name="right_attach">2</property> 1052 <property name="top_attach">2</property> 1053 <property name="bottom_attach">3</property> 1250 1054 <property name="x_options">GTK_SHRINK | GTK_FILL</property> 1251 <property name="y_options">GTK_FILL</property> 1252 </packing> 1253 </child> 1254 <child> 1255 <object class="GtkLabel" id="summary_torrent_path"> 1256 <property name="visible">True</property> 1257 <property name="can_focus">False</property> 1258 <property name="xalign">0</property> 1259 <property name="wrap">True</property> 1055 <property name="y_options"></property> 1056 </packing> 1057 </child> 1058 <child> 1059 <object class="GtkLabel" id="label_private"> 1060 <property name="visible">True</property> 1061 <property name="can_focus">False</property> 1062 <property name="xalign">0</property> 1063 <property name="label" translatable="yes">Private:</property> 1064 <attributes> 1065 <attribute name="weight" value="bold"/> 1066 </attributes> 1067 </object> 1068 <packing> 1069 <property name="left_attach">3</property> 1070 <property name="right_attach">4</property> 1071 <property name="top_attach">1</property> 1072 <property name="bottom_attach">2</property> 1073 <property name="x_options">GTK_FILL</property> 1074 <property name="y_options"></property> 1075 </packing> 1076 </child> 1077 <child> 1078 <object class="GtkLabel" id="summary_private"> 1079 <property name="visible">True</property> 1080 <property name="can_focus">False</property> 1081 <property name="xalign">0</property> 1260 1082 <property name="wrap_mode">char</property> 1261 1083 <property name="selectable">True</property> 1262 1084 </object> 1263 1085 <packing> 1264 <property name="left_attach">1</property> 1265 <property name="right_attach">2</property> 1266 <property name="top_attach">4</property> 1267 <property name="bottom_attach">5</property> 1086 <property name="left_attach">4</property> 1087 <property name="right_attach">5</property> 1088 <property name="top_attach">1</property> 1089 <property name="bottom_attach">2</property> 1090 <property name="x_options">GTK_FILL</property> 1091 <property name="y_options"></property> 1092 </packing> 1093 </child> 1094 <child> 1095 <object class="GtkLabel" id="label_pieces"> 1096 <property name="visible">True</property> 1097 <property name="can_focus">False</property> 1098 <property name="xalign">0</property> 1099 <property name="label" translatable="yes">Pieces:</property> 1100 <attributes> 1101 <attribute name="weight" value="bold"/> 1102 </attributes> 1103 </object> 1104 <packing> 1105 <property name="left_attach">3</property> 1106 <property name="right_attach">4</property> 1107 <property name="top_attach">2</property> 1108 <property name="bottom_attach">3</property> 1109 <property name="x_options">GTK_FILL</property> 1110 <property name="y_options"></property> 1111 </packing> 1112 </child> 1113 <child> 1114 <object class="GtkLabel" id="summary_pieces"> 1115 <property name="visible">True</property> 1116 <property name="can_focus">False</property> 1117 <property name="xalign">0</property> 1118 </object> 1119 <packing> 1120 <property name="left_attach">4</property> 1121 <property name="right_attach">5</property> 1122 <property name="top_attach">2</property> 1123 <property name="bottom_attach">3</property> 1124 <property name="x_options">GTK_SHRINK | GTK_FILL</property> 1268 1125 <property name="y_options"></property> 1269 1126 </packing> … … 1289 1146 <property name="visible">True</property> 1290 1147 <property name="can_focus">False</property> 1148 <property name="xpad">2</property> 1291 1149 <property name="stock">gtk-properties</property> 1292 1150 </object> … … 1342 1200 <property name="visible">True</property> 1343 1201 <property name="can_focus">False</property> 1202 <property name="xpad">2</property> 1344 1203 <property name="stock">gtk-copy</property> 1345 1204 </object> … … 1395 1254 <property name="visible">True</property> 1396 1255 <property name="can_focus">False</property> 1256 <property name="xpad">2</property> 1397 1257 <property name="stock">gtk-network</property> 1398 1258 </object> … … 1432 1292 <property name="visible">True</property> 1433 1293 <property name="can_focus">False</property> 1434 <property name="border_width">5</property>1435 1294 <property name="resize_mode">queue</property> 1436 1295 <property name="shadow_type">none</property> 1437 1296 <child> 1438 <object class="Gtk Table" id="table6">1297 <object class="GtkAlignment" id="alignment1"> 1439 1298 <property name="visible">True</property> 1440 1299 <property name="can_focus">False</property> 1441 <property name="n_columns">3</property> 1300 <property name="top_padding">10</property> 1301 <property name="bottom_padding">10</property> 1302 <property name="left_padding">5</property> 1303 <property name="right_padding">15</property> 1442 1304 <child> 1443 <object class="Gtk Frame" id="frame1">1305 <object class="GtkTable" id="table6"> 1444 1306 <property name="visible">True</property> 1445 1307 <property name="can_focus">False</property> 1446 <property name="label_xalign">0</property> 1447 <property name="shadow_type">none</property> 1308 <property name="n_columns">5</property> 1309 <child> 1310 <object class="GtkVSeparator" id="vseparator3"> 1311 <property name="visible">True</property> 1312 <property name="can_focus">False</property> 1313 </object> 1314 <packing> 1315 <property name="left_attach">1</property> 1316 <property name="right_attach">2</property> 1317 <property name="x_options"></property> 1318 </packing> 1319 </child> 1320 <child> 1321 <object class="GtkVSeparator" id="vseparator4"> 1322 <property name="visible">True</property> 1323 <property name="can_focus">False</property> 1324 </object> 1325 <packing> 1326 <property name="left_attach">3</property> 1327 <property name="right_attach">4</property> 1328 <property name="x_options"></property> 1329 </packing> 1330 </child> 1331 <child> 1332 <object class="GtkFrame" id="frame1"> 1333 <property name="visible">True</property> 1334 <property name="can_focus">False</property> 1335 <property name="label_xalign">0</property> 1336 <property name="shadow_type">none</property> 1337 <child> 1338 <object class="GtkAlignment" id="alignment7"> 1339 <property name="visible">True</property> 1340 <property name="can_focus">False</property> 1341 <property name="xalign">0</property> 1342 <property name="yalign">0</property> 1343 <property name="yscale">0</property> 1344 <child> 1345 <object class="GtkTable" id="table1"> 1346 <property name="visible">True</property> 1347 <property name="can_focus">False</property> 1348 <property name="border_width">5</property> 1349 <property name="n_rows">4</property> 1350 <property name="n_columns">3</property> 1351 <property name="column_spacing">4</property> 1352 <property name="row_spacing">2</property> 1353 <child> 1354 <object class="GtkSpinButton" id="spin_max_connections"> 1355 <property name="visible">True</property> 1356 <property name="can_focus">True</property> 1357 <property name="invisible_char">â¢</property> 1358 <property name="width_chars">6</property> 1359 <property name="xalign">1</property> 1360 <property name="invisible_char_set">True</property> 1361 <property name="primary_icon_activatable">False</property> 1362 <property name="secondary_icon_activatable">False</property> 1363 <property name="primary_icon_sensitive">True</property> 1364 <property name="secondary_icon_sensitive">True</property> 1365 <property name="adjustment">spin_max_connections_adjustment</property> 1366 <property name="numeric">True</property> 1367 </object> 1368 <packing> 1369 <property name="left_attach">1</property> 1370 <property name="right_attach">2</property> 1371 <property name="top_attach">2</property> 1372 <property name="bottom_attach">3</property> 1373 <property name="x_options"></property> 1374 <property name="y_options"></property> 1375 </packing> 1376 </child> 1377 <child> 1378 <object class="GtkSpinButton" id="spin_max_upload"> 1379 <property name="visible">True</property> 1380 <property name="can_focus">True</property> 1381 <property name="invisible_char">â¢</property> 1382 <property name="width_chars">6</property> 1383 <property name="xalign">1</property> 1384 <property name="invisible_char_set">True</property> 1385 <property name="primary_icon_activatable">False</property> 1386 <property name="secondary_icon_activatable">False</property> 1387 <property name="primary_icon_sensitive">True</property> 1388 <property name="secondary_icon_sensitive">True</property> 1389 <property name="adjustment">spin_max_upload_adjustment</property> 1390 <property name="digits">1</property> 1391 <property name="numeric">True</property> 1392 </object> 1393 <packing> 1394 <property name="left_attach">1</property> 1395 <property name="right_attach">2</property> 1396 <property name="top_attach">1</property> 1397 <property name="bottom_attach">2</property> 1398 <property name="x_options"></property> 1399 <property name="y_options"></property> 1400 </packing> 1401 </child> 1402 <child> 1403 <object class="GtkSpinButton" id="spin_max_download"> 1404 <property name="visible">True</property> 1405 <property name="can_focus">True</property> 1406 <property name="invisible_char">â¢</property> 1407 <property name="width_chars">6</property> 1408 <property name="xalign">1</property> 1409 <property name="invisible_char_set">True</property> 1410 <property name="primary_icon_activatable">False</property> 1411 <property name="secondary_icon_activatable">False</property> 1412 <property name="primary_icon_sensitive">True</property> 1413 <property name="secondary_icon_sensitive">True</property> 1414 <property name="adjustment">spin_max_download_adjustment</property> 1415 <property name="climb_rate">1</property> 1416 <property name="digits">1</property> 1417 <property name="numeric">True</property> 1418 </object> 1419 <packing> 1420 <property name="left_attach">1</property> 1421 <property name="right_attach">2</property> 1422 <property name="x_options"></property> 1423 <property name="y_options"></property> 1424 </packing> 1425 </child> 1426 <child> 1427 <object class="GtkLabel" id="label12"> 1428 <property name="visible">True</property> 1429 <property name="can_focus">False</property> 1430 <property name="xalign">0</property> 1431 <property name="label" translatable="yes">Connections:</property> 1432 </object> 1433 <packing> 1434 <property name="top_attach">2</property> 1435 <property name="bottom_attach">3</property> 1436 <property name="x_options">GTK_FILL</property> 1437 <property name="y_options"></property> 1438 </packing> 1439 </child> 1440 <child> 1441 <object class="GtkLabel" id="label11"> 1442 <property name="visible">True</property> 1443 <property name="can_focus">False</property> 1444 <property name="xalign">0</property> 1445 <property name="label" translatable="yes">Upload Speed:</property> 1446 </object> 1447 <packing> 1448 <property name="top_attach">1</property> 1449 <property name="bottom_attach">2</property> 1450 <property name="x_options">GTK_FILL</property> 1451 <property name="y_options"></property> 1452 </packing> 1453 </child> 1454 <child> 1455 <object class="GtkLabel" id="label9"> 1456 <property name="visible">True</property> 1457 <property name="can_focus">False</property> 1458 <property name="xalign">0</property> 1459 <property name="label" translatable="yes">Download Speed:</property> 1460 </object> 1461 <packing> 1462 <property name="x_options">GTK_FILL</property> 1463 <property name="y_options"></property> 1464 </packing> 1465 </child> 1466 <child> 1467 <object class="GtkLabel" id="label13"> 1468 <property name="visible">True</property> 1469 <property name="can_focus">False</property> 1470 <property name="label" translatable="yes">KiB/s</property> 1471 </object> 1472 <packing> 1473 <property name="left_attach">2</property> 1474 <property name="right_attach">3</property> 1475 <property name="x_options"></property> 1476 <property name="y_options"></property> 1477 </packing> 1478 </child> 1479 <child> 1480 <object class="GtkLabel" id="label14"> 1481 <property name="visible">True</property> 1482 <property name="can_focus">False</property> 1483 <property name="label" translatable="yes">KiB/s</property> 1484 </object> 1485 <packing> 1486 <property name="left_attach">2</property> 1487 <property name="right_attach">3</property> 1488 <property name="top_attach">1</property> 1489 <property name="bottom_attach">2</property> 1490 <property name="x_options"></property> 1491 <property name="y_options"></property> 1492 </packing> 1493 </child> 1494 <child> 1495 <object class="GtkLabel" id="label15"> 1496 <property name="visible">True</property> 1497 <property name="can_focus">False</property> 1498 <property name="xalign">0</property> 1499 <property name="label" translatable="yes">Upload Slots:</property> 1500 </object> 1501 <packing> 1502 <property name="top_attach">3</property> 1503 <property name="bottom_attach">4</property> 1504 <property name="x_options">GTK_FILL</property> 1505 <property name="y_options"></property> 1506 </packing> 1507 </child> 1508 <child> 1509 <object class="GtkSpinButton" id="spin_max_upload_slots"> 1510 <property name="visible">True</property> 1511 <property name="can_focus">True</property> 1512 <property name="invisible_char">â¢</property> 1513 <property name="width_chars">6</property> 1514 <property name="xalign">1</property> 1515 <property name="invisible_char_set">True</property> 1516 <property name="primary_icon_activatable">False</property> 1517 <property name="secondary_icon_activatable">False</property> 1518 <property name="primary_icon_sensitive">True</property> 1519 <property name="secondary_icon_sensitive">True</property> 1520 <property name="adjustment">spin_max_upload_slots_adjustment</property> 1521 <property name="numeric">True</property> 1522 </object> 1523 <packing> 1524 <property name="left_attach">1</property> 1525 <property name="right_attach">2</property> 1526 <property name="top_attach">3</property> 1527 <property name="bottom_attach">4</property> 1528 <property name="x_options"></property> 1529 <property name="y_options"></property> 1530 </packing> 1531 </child> 1532 <child> 1533 <placeholder/> 1534 </child> 1535 <child> 1536 <placeholder/> 1537 </child> 1538 </object> 1539 </child> 1540 </object> 1541 </child> 1542 <child type="label"> 1543 <object class="GtkLabel" id="label6"> 1544 <property name="visible">True</property> 1545 <property name="can_focus">False</property> 1546 <property name="label" translatable="yes">Bandwidth Limits</property> 1547 <attributes> 1548 <attribute name="weight" value="bold"/> 1549 </attributes> 1550 </object> 1551 </child> 1552 </object> 1553 <packing> 1554 <property name="x_options"></property> 1555 <property name="y_options">GTK_FILL</property> 1556 </packing> 1557 </child> 1448 1558 <child> 1449 1559 <object class="GtkAlignment" id="alignment2"> 1450 1560 <property name="visible">True</property> 1451 1561 <property name="can_focus">False</property> 1452 <property name="left_padding">12</property> 1453 <child> 1454 <object class="GtkTable" id="table1"> 1455 <property name="visible">True</property> 1456 <property name="can_focus">False</property> 1457 <property name="border_width">5</property> 1458 <property name="n_rows">4</property> 1459 <property name="n_columns">3</property> 1460 <property name="column_spacing">5</property> 1461 <property name="row_spacing">2</property> 1562 <property name="xalign">0</property> 1563 <property name="left_padding">10</property> 1564 <child> 1565 <object class="GtkVBox" id="vbox1"> 1566 <property name="visible">True</property> 1567 <property name="can_focus">False</property> 1462 1568 <child> 1463 <object class="GtkSpinButton" id="spin_max_connections"> 1569 <object class="GtkCheckButton" id="chk_shared"> 1570 <property name="label" translatable="yes">Shared</property> 1571 <property name="use_action_appearance">False</property> 1464 1572 <property name="visible">True</property> 1465 1573 <property name="can_focus">True</property> 1466 <property name="invisible_char">â¢</property> 1467 <property name="width_chars">6</property> 1468 <property name="xalign">1</property> 1469 <property name="invisible_char_set">True</property> 1470 <property name="primary_icon_activatable">False</property> 1471 <property name="secondary_icon_activatable">False</property> 1472 <property name="primary_icon_sensitive">True</property> 1473 <property name="secondary_icon_sensitive">True</property> 1474 <property name="adjustment">spin_max_connections_adjustment</property> 1475 <property name="numeric">True</property> 1574 <property name="receives_default">False</property> 1575 <property name="draw_indicator">True</property> 1576 <signal name="toggled" handler="on_chk_toggled" swapped="no"/> 1476 1577 </object> 1477 1578 <packing> 1478 <property name="left_attach">1</property> 1479 <property name="right_attach">2</property> 1480 <property name="top_attach">2</property> 1481 <property name="bottom_attach">3</property> 1482 <property name="x_options"></property> 1483 <property name="y_options"></property> 1579 <property name="expand">False</property> 1580 <property name="fill">True</property> 1581 <property name="position">0</property> 1484 1582 </packing> 1485 1583 </child> 1486 1584 <child> 1487 <object class="GtkSpinButton" id="spin_max_upload"> 1585 <object class="GtkCheckButton" id="chk_prioritize_first_last"> 1586 <property name="label" translatable="yes">Prioritize First/Last</property> 1587 <property name="use_action_appearance">False</property> 1488 1588 <property name="visible">True</property> 1489 1589 <property name="can_focus">True</property> 1490 <property name="invisible_char">â¢</property> 1491 <property name="width_chars">6</property> 1492 <property name="xalign">1</property> 1493 <property name="invisible_char_set">True</property> 1494 <property name="primary_icon_activatable">False</property> 1495 <property name="secondary_icon_activatable">False</property> 1496 <property name="primary_icon_sensitive">True</property> 1497 <property name="secondary_icon_sensitive">True</property> 1498 <property name="adjustment">spin_max_upload_adjustment</property> 1499 <property name="digits">1</property> 1500 <property name="numeric">True</property> 1590 <property name="receives_default">False</property> 1591 <property name="draw_indicator">True</property> 1592 <signal name="toggled" handler="on_chk_toggled" swapped="no"/> 1501 1593 </object> 1502 1594 <packing> 1503 <property name="left_attach">1</property> 1504 <property name="right_attach">2</property> 1505 <property name="top_attach">1</property> 1506 <property name="bottom_attach">2</property> 1507 <property name="x_options"></property> 1508 <property name="y_options"></property> 1595 <property name="expand">False</property> 1596 <property name="fill">True</property> 1597 <property name="position">1</property> 1509 1598 </packing> 1510 1599 </child> 1511 1600 <child> 1512 <object class="GtkSpinButton" id="spin_max_download"> 1601 <object class="GtkCheckButton" id="chk_sequential_download"> 1602 <property name="label" translatable="yes">Sequential Download</property> 1603 <property name="use_action_appearance">False</property> 1513 1604 <property name="visible">True</property> 1514 1605 <property name="can_focus">True</property> 1515 <property name="invisible_char">â¢</property> 1516 <property name="width_chars">6</property> 1517 <property name="xalign">1</property> 1518 <property name="invisible_char_set">True</property> 1519 <property name="primary_icon_activatable">False</property> 1520 <property name="secondary_icon_activatable">False</property> 1521 <property name="primary_icon_sensitive">True</property> 1522 <property name="secondary_icon_sensitive">True</property> 1523 <property name="adjustment">spin_max_download_adjustment</property> 1524 <property name="climb_rate">1</property> 1525 <property name="digits">1</property> 1526 <property name="numeric">True</property> 1606 <property name="receives_default">False</property> 1607 <property name="draw_indicator">True</property> 1608 <signal name="toggled" handler="on_chk_toggled" swapped="no"/> 1527 1609 </object> 1528 1610 <packing> 1529 <property name="left_attach">1</property> 1530 <property name="right_attach">2</property> 1531 <property name="x_options"></property> 1532 <property name="y_options"></property> 1611 <property name="expand">False</property> 1612 <property name="fill">True</property> 1613 <property name="position">2</property> 1533 1614 </packing> 1534 1615 </child> 1535 1616 <child> 1536 <object class="GtkLabel" id="label12"> 1617 <object class="GtkCheckButton" id="chk_move_completed"> 1618 <property name="label" translatable="yes">Move completed:</property> 1619 <property name="use_action_appearance">False</property> 1537 1620 <property name="visible">True</property> 1538 <property name="can_focus">False</property> 1539 <property name="xalign">0</property> 1540 <property name="label" translatable="yes">Max Connections:</property> 1621 <property name="can_focus">True</property> 1622 <property name="receives_default">False</property> 1623 <property name="draw_indicator">True</property> 1624 <signal name="toggled" handler="on_chk_move_completed_toggled" swapped="no"/> 1541 1625 </object> 1542 1626 <packing> 1543 <property name="top_attach">2</property> 1544 <property name="bottom_attach">3</property> 1545 <property name="x_options">GTK_FILL</property> 1546 <property name="y_options"></property> 1627 <property name="expand">False</property> 1628 <property name="fill">False</property> 1629 <property name="position">3</property> 1547 1630 </packing> 1548 1631 </child> 1549 1632 <child> 1550 <object class="Gtk Label" id="label11">1633 <object class="GtkHBox" id="hbox_move_completed_path_chooser"> 1551 1634 <property name="visible">True</property> 1552 1635 <property name="can_focus">False</property> 1553 <property name="xalign">0</property> 1554 <property name="label" translatable="yes">Max Upload Speed:</property> 1636 <child> 1637 <placeholder/> 1638 </child> 1555 1639 </object> 1556 1640 <packing> 1557 <property name="top_attach">1</property> 1558 <property name="bottom_attach">2</property> 1559 <property name="x_options">GTK_FILL</property> 1560 <property name="y_options"></property> 1641 <property name="expand">False</property> 1642 <property name="fill">True</property> 1643 <property name="position">4</property> 1561 1644 </packing> 1562 1645 </child> 1563 <child> 1564 <object class="GtkLabel" id="label9"> 1565 <property name="visible">True</property> 1566 <property name="can_focus">False</property> 1567 <property name="xalign">0</property> 1568 <property name="label" translatable="yes">Max Download Speed:</property> 1569 </object> 1570 <packing> 1571 <property name="x_options">GTK_FILL</property> 1572 <property name="y_options"></property> 1573 </packing> 1574 </child> 1575 <child> 1576 <object class="GtkLabel" id="label13"> 1577 <property name="visible">True</property> 1578 <property name="can_focus">False</property> 1579 <property name="label" translatable="yes">KiB/s</property> 1580 </object> 1581 <packing> 1582 <property name="left_attach">2</property> 1583 <property name="right_attach">3</property> 1584 <property name="x_options"></property> 1585 <property name="y_options"></property> 1586 </packing> 1587 </child> 1588 <child> 1589 <object class="GtkLabel" id="label14"> 1590 <property name="visible">True</property> 1591 <property name="can_focus">False</property> 1592 <property name="label" translatable="yes">KiB/s</property> 1593 </object> 1594 <packing> 1595 <property name="left_attach">2</property> 1596 <property name="right_attach">3</property> 1597 <property name="top_attach">1</property> 1598 <property name="bottom_attach">2</property> 1599 <property name="x_options"></property> 1600 <property name="y_options"></property> 1601 </packing> 1602 </child> 1603 <child> 1604 <object class="GtkLabel" id="label15"> 1605 <property name="visible">True</property> 1606 <property name="can_focus">False</property> 1607 <property name="xalign">0</property> 1608 <property name="label" translatable="yes">Max Upload Slots:</property> 1609 </object> 1610 <packing> 1611 <property name="top_attach">3</property> 1612 <property name="bottom_attach">4</property> 1613 <property name="x_options">GTK_FILL</property> 1614 <property name="y_options"></property> 1615 </packing> 1616 </child> 1617 <child> 1618 <object class="GtkSpinButton" id="spin_max_upload_slots"> 1619 <property name="visible">True</property> 1620 <property name="can_focus">True</property> 1621 <property name="invisible_char">â¢</property> 1622 <property name="width_chars">6</property> 1623 <property name="xalign">1</property> 1624 <property name="invisible_char_set">True</property> 1625 <property name="primary_icon_activatable">False</property> 1626 <property name="secondary_icon_activatable">False</property> 1627 <property name="primary_icon_sensitive">True</property> 1628 <property name="secondary_icon_sensitive">True</property> 1629 <property name="adjustment">spin_max_upload_slots_adjustment</property> 1630 <property name="numeric">True</property> 1631 </object> 1632 <packing> 1633 <property name="left_attach">1</property> 1634 <property name="right_attach">2</property> 1635 <property name="top_attach">3</property> 1636 <property name="bottom_attach">4</property> 1637 <property name="x_options"></property> 1638 <property name="y_options"></property> 1639 </packing> 1640 </child> 1641 <child> 1642 <placeholder/> 1643 </child> 1644 <child> 1645 <placeholder/> 1646 </child> 1647 </object> 1648 </child> 1649 </object> 1650 </child> 1651 <child type="label"> 1652 <object class="GtkLabel" id="label6"> 1653 <property name="visible">True</property> 1654 <property name="can_focus">False</property> 1655 <property name="label" translatable="yes">Bandwidth</property> 1656 <attributes> 1657 <attribute name="weight" value="bold"/> 1658 </attributes> 1659 </object> 1660 </child> 1661 </object> 1662 <packing> 1663 <property name="x_options"></property> 1664 <property name="y_options">GTK_FILL</property> 1665 </packing> 1666 </child> 1667 <child> 1668 <object class="GtkFrame" id="frame4"> 1669 <property name="visible">True</property> 1670 <property name="can_focus">False</property> 1671 <property name="label_xalign">0</property> 1672 <property name="shadow_type">none</property> 1646 </object> 1647 </child> 1648 </object> 1649 <packing> 1650 <property name="left_attach">4</property> 1651 <property name="right_attach">5</property> 1652 </packing> 1653 </child> 1673 1654 <child> 1674 1655 <object class="GtkAlignment" id="alignment8"> 1675 1656 <property name="visible">True</property> 1676 1657 <property name="can_focus">False</property> 1677 <property name="top_padding">5</property> 1678 <property name="left_padding">12</property> 1679 <child> 1680 <object class="GtkVBox" id="vbox5"> 1658 <property name="top_padding">2</property> 1659 <property name="left_padding">5</property> 1660 <property name="right_padding">5</property> 1661 <child> 1662 <object class="GtkVBox" id="vbox6"> 1681 1663 <property name="visible">True</property> 1682 1664 <property name="can_focus">False</property> … … 1698 1680 </child> 1699 1681 <child> 1700 <object class="GtkVBox" id="vbox6"> 1682 <object class="GtkCheckButton" id="chk_stop_at_ratio"> 1683 <property name="label" translatable="yes">Stop seed at ratio:</property> 1684 <property name="use_action_appearance">False</property> 1701 1685 <property name="visible">True</property> 1702 <property name="can_focus">False</property> 1703 <child> 1704 <object class="GtkHBox" id="hbox2"> 1705 <property name="visible">True</property> 1706 <property name="can_focus">False</property> 1707 <property name="spacing">5</property> 1708 <child> 1709 <object class="GtkCheckButton" id="chk_stop_at_ratio"> 1710 <property name="label" translatable="yes">Stop seed at ratio:</property> 1711 <property name="use_action_appearance">False</property> 1712 <property name="visible">True</property> 1713 <property name="can_focus">True</property> 1714 <property name="receives_default">False</property> 1715 <property name="draw_indicator">True</property> 1716 <signal name="toggled" handler="on_chk_stop_at_ratio_toggled" swapped="no"/> 1717 </object> 1718 <packing> 1719 <property name="expand">False</property> 1720 <property name="fill">False</property> 1721 <property name="position">0</property> 1722 </packing> 1723 </child> 1724 <child> 1725 <object class="GtkSpinButton" id="spin_stop_ratio"> 1726 <property name="visible">True</property> 1727 <property name="can_focus">True</property> 1728 <property name="invisible_char">â¢</property> 1729 <property name="xalign">1</property> 1730 <property name="invisible_char_set">True</property> 1731 <property name="primary_icon_activatable">False</property> 1732 <property name="secondary_icon_activatable">False</property> 1733 <property name="primary_icon_sensitive">True</property> 1734 <property name="secondary_icon_sensitive">True</property> 1735 <property name="adjustment">spin_stop_ratio_adjustment</property> 1736 <property name="digits">1</property> 1737 <property name="numeric">True</property> 1738 </object> 1739 <packing> 1740 <property name="expand">False</property> 1741 <property name="fill">False</property> 1742 <property name="position">1</property> 1743 </packing> 1744 </child> 1745 </object> 1746 <packing> 1747 <property name="expand">False</property> 1748 <property name="fill">False</property> 1749 <property name="position">0</property> 1750 </packing> 1751 </child> 1752 <child> 1753 <object class="GtkAlignment" id="alignment9"> 1754 <property name="visible">True</property> 1755 <property name="can_focus">False</property> 1756 <property name="left_padding">10</property> 1757 <child> 1758 <object class="GtkCheckButton" id="chk_remove_at_ratio"> 1759 <property name="label" translatable="yes">Remove at ratio</property> 1760 <property name="use_action_appearance">False</property> 1761 <property name="visible">True</property> 1762 <property name="can_focus">True</property> 1763 <property name="receives_default">False</property> 1764 <property name="draw_indicator">True</property> 1765 <signal name="toggled" handler="on_chk_toggled" swapped="no"/> 1766 </object> 1767 </child> 1768 </object> 1769 <packing> 1770 <property name="expand">False</property> 1771 <property name="fill">False</property> 1772 <property name="position">1</property> 1773 </packing> 1774 </child> 1686 <property name="can_focus">True</property> 1687 <property name="receives_default">False</property> 1688 <property name="draw_indicator">True</property> 1689 <signal name="toggled" handler="on_chk_stop_at_ratio_toggled" swapped="no"/> 1775 1690 </object> 1776 1691 <packing> 1777 <property name="expand"> True</property>1692 <property name="expand">False</property> 1778 1693 <property name="fill">True</property> 1779 1694 <property name="position">1</property> 1780 1695 </packing> 1781 1696 </child> 1782 </object>1783 </child>1784 </object>1785 </child>1786 <child type="label">1787 <object class="GtkLabel" id="label21">1788 <property name="visible">True</property>1789 <property name="can_focus">False</property>1790 <property name="label" translatable="yes">Queue</property>1791 <attributes>1792 <attribute name="weight" value="bold"/>1793 </attributes>1794 </object>1795 </child>1796 </object>1797 <packing>1798 <property name="left_attach">1</property>1799 <property name="right_attach">2</property>1800 <property name="x_options"></property>1801 <property name="y_options">GTK_FILL</property>1802 </packing>1803 </child>1804 <child>1805 <object class="GtkTable" id="table5">1806 <property name="visible">True</property>1807 <property name="can_focus">False</property>1808 <property name="n_rows">2</property>1809 <property name="n_columns">2</property>1810 <child>1811 <object class="GtkFrame" id="frame2">1812 <property name="visible">True</property>1813 <property name="can_focus">False</property>1814 <property name="label_xalign">0</property>1815 <property name="shadow_type">none</property>1816 <child>1817 <object class="GtkAlignment" id="alignment4">1818 <property name="visible">True</property>1819 <property name="can_focus">False</property>1820 <property name="xalign">0</property>1821 <property name="xscale">0</property>1822 <property name="top_padding">5</property>1823 <property name="left_padding">12</property>1824 1697 <child> 1825 <object class="Gtk Table" id="table3">1698 <object class="GtkAlignment" id="alignment3"> 1826 1699 <property name="visible">True</property> 1827 1700 <property name="can_focus">False</property> 1828 <property name=" n_rows">3</property>1829 <property name=" n_columns">2</property>1701 <property name="left_padding">10</property> 1702 <property name="right_padding">10</property> 1830 1703 <child> 1831 <object class="GtkCheckButton" id="chk_prioritize_first_last"> 1832 <property name="label" translatable="yes">Prioritize First/Last</property> 1704 <object class="GtkSpinButton" id="spin_stop_ratio"> 1705 <property name="width_request">50</property> 1706 <property name="visible">True</property> 1707 <property name="can_focus">True</property> 1708 <property name="invisible_char">â¢</property> 1709 <property name="invisible_char_set">True</property> 1710 <property name="primary_icon_activatable">False</property> 1711 <property name="secondary_icon_activatable">False</property> 1712 <property name="primary_icon_sensitive">True</property> 1713 <property name="secondary_icon_sensitive">True</property> 1714 <property name="adjustment">spin_stop_ratio_adjustment</property> 1715 <property name="digits">1</property> 1716 <property name="numeric">True</property> 1717 </object> 1718 </child> 1719 </object> 1720 <packing> 1721 <property name="expand">False</property> 1722 <property name="fill">False</property> 1723 <property name="position">2</property> 1724 </packing> 1725 </child> 1726 <child> 1727 <object class="GtkAlignment" id="alignment9"> 1728 <property name="visible">True</property> 1729 <property name="can_focus">False</property> 1730 <property name="left_padding">10</property> 1731 <child> 1732 <object class="GtkCheckButton" id="chk_remove_at_ratio"> 1733 <property name="label" translatable="yes">Remove at ratio</property> 1833 1734 <property name="use_action_appearance">False</property> 1834 1735 <property name="visible">True</property> … … 1838 1739 <signal name="toggled" handler="on_chk_toggled" swapped="no"/> 1839 1740 </object> 1840 <packing>1841 <property name="right_attach">2</property>1842 <property name="top_attach">1</property>1843 <property name="bottom_attach">2</property>1844 <property name="y_options"></property>1845 </packing>1846 </child>1847 <child>1848 <object class="GtkCheckButton" id="chk_sequential_download">1849 <property name="label" translatable="yes">Sequential Download</property>1850 <property name="use_action_appearance">False</property>1851 <property name="visible">True</property>1852 <property name="can_focus">True</property>1853 <property name="receives_default">False</property>1854 <property name="draw_indicator">True</property>1855 <signal name="toggled" handler="on_chk_toggled" swapped="no"/>1856 </object>1857 <packing>1858 <property name="right_attach">2</property>1859 <property name="top_attach">2</property>1860 <property name="bottom_attach">3</property>1861 <property name="y_options"></property>1862 </packing>1863 </child>1864 <child>1865 <object class="GtkCheckButton" id="chk_shared">1866 <property name="label" translatable="yes">Shared</property>1867 <property name="use_action_appearance">False</property>1868 <property name="visible">True</property>1869 <property name="can_focus">True</property>1870 <property name="receives_default">False</property>1871 <property name="draw_indicator">True</property>1872 <signal name="toggled" handler="on_chk_toggled" swapped="no"/>1873 </object>1874 <packing>1875 <property name="right_attach">2</property>1876 <property name="y_options"></property>1877 </packing>1878 1741 </child> 1879 1742 </object> 1743 <packing> 1744 <property name="expand">False</property> 1745 <property name="fill">False</property> 1746 <property name="position">3</property> 1747 </packing> 1880 1748 </child> 1881 </object>1882 </child>1883 <child type="label">1884 <object class="GtkLabel" id="label16">1885 <property name="visible">True</property>1886 <property name="can_focus">False</property>1887 <property name="label" translatable="yes"><b>General</b></property>1888 <property name="use_markup">True</property>1889 </object>1890 </child>1891 </object>1892 <packing>1893 <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property>1894 </packing>1895 </child>1896 <child>1897 <object class="GtkFrame" id="frame5">1898 <property name="visible">True</property>1899 <property name="can_focus">False</property>1900 <property name="label_xalign">0</property>1901 <property name="shadow_type">none</property>1902 <child>1903 <object class="GtkAlignment" id="alignment5">1904 <property name="visible">True</property>1905 <property name="can_focus">False</property>1906 <property name="left_padding">12</property>1907 1749 <child> 1908 <object class="Gtk VBox" id="vbox2">1750 <object class="GtkHSeparator" id="hseparator1"> 1909 1751 <property name="visible">True</property> 1910 1752 <property name="can_focus">False</property> 1753 </object> 1754 <packing> 1755 <property name="expand">False</property> 1756 <property name="fill">True</property> 1757 <property name="padding">7</property> 1758 <property name="position">4</property> 1759 </packing> 1760 </child> 1761 <child> 1762 <object class="GtkAlignment" id="alignment5"> 1763 <property name="visible">True</property> 1764 <property name="can_focus">False</property> 1765 <property name="yalign">1</property> 1766 <property name="xscale">0.69999998807907104</property> 1911 1767 <child> 1912 1768 <object class="GtkButton" id="button_apply"> … … 1920 1776 <signal name="clicked" handler="on_button_apply_clicked" swapped="no"/> 1921 1777 </object> 1922 <packing>1923 <property name="expand">False</property>1924 <property name="fill">False</property>1925 <property name="position">0</property>1926 </packing>1927 1778 </child> 1928 <child>1929 <object class="GtkButton" id="button_edit_trackers1">1930 <property name="use_action_appearance">False</property>1931 <property name="visible">True</property>1932 <property name="can_focus">True</property>1933 <property name="receives_default">True</property>1934 <property name="xalign">0</property>1935 <property name="yalign">0</property>1936 <signal name="clicked" handler="on_button_edit_trackers_clicked" swapped="no"/>1937 <child>1938 <object class="GtkHBox" id="hbox1">1939 <property name="visible">True</property>1940 <property name="can_focus">False</property>1941 <property name="spacing">5</property>1942 <child>1943 <object class="GtkImage" id="image7">1944 <property name="visible">True</property>1945 <property name="can_focus">False</property>1946 <property name="stock">gtk-edit</property>1947 </object>1948 <packing>1949 <property name="expand">False</property>1950 <property name="fill">True</property>1951 <property name="position">0</property>1952 </packing>1953 </child>1954 <child>1955 <object class="GtkLabel" id="label25">1956 <property name="visible">True</property>1957 <property name="can_focus">False</property>1958 <property name="label" translatable="yes">_Edit Trackers</property>1959 <property name="use_underline">True</property>1960 </object>1961 <packing>1962 <property name="expand">False</property>1963 <property name="fill">False</property>1964 <property name="position">1</property>1965 </packing>1966 </child>1967 </object>1968 </child>1969 </object>1970 <packing>1971 <property name="expand">False</property>1972 <property name="fill">False</property>1973 <property name="position">1</property>1974 </packing>1975 </child>1976 </object>1977 </child>1978 </object>1979 </child>1980 <child type="label">1981 <object class="GtkLabel" id="label17">1982 <property name="visible">True</property>1983 <property name="can_focus">False</property>1984 <property name="label" translatable="yes">General</property>1985 <attributes>1986 <attribute name="weight" value="bold"/>1987 </attributes>1988 </object>1989 </child>1990 </object>1991 <packing>1992 <property name="left_attach">1</property>1993 <property name="right_attach">2</property>1994 <property name="x_options"></property>1995 <property name="y_options">GTK_FILL</property>1996 </packing>1997 </child>1998 <child>1999 <object class="GtkAlignment" id="alignment1">2000 <property name="visible">True</property>2001 <property name="can_focus">False</property>2002 <property name="xalign">0</property>2003 <property name="left_padding">14</property>2004 <child>2005 <object class="GtkVBox" id="vbox1">2006 <property name="visible">True</property>2007 <property name="can_focus">False</property>2008 <child>2009 <object class="GtkCheckButton" id="chk_move_completed">2010 <property name="label" translatable="yes">Move completed:</property>2011 <property name="use_action_appearance">False</property>2012 <property name="visible">True</property>2013 <property name="can_focus">True</property>2014 <property name="receives_default">False</property>2015 <property name="draw_indicator">True</property>2016 <signal name="toggled" handler="on_chk_move_completed_toggled" swapped="no"/>2017 1779 </object> 2018 1780 <packing> 2019 1781 <property name="expand">False</property> 2020 <property name="fill"> False</property>2021 <property name="position"> 0</property>1782 <property name="fill">True</property> 1783 <property name="position">5</property> 2022 1784 </packing> 2023 1785 </child> 2024 <child> 2025 <object class="GtkHBox" id="hbox_move_completed_path_chooser"> 2026 <property name="visible">True</property> 2027 <property name="can_focus">False</property> 2028 <child> 2029 <placeholder/> 2030 </child> 2031 </object> 2032 <packing> 2033 <property name="expand">True</property> 2034 <property name="fill">True</property> 2035 <property name="position">1</property> 2036 </packing> 2037 </child> 2038 </object> 2039 </child> 2040 </object> 2041 <packing> 2042 <property name="top_attach">1</property> 2043 <property name="bottom_attach">2</property> 2044 </packing> 2045 </child> 2046 <child> 2047 <placeholder/> 1786 </object> 1787 </child> 1788 </object> 1789 <packing> 1790 <property name="left_attach">2</property> 1791 <property name="right_attach">3</property> 1792 <property name="x_options">GTK_FILL</property> 1793 </packing> 2048 1794 </child> 2049 1795 </object> 2050 <packing>2051 <property name="left_attach">2</property>2052 <property name="right_attach">3</property>2053 <property name="y_options"></property>2054 </packing>2055 1796 </child> 2056 1797 </object> … … 2072 1813 <property name="visible">True</property> 2073 1814 <property name="can_focus">False</property> 1815 <property name="xpad">2</property> 2074 1816 <property name="stock">gtk-preferences</property> 2075 1817 </object> … … 2081 1823 </child> 2082 1824 <child> 2083 <object class="GtkLabel" id="label 18">1825 <object class="GtkLabel" id="label_options_tab"> 2084 1826 <property name="visible">True</property> 2085 1827 <property name="can_focus">False</property> … … 2099 1841 </packing> 2100 1842 </child> 1843 <child> 1844 <object class="GtkScrolledWindow" id="trackers_tab"> 1845 <property name="visible">True</property> 1846 <property name="can_focus">True</property> 1847 <property name="hscrollbar_policy">automatic</property> 1848 <property name="vscrollbar_policy">automatic</property> 1849 <child> 1850 <object class="GtkViewport" id="viewport4"> 1851 <property name="visible">True</property> 1852 <property name="can_focus">False</property> 1853 <property name="shadow_type">none</property> 1854 <child> 1855 <object class="GtkAlignment" id="alignment6"> 1856 <property name="visible">True</property> 1857 <property name="can_focus">False</property> 1858 <property name="top_padding">10</property> 1859 <property name="bottom_padding">10</property> 1860 <property name="left_padding">10</property> 1861 <property name="right_padding">15</property> 1862 <child> 1863 <object class="GtkTable" id="table2"> 1864 <property name="visible">True</property> 1865 <property name="can_focus">False</property> 1866 <property name="n_rows">5</property> 1867 <property name="n_columns">2</property> 1868 <property name="column_spacing">10</property> 1869 <property name="row_spacing">5</property> 1870 <child> 1871 <object class="GtkLabel" id="label_tracker"> 1872 <property name="visible">True</property> 1873 <property name="can_focus">False</property> 1874 <property name="xalign">0</property> 1875 <property name="label" translatable="yes">Current Tracker:</property> 1876 <attributes> 1877 <attribute name="weight" value="bold"/> 1878 </attributes> 1879 </object> 1880 <packing> 1881 <property name="top_attach">1</property> 1882 <property name="bottom_attach">2</property> 1883 <property name="x_options">GTK_FILL</property> 1884 <property name="y_options"></property> 1885 </packing> 1886 </child> 1887 <child> 1888 <object class="GtkLabel" id="summary_tracker"> 1889 <property name="visible">True</property> 1890 <property name="can_focus">False</property> 1891 <property name="xalign">0</property> 1892 <property name="selectable">True</property> 1893 </object> 1894 <packing> 1895 <property name="left_attach">1</property> 1896 <property name="right_attach">2</property> 1897 <property name="top_attach">1</property> 1898 <property name="bottom_attach">2</property> 1899 <property name="y_options"></property> 1900 </packing> 1901 </child> 1902 <child> 1903 <object class="GtkLabel" id="label_next_announce"> 1904 <property name="visible">True</property> 1905 <property name="can_focus">False</property> 1906 <property name="xalign">0</property> 1907 <property name="label" translatable="yes">Next Announce:</property> 1908 <attributes> 1909 <attribute name="weight" value="bold"/> 1910 </attributes> 1911 </object> 1912 <packing> 1913 <property name="top_attach">3</property> 1914 <property name="bottom_attach">4</property> 1915 <property name="x_options">GTK_FILL</property> 1916 <property name="y_options"></property> 1917 </packing> 1918 </child> 1919 <child> 1920 <object class="GtkLabel" id="summary_next_announce"> 1921 <property name="visible">True</property> 1922 <property name="can_focus">False</property> 1923 <property name="xalign">0</property> 1924 <property name="wrap">True</property> 1925 </object> 1926 <packing> 1927 <property name="left_attach">1</property> 1928 <property name="right_attach">2</property> 1929 <property name="top_attach">3</property> 1930 <property name="bottom_attach">4</property> 1931 <property name="y_options"></property> 1932 </packing> 1933 </child> 1934 <child> 1935 <object class="GtkLabel" id="label_tracker_status"> 1936 <property name="visible">True</property> 1937 <property name="can_focus">False</property> 1938 <property name="xalign">0</property> 1939 <property name="yalign">0</property> 1940 <property name="label" translatable="yes">Tracker Status:</property> 1941 <attributes> 1942 <attribute name="weight" value="bold"/> 1943 </attributes> 1944 </object> 1945 <packing> 1946 <property name="top_attach">2</property> 1947 <property name="bottom_attach">3</property> 1948 <property name="x_options">GTK_FILL</property> 1949 <property name="y_options"></property> 1950 </packing> 1951 </child> 1952 <child> 1953 <object class="GtkLabel" id="summary_tracker_status"> 1954 <property name="visible">True</property> 1955 <property name="can_focus">False</property> 1956 <property name="xalign">0</property> 1957 <property name="wrap">True</property> 1958 <property name="wrap_mode">char</property> 1959 <property name="selectable">True</property> 1960 </object> 1961 <packing> 1962 <property name="left_attach">1</property> 1963 <property name="right_attach">2</property> 1964 <property name="top_attach">2</property> 1965 <property name="bottom_attach">3</property> 1966 <property name="y_options">GTK_FILL</property> 1967 </packing> 1968 </child> 1969 <child> 1970 <object class="GtkAlignment" id="alignment_edit_trackers"> 1971 <property name="visible">True</property> 1972 <property name="can_focus">False</property> 1973 <property name="xalign">0</property> 1974 <property name="xscale">0</property> 1975 <property name="top_padding">5</property> 1976 <property name="left_padding">5</property> 1977 <child> 1978 <object class="GtkButton" id="button_edit_trackers"> 1979 <property name="use_action_appearance">False</property> 1980 <property name="visible">True</property> 1981 <property name="can_focus">True</property> 1982 <property name="receives_default">True</property> 1983 <property name="xalign">0</property> 1984 <property name="yalign">0</property> 1985 <signal name="clicked" handler="on_button_edit_trackers_clicked" swapped="no"/> 1986 <child> 1987 <object class="GtkHBox" id="hbox1"> 1988 <property name="visible">True</property> 1989 <property name="can_focus">False</property> 1990 <property name="spacing">5</property> 1991 <child> 1992 <object class="GtkImage" id="image7"> 1993 <property name="visible">True</property> 1994 <property name="can_focus">False</property> 1995 <property name="stock">gtk-edit</property> 1996 </object> 1997 <packing> 1998 <property name="expand">False</property> 1999 <property name="fill">True</property> 2000 <property name="position">0</property> 2001 </packing> 2002 </child> 2003 <child> 2004 <object class="GtkLabel" id="label25"> 2005 <property name="visible">True</property> 2006 <property name="can_focus">False</property> 2007 <property name="label" translatable="yes">_Edit Trackers</property> 2008 <property name="use_underline">True</property> 2009 </object> 2010 <packing> 2011 <property name="expand">False</property> 2012 <property name="fill">False</property> 2013 <property name="position">1</property> 2014 </packing> 2015 </child> 2016 </object> 2017 </child> 2018 </object> 2019 </child> 2020 </object> 2021 <packing> 2022 <property name="right_attach">2</property> 2023 <property name="top_attach">4</property> 2024 <property name="bottom_attach">5</property> 2025 <property name="x_options">GTK_FILL</property> 2026 <property name="y_options"></property> 2027 </packing> 2028 </child> 2029 <child> 2030 <object class="GtkLabel" id="label_tracker_total"> 2031 <property name="visible">True</property> 2032 <property name="can_focus">False</property> 2033 <property name="xalign">0</property> 2034 <property name="label" translatable="yes">Total Trackers:</property> 2035 <attributes> 2036 <attribute name="weight" value="bold"/> 2037 </attributes> 2038 </object> 2039 <packing> 2040 <property name="x_options">GTK_FILL</property> 2041 <property name="y_options"></property> 2042 </packing> 2043 </child> 2044 <child> 2045 <object class="GtkLabel" id="summary_tracker_total"> 2046 <property name="visible">True</property> 2047 <property name="can_focus">False</property> 2048 <property name="xalign">0</property> 2049 <property name="selectable">True</property> 2050 </object> 2051 <packing> 2052 <property name="left_attach">1</property> 2053 <property name="right_attach">2</property> 2054 <property name="y_options">GTK_FILL</property> 2055 </packing> 2056 </child> 2057 </object> 2058 </child> 2059 </object> 2060 </child> 2061 </object> 2062 </child> 2063 </object> 2064 <packing> 2065 <property name="position">5</property> 2066 </packing> 2067 </child> 2068 <child type="tab"> 2069 <object class="GtkHBox" id="trackers_tab_label"> 2070 <property name="visible">True</property> 2071 <property name="can_focus">False</property> 2072 <property name="spacing">2</property> 2073 <child> 2074 <object class="GtkImage" id="image6"> 2075 <property name="visible">True</property> 2076 <property name="can_focus">False</property> 2077 <property name="xpad">2</property> 2078 <property name="stock">gtk-goto-last</property> 2079 </object> 2080 <packing> 2081 <property name="expand">True</property> 2082 <property name="fill">True</property> 2083 <property name="position">0</property> 2084 </packing> 2085 </child> 2086 <child> 2087 <object class="GtkLabel" id="label_trackers_tab"> 2088 <property name="visible">True</property> 2089 <property name="can_focus">False</property> 2090 <property name="label" translatable="yes">_Trackers</property> 2091 <property name="use_underline">True</property> 2092 </object> 2093 <packing> 2094 <property name="expand">True</property> 2095 <property name="fill">True</property> 2096 <property name="position">1</property> 2097 </packing> 2098 </child> 2099 </object> 2100 <packing> 2101 <property name="position">5</property> 2102 <property name="tab_fill">False</property> 2103 </packing> 2104 </child> 2101 2105 </object> 2102 2106 </child> -
deluge/ui/gtkui/options_tab.py
r14776d r649638 78 78 component.get("MainWindow").connect_signals({ 79 79 "on_button_apply_clicked": self._on_button_apply_clicked, 80 "on_button_edit_trackers_clicked": self._on_button_edit_trackers_clicked,81 80 "on_chk_move_completed_toggled": self._on_chk_move_completed_toggled, 82 81 "on_chk_stop_at_ratio_toggled": self._on_chk_stop_at_ratio_toggled, … … 103 102 104 103 # Only use the first torrent in the list or return if None selected 105 if len(torrent_id) != 0:104 if torrent_id: 106 105 torrent_id = torrent_id[0] 107 106 self._child_widget.set_sensitive(True) … … 251 250 self.button_apply.set_sensitive(False) 252 251 253 def _on_button_edit_trackers_clicked(self, button):254 from edittrackersdialog import EditTrackersDialog255 dialog = EditTrackersDialog(256 self.prev_torrent_id,257 component.get("MainWindow").window)258 259 def on_response(result):260 if result:261 self.button_apply.set_sensitive(True)262 dialog.run().addCallback(on_response)263 264 252 def _on_chk_move_completed_toggled(self, widget): 265 253 value = self.chk_move_completed.get_active() -
deluge/ui/gtkui/piecesbar.py
r14776d r649638 52 52 3: "completed" 53 53 } 54 54 55 55 56 class PiecesBar(gtk.DrawingArea): … … 142 143 def __draw_pieces(self): 143 144 if (self.__resized() or self.__pieces != self.__old_pieces or 144 self.__pieces_overlay ==None):145 self.__pieces_overlay is None): 145 146 # Need to recreate the cache drawing 146 147 self.__pieces_overlay = cairo.ImageSurface( … … 195 196 # Nothing useful to draw, return now! 196 197 return 197 if (self.__resized() or self.__fraction != self.__old_fraction) or \ 198 self.__progress_overlay is None: 198 if (self.__resized() or self.__fraction != self.__old_fraction) or self.__progress_overlay is None: 199 199 # Need to recreate the cache drawing 200 200 self.__progress_overlay = cairo.ImageSurface( … … 202 202 ) 203 203 ctx = cairo.Context(self.__progress_overlay) 204 ctx.set_source_rgba(0.1, 0.1, 0.1, 0.3) # Transparent204 ctx.set_source_rgba(0.1, 0.1, 0.1, 0.3) # Transparent 205 205 ctx.rectangle(0.0, 0.0, self.__width*self.__fraction, self.__height) 206 206 ctx.fill() … … 231 231 else: 232 232 if self.__state: 233 text += self.__state+ " "233 text += _(self.__state) + " " 234 234 if self.__fraction == 1.0: 235 235 format = "%d%%" -
deluge/ui/gtkui/status_tab.py
r14776d r649638 56 56 57 57 58 def fpcnt(value): 59 return "%.2f%%" % value 58 def fpcnt(value, state): 59 if state: 60 state = _(state) + " " 61 return "%s%.2f%%" % (state, value) 60 62 61 63 … … 103 105 (builder.get_object("summary_eta"), deluge.common.ftime, ("eta",)), 104 106 (builder.get_object("summary_share_ratio"), fratio, ("ratio",)), 105 (builder.get_object("summary_tracker_status"), None, ("tracker_status",)),106 (builder.get_object("summary_next_announce"), deluge.common.ftime, ("next_announce",)),107 107 (builder.get_object("summary_active_time"), deluge.common.ftime, ("active_time",)), 108 108 (builder.get_object("summary_seed_time"), deluge.common.ftime, ("seeding_time",)), 109 109 (builder.get_object("summary_seed_rank"), str, ("seed_rank",)), 110 (builder.get_object("summary_auto_managed"), str, ("is_auto_managed",)), 111 (builder.get_object("progressbar"), fpcnt, ("progress",)), 110 (builder.get_object("progressbar"), fpcnt, ("progress", "state")), 112 111 (builder.get_object("summary_last_seen_complete"), fdate_or_never, ("last_seen_complete",)), 113 112 (builder.get_object("summary_torrent_status"), str, ("message",)), 114 (builder.get_object("summary_tracker"), None, ("tracker_host",)),115 113 ] 114 115 self.status_keys = [status for widget in self.label_widgets for status in widget[2]] 116 116 117 117 def update(self): … … 120 120 121 121 # Only use the first torrent in the list or return if None selected 122 if len(selected) != 0:122 if selected: 123 123 selected = selected[0] 124 124 else: 125 125 # No torrent is selected in the torrentview 126 self.clear() 126 127 return 127 128 128 129 # Get the torrent status 129 status_keys = [ 130 "distributed_copies", "all_time_download", "total_payload_download", 131 "total_uploaded", "total_payload_upload", "download_payload_rate", "max_download_speed", 132 "upload_payload_rate", "max_upload_speed", "num_peers", "num_seeds", "total_peers", 133 "total_seeds", "eta", "ratio", "tracker_status", "next_announce", "active_time", 134 "seeding_time", "seed_rank", "is_auto_managed", "progress", "last_seen_complete", 135 "message", "tracker_host" 136 ] 130 status_keys = self.status_keys 137 131 if self.config['show_piecesbar']: 138 status_keys .extend(["pieces", "state", "num_pieces"])132 status_keys = self.status_keys + ["pieces", "num_pieces"] 139 133 140 134 component.get("SessionProxy").get_torrent_status( … … 146 140 return 147 141 148 if status["is_auto_managed"]:149 status["is_auto_managed"] = _("On")150 else:151 status["is_auto_managed"] = _("Off")152 153 translate_tracker_status = {154 "Error": _("Error"),155 "Warning": _("Warning"),156 "Announce OK": _("Announce OK"),157 "Announce Sent": _("Announce Sent")158 }159 for key, value in translate_tracker_status.iteritems():160 if key in status["tracker_status"]:161 status["tracker_status"] = status["tracker_status"].replace(key, value, 1)162 break163 164 142 # Update all the label widgets 165 143 for widget in self.label_widgets: 166 144 if widget[1] is not None: 167 args = []168 145 try: 169 for key in widget[2]: 170 args.append(status[key]) 171 except Exception, e: 172 log.debug("Unable to get status value: %s", e) 146 args = [status[key] for key in widget[2]] 147 except KeyError, ex: 148 log.debug("Unable to get status value: %s", ex) 173 149 continue 174 175 150 txt = widget[1](*args) 176 151 else: … … 203 178 self.piecesbar = PiecesBar() 204 179 self.builder.get_object("status_progress_vbox").pack_start( 205 self.piecesbar, False, False, 5180 self.piecesbar, False, False, 0 206 181 ) 207 182 self.progressbar.hide() -
deluge/ui/gtkui/torrentdetails.py
r14776d r649638 1 # 2 # torrentdetails.py 1 # -*- coding: utf-8 -*- 3 2 # 4 3 # Copyright (C) 2007 Andrew Resch <andrewresch@gmail.com> 5 4 # 6 # Deluge is free software. 7 # 8 # You may redistribute it and/or modify it under the terms of the 9 # GNU General Public License, as published by the Free Software 10 # Foundation; either version 3 of the License, or (at your option) 11 # any later version. 12 # 13 # deluge is distributed in the hope that it will be useful, 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 # See the GNU General Public License for more details. 17 # 18 # You should have received a copy of the GNU General Public License 19 # along with deluge. If not, write to: 20 # The Free Software Foundation, Inc., 21 # 51 Franklin Street, Fifth Floor 22 # Boston, MA 02110-1301, USA. 23 # 24 # In addition, as a special exception, the copyright holders give 25 # permission to link the code of portions of this program with the OpenSSL 26 # library. 27 # You must obey the GNU General Public License in all respects for all of 28 # the code used other than OpenSSL. If you modify file(s) with this 29 # exception, you may extend this exception to your version of the file(s), 30 # but you are not obligated to do so. If you do not wish to do so, delete 31 # this exception statement from your version. If you delete this exception 32 # statement from all source files in the program, then also delete it here. 33 # 5 # This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with 6 # the additional special exception to link portions of this program with the OpenSSL library. 7 # See LICENSE for more details. 34 8 # 35 9 … … 45 19 46 20 log = logging.getLogger(__name__) 21 47 22 48 23 class Tab: … … 69 44 70 45 return self._tab_label 46 71 47 72 48 class TorrentDetails(component.Component): … … 92 68 from peers_tab import PeersTab 93 69 from options_tab import OptionsTab 70 from trackers_tab import TrackersTab 94 71 95 72 default_tabs = { … … 98 75 "Files": FilesTab, 99 76 "Peers": PeersTab, 100 "Options": OptionsTab 77 "Options": OptionsTab, 78 "Trackers": TrackersTab 101 79 } 102 80 … … 107 85 ("Files", True), 108 86 ("Peers", True), 109 ("Options", True) 87 ("Options", True), 88 ("Trackers", True) 110 89 ] 111 90 112 91 self.translate_tabs = { 113 "All" : _("_All"), 114 "Status" : _("_Status"), 115 "Details" : _("_Details"), 116 "Files" : _("_Files"), 117 "Peers" : _("_Peers"), 118 "Options" : _("_Options") 119 } 92 "All": _("_All"), 93 "Status": _("_Status"), 94 "Details": _("_Details"), 95 "Files": _("_Files"), 96 "Peers": _("_Peers"), 97 "Options": _("_Options"), 98 "Trackers": _("_Trackers") 99 } 120 100 121 101 # Get the state from saved file … … 130 110 131 111 # The state is a list of tab_names in the order they should appear 132 if state ==None:112 if state is None: 133 113 # Set the default order 134 114 state = default_order 135 115 136 116 # We need to rename the tab in the state for backwards compat 137 self.state = [(tab_name.replace("Statistics", "Status"), visible) for 138 tab_name, visible in state] 117 self.state = [(tab_name.replace("Statistics", "Status"), visible) for tab_name, visible in state] 139 118 140 119 for tab in default_tabs.itervalues(): … … 162 141 break 163 142 return position 164 165 143 166 144 def add_tab(self, tab, generate_menu=True, visible=None): … … 209 187 self.generate_menu() 210 188 211 212 189 def regenerate_positions(self): 213 """This will sync up the positions in the tab, with the position stored 214 in the tab object""" 190 """Sync the positions in the tab, with the position stored in the tab object""" 215 191 for tab in self.tabs: 216 192 page_num = self.notebook.page_num(self.tabs[tab]._child_widget) … … 263 239 def show_tab(self, tab_name, generate_menu=True): 264 240 log.debug("%s\n%s\n%s", self.tabs[tab_name].get_child_widget(), 265 self.tabs[tab_name].get_tab_label(), 266 self.tabs[tab_name].position) 241 self.tabs[tab_name].get_tab_label(), self.tabs[tab_name].position) 267 242 268 243 position = self.tab_insert_position(self.tabs[tab_name].weight) … … 345 320 pass 346 321 347 348 322 def shutdown(self): 349 323 # Save the state of the tabs … … 363 337 364 338 if self.notebook.get_property("visible"): 365 if page_num ==None:339 if page_num is None: 366 340 page_num = self.notebook.get_current_page() 367 341 try:
Note:
See TracChangeset
for help on using the changeset viewer.