summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/builddetailspage.py
diff options
context:
space:
mode:
authorLiming An <limingx.l.an@intel.com>2012-03-22 19:03:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-23 16:10:24 +0000
commitf427bfa0e438ea618d0baf4ebfe4f8404eb4840e (patch)
tree48cde2457876a3c8418adca803ddee3866b0bb06 /bitbake/lib/bb/ui/crumbs/builddetailspage.py
parent63648b9f1d2b6fc8928fccc9c7e1601be0ec529a (diff)
downloadpoky-f427bfa0e438ea618d0baf4ebfe4f8404eb4840e.tar.gz
Hob: reset the policy to forbid the horizontal scrolling for building log
This patch is not to show the horizontal scroll bar for building log, and add CellRendererText class to wrap the text. [Yocto #2091] (Bitbake rev: 7c5e1297c1af2edd46315e3dec4516f850d5e222) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builddetailspage.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builddetailspage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 3605ee1a6b..92ca176190 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -58,7 +58,7 @@ class BuildDetailsPage (HobPage):
58 self.config_model = self.builder.handler.build.model.config_model() 58 self.config_model = self.builder.handler.build.model.config_model()
59 self.config_tv.set_model(self.config_model) 59 self.config_tv.set_model(self.config_model)
60 self.scrolled_view_config = gtk.ScrolledWindow () 60 self.scrolled_view_config = gtk.ScrolledWindow ()
61 self.scrolled_view_config.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) 61 self.scrolled_view_config.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
62 self.scrolled_view_config.add(self.config_tv) 62 self.scrolled_view_config.add(self.config_tv)
63 self.notebook.append_page(self.scrolled_view_config, gtk.Label("Build Configuration")) 63 self.notebook.append_page(self.scrolled_view_config, gtk.Label("Build Configuration"))
64 64
@@ -66,14 +66,14 @@ class BuildDetailsPage (HobPage):
66 self.failure_model = self.builder.handler.build.model.failure_model() 66 self.failure_model = self.builder.handler.build.model.failure_model()
67 self.failure_tv.set_model(self.failure_model) 67 self.failure_tv.set_model(self.failure_model)
68 self.scrolled_view_failure = gtk.ScrolledWindow () 68 self.scrolled_view_failure = gtk.ScrolledWindow ()
69 self.scrolled_view_failure.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) 69 self.scrolled_view_failure.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
70 self.scrolled_view_failure.add(self.failure_tv) 70 self.scrolled_view_failure.add(self.failure_tv)
71 self.notebook.append_page(self.scrolled_view_failure, gtk.Label("Issues")) 71 self.notebook.append_page(self.scrolled_view_failure, gtk.Label("Issues"))
72 72
73 self.build_tv = RunningBuildTreeView(readonly=True) 73 self.build_tv = RunningBuildTreeView(readonly=True)
74 self.build_tv.set_model(self.builder.handler.build.model) 74 self.build_tv.set_model(self.builder.handler.build.model)
75 self.scrolled_view_build = gtk.ScrolledWindow () 75 self.scrolled_view_build = gtk.ScrolledWindow ()
76 self.scrolled_view_build.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) 76 self.scrolled_view_build.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
77 self.scrolled_view_build.add(self.build_tv) 77 self.scrolled_view_build.add(self.build_tv)
78 self.notebook.append_page(self.scrolled_view_build, gtk.Label("Log")) 78 self.notebook.append_page(self.scrolled_view_build, gtk.Label("Log"))
79 79