Merge lp:~robertcarr/unity/rightalign-filter into lp:unity

Proposed by Robert Carr
Status: Merged
Approved by: Gord Allott
Approved revision: no longer in the source branch.
Merged at revision: 1496
Proposed branch: lp:~robertcarr/unity/rightalign-filter
Merge into: lp:unity
Diff against target: 13 lines (+2/-1)
1 file modified
plugins/unityshell/src/DashSearchBar.cpp (+2/-1)
To merge this branch: bzr merge lp:~robertcarr/unity/rightalign-filter
Reviewer Review Type Date Requested Status
Unity Team Pending
Review via email: mp+74255@code.launchpad.net

Description of the change

Right align the filter results label, fixes: https://bugs.launchpad.net/unity/+bug/838118

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/DashSearchBar.cpp'
2--- plugins/unityshell/src/DashSearchBar.cpp 2011-09-01 00:12:12 +0000
3+++ plugins/unityshell/src/DashSearchBar.cpp 2011-09-06 15:45:24 +0000
4@@ -99,7 +99,8 @@
5 show_filters_->SetCanFocus(true);
6 show_filters_->SetTextAlignment(nux::StaticCairoText::NUX_ALIGN_LEFT);
7 show_filters_->mouse_click.connect([&] (int x, int y, unsigned long b, unsigned long k) { showing_filters = !showing_filters; });
8- layout_->AddView(show_filters_, 0, nux::MINOR_POSITION_LEFT, nux::MINOR_SIZE_FIX);
9+ layout_->AddSpace(1,1);
10+ layout_->AddView(show_filters_, 0, nux::MINOR_POSITION_RIGHT, nux::MINOR_SIZE_FIX);
11
12 sig_manager_.Add(new Signal<void, GtkSettings*, GParamSpec*>
13 (gtk_settings_get_default(),