Merge lp:~kiwinote/software-center/bug530187 into lp:software-center

Proposed by Kiwinote
Status: Merged
Merged at revision: not available
Proposed branch: lp:~kiwinote/software-center/bug530187
Merge into: lp:software-center
Diff against target: 14 lines (+4/-0)
1 file modified
softwarecenter/app.py (+4/-0)
To merge this branch: bzr merge lp:~kiwinote/software-center/bug530187
Reviewer Review Type Date Requested Status
Michael Vogt Approve
Review via email: mp+22066@code.launchpad.net

Commit message

* softwarecenter/view/app.py:
  - Set correct sensitivity of 'edit >search' (LP: #530187)

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) wrote :

Looks good, merged!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'softwarecenter/app.py'
2--- softwarecenter/app.py 2010-03-04 15:28:40 +0000
3+++ softwarecenter/app.py 2010-03-24 21:01:24 +0000
4@@ -301,6 +301,10 @@
5 """
6 if self.active_pane:
7 state = self.active_pane.searchentry.is_focus()
8+ if self.active_pane.searchentry.flags() & gtk.VISIBLE:
9+ self.menuitem_search.set_sensitive(not state)
10+ else:
11+ self.menuitem_search.set_sensitive(False)
12 else:
13 state = False
14 edit_menu_items = [self.menuitem_undo,

Subscribers

People subscribed via source and target branches