unity-dev team mailing list archive
-
unity-dev team
-
Mailing list archive
-
Message #00318
Re: [Ayatana-dev] position of the lenses bar.
On Sun, Nov 6, 2011 at 12:59 PM, staticd
<staticd.growthecommons@xxxxxxxxx> wrote:
I made these suggestions on the ayatana mailing list and they seem well.(Unity Dash suggestions, 16 Oct)
1)The latest dash (with 11.10) has a list of lenses at the bottom-center.
The icons for each lens(home, apps, files, music)are kinda small and non obvious as to their purpose.
IMHO, both novices and experienced users will find it more useful if the
lens buttons were accompanied by a name and were above the search bar
(minimum mouse movement from clicking the dash button).
| [icon]Home | [icon]Apps | [icon] FIles&Folders | [Icon] Music|
|Search bar|
2)New users tend to browse for installed apps.
It might be useful if the filter results is expanded by default.
I have just downloaded the sources for unity.
How do I go about making these changes?
Should I file a bug report first?
Thanks.
I've made a small change in the DashView.cpp to display the lens bar at the top of the dash. Can this be merged into the main code? I think that it will really help visibility.
=== modified file 'plugins/unityshell/src/DashView.cpp'
--- plugins/unityshell/src/DashView.cpp 2011-10-25 16:32:49 +0000
+++ plugins/unityshell/src/DashView.cpp 2011-11-07 12:40:23 +0000
@@ -119,6 +119,10 @@
search_bar_->search_changed.connect(sigc::mem_fun(this, &DashView::OnSearchChanged));
search_bar_->live_search_reached.connect(sigc::mem_fun(this, &DashView::OnLiveSearchReached));
search_bar_->showing_filters.changed.connect([&] (bool showing) { if (active_lens_view_) active_lens_view_->filters_expanded = showing; QueueDraw(); });
+
+ lens_bar_ = new LensBar();
+ lens_bar_->lens_activated.connect(sigc::mem_fun(this, &DashView::OnLensBarActivated));
+ content_layout_->AddView(lens_bar_, 0, nux::MINOR_POSITION_CENTER);
content_layout_->AddView(search_bar_, 0, nux::MINOR_POSITION_LEFT);
lenses_layout_ = new nux::VLayout();
@@ -128,10 +132,6 @@
active_lens_view_ = home_view_;
lens_views_["home.lens"] = home_view_;
lenses_layout_->AddView(home_view_);
-
- lens_bar_ = new LensBar();
- lens_bar_->lens_activated.connect(sigc::mem_fun(this, &DashView::OnLensBarActivated));
- content_layout_->AddView(lens_bar_, 0, nux::MINOR_POSITION_CENTER);
}
void DashView::SetupUBusConnections()
References