diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index b3aea92fa8..4f4fecb58a 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -581,8 +581,6 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
581 | sub_vbox.pack_start(label, expand=False, fill=False) | 581 | sub_vbox.pack_start(label, expand=False, fill=False) |
582 | sub_vbox.pack_start(sstatedir_widget, expand=False, fill=False, padding=12) | 582 | sub_vbox.pack_start(sstatedir_widget, expand=False, fill=False, padding=12) |
583 | 583 | ||
584 | sub_vbox = gtk.VBox(False) | ||
585 | advanced_vbox.pack_start(sub_vbox, expand=False, fill=False) | ||
586 | content = "<span weight=\"bold\">Shared state mirrors</span>" | 584 | content = "<span weight=\"bold\">Shared state mirrors</span>" |
587 | tooltip = "URLs pointing to pre-built mirrors that will speed your build. " | 585 | tooltip = "URLs pointing to pre-built mirrors that will speed your build. " |
588 | tooltip += "Select the \'Standard\' configuration if the structure of your " | 586 | tooltip += "Select the \'Standard\' configuration if the structure of your " |
@@ -591,8 +589,14 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
591 | tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" | 589 | tooltip += "http://www.yoctoproject.org/docs/current/poky-ref-manual/" |
592 | tooltip += "poky-ref-manual.html#shared-state\">Yocto Project Reference Manual</a>." | 590 | tooltip += "poky-ref-manual.html#shared-state\">Yocto Project Reference Manual</a>." |
593 | table = self.gen_label_info_widget(content, tooltip) | 591 | table = self.gen_label_info_widget(content, tooltip) |
594 | sub_vbox.pack_start(table, expand=False, fill=False) | 592 | advanced_vbox.pack_start(table, expand=False, fill=False) |
595 | 593 | ||
594 | sub_vbox = gtk.VBox(False) | ||
595 | scroll = gtk.ScrolledWindow() | ||
596 | scroll.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC) | ||
597 | scroll.add_with_viewport(sub_vbox) | ||
598 | scroll.connect('size-allocate', self.scroll_changed) | ||
599 | advanced_vbox.pack_start(scroll, gtk.TRUE, gtk.TRUE, 0) | ||
596 | searched_string = "file://" | 600 | searched_string = "file://" |
597 | 601 | ||
598 | if self.sstatemirrors_changed == 0: | 602 | if self.sstatemirrors_changed == 0: |
@@ -1004,6 +1008,9 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
1004 | self.handler.disconnect(self.proxy_test_failed_id) | 1008 | self.handler.disconnect(self.proxy_test_failed_id) |
1005 | super(SimpleSettingsDialog, self).destroy() | 1009 | super(SimpleSettingsDialog, self).destroy() |
1006 | 1010 | ||
1011 | def scroll_changed(self, widget, event, data=None): | ||
1012 | adj = widget.get_vadjustment() | ||
1013 | adj.set_value(adj.upper - adj.page_size) | ||
1007 | 1014 | ||
1008 | # | 1015 | # |
1009 | # AdvancedSettings Dialog | 1016 | # AdvancedSettings Dialog |