Merge lp:~evfool/software-center/lp876657 into lp:software-center/5.2

Proposed by Robert Roth
Status: Merged
Merged at revision: 3005
Proposed branch: lp:~evfool/software-center/lp876657
Merge into: lp:software-center/5.2
Diff against target: 13 lines (+2/-1)
1 file modified
softwarecenter/ui/gtk3/widgets/searchentry.py (+2/-1)
To merge this branch: bzr merge lp:~evfool/software-center/lp876657
Reviewer Review Type Date Requested Status
Gary Lasker (community) Approve
Review via email: mp+105547@code.launchpad.net

Description of the change

Set the search entry minimum width in text so that it does not disappear when the progress tab appears (LP: #876657)

To post a comment you must log in.
Revision history for this message
Gary Lasker (gary-lasker) wrote :

Nice work Robert, works perfectly! Many thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/ui/gtk3/widgets/searchentry.py'
2--- softwarecenter/ui/gtk3/widgets/searchentry.py 2012-03-08 22:33:18 +0000
3+++ softwarecenter/ui/gtk3/widgets/searchentry.py 2012-05-12 04:42:18 +0000
4@@ -41,7 +41,8 @@
5 Creates an enhanced IconEntry that triggers a timeout when typing
6 """
7 Gtk.Entry.__init__(self)
8- self.set_size_request(em(16), em(1.7))
9+ self.set_width_chars(25)
10+ self.set_size_request(0, em(1.7))
11
12 if not icon_theme:
13 icon_theme = Gtk.IconTheme.get_default()

Subscribers

People subscribed via source and target branches