Make places results available in search
Places is one of the dash sections and it should be included in search results. Factor out the code for getting and updating the information about places from Places to PlacesManager. Introduce PlaceInfo class that contains information about the place and can be used by classes that display it in different ways. Rename classes so that their names are consistent with corresponding classes in appDisplay.js and docDisplay.js https://bugzilla.gnome.org/show_bug.cgi?id=599125
This commit is contained in:

committed by
Marina Zhurakhinskaya

parent
5ee72d807d
commit
585bfe5b5a
@ -16,6 +16,7 @@ const Chrome = imports.ui.chrome;
|
||||
const Environment = imports.ui.environment;
|
||||
const Overview = imports.ui.overview;
|
||||
const Panel = imports.ui.panel;
|
||||
const PlaceDisplay = imports.ui.placeDisplay;
|
||||
const RunDialog = imports.ui.runDialog;
|
||||
const LookingGlass = imports.ui.lookingGlass;
|
||||
const ShellDBus = imports.ui.shellDBus;
|
||||
@ -28,6 +29,7 @@ DEFAULT_BACKGROUND_COLOR.from_pixel(0x2266bbff);
|
||||
let chrome = null;
|
||||
let panel = null;
|
||||
let sidebar = null;
|
||||
let placesManager = null;
|
||||
let overview = null;
|
||||
let runDialog = null;
|
||||
let lookingGlass = null;
|
||||
@ -96,6 +98,7 @@ function start() {
|
||||
getRunDialog().open();
|
||||
});
|
||||
|
||||
placesManager = new PlaceDisplay.PlacesManager();
|
||||
overview = new Overview.Overview();
|
||||
chrome = new Chrome.Chrome();
|
||||
panel = new Panel.Panel();
|
||||
|
Reference in New Issue
Block a user