~macslow/unity/unity-sru1-4.26.0

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/DashView.cpp

  • Committer: Mirco Müller
  • Date: 2011-12-15 12:36:55 UTC
  • Revision ID: mirco.mueller@ubuntu.com-20111215123655-qsuxnl1obsh0uzv8
Fixes #860805: get focus on dash by pressing the super key first time after login (backported from unity trunk r1759)

Show diffs side-by-side

added added

removed removed

Lines of Context:
731
731
  search_bar_->showing_filters = expanded;
732
732
 
733
733
  search_bar_->text_entry()->SelectAll();
734
 
  search_bar_->text_entry()->SetFocused(true);
735
 
  nux::GetWindowCompositor().SetKeyFocusArea(search_bar_->text_entry());
736
734
 
737
735
  search_bar_->can_refine_search = view->can_refine_search();
738
736