diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-10-11 12:58:18 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-10-11 12:58:18 +0200 |
| commit | 2e51a4bb2d486f29db9f987133de202af8bccbe7 (patch) | |
| tree | 81658e416fb175ec49659666528287b4770fa450 /plugins | |
| parent | e8ccc4a5ca55f6e6d325f984533e87f389d9da7b (diff) | |
PanelView: When syncing geometries send a different panel name for each panel window
Thanks to the new unity-panel-service code, this finally fixes bug #869196 for unity. (bzr r1693.2.6)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/unityshell/src/PanelView.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/unityshell/src/PanelView.cpp b/plugins/unityshell/src/PanelView.cpp index c1debac79..d143ee3e1 100644 --- a/plugins/unityshell/src/PanelView.cpp +++ b/plugins/unityshell/src/PanelView.cpp @@ -622,9 +622,11 @@ void PanelView::SyncGeometries() { indicator::EntryLocationMap locations; + std::string panel_id = GetName() + boost::lexical_cast<std::string>(_monitor); + _menu_view->GetGeometryForSync(locations); _indicators->GetGeometryForSync(locations); - _remote->SyncGeometries(GetName(), locations); + _remote->SyncGeometries(panel_id, locations); } void |
