Add Places
Implement the Places mockup. This commit adds a link to Home, Network, Connect to server, and the GTK+ bookmarks.
This commit is contained in:
@ -11,6 +11,7 @@ const Lang = imports.lang;
|
||||
|
||||
const AppDisplay = imports.ui.appDisplay;
|
||||
const DocDisplay = imports.ui.docDisplay;
|
||||
const Places = imports.ui.places;
|
||||
const GenericDisplay = imports.ui.genericDisplay;
|
||||
const Button = imports.ui.button;
|
||||
const Main = imports.ui.main;
|
||||
@ -443,6 +444,18 @@ Dash.prototype = {
|
||||
|
||||
this.dashContainer.append(this._appsSection, Big.BoxPackFlags.NONE);
|
||||
|
||||
/***** Places *****/
|
||||
|
||||
let placesSection = new Big.Box({ orientation: Big.BoxOrientation.VERTICAL,
|
||||
spacing: DEFAULT_PADDING });
|
||||
let placesHeader = new SectionHeader("PLACES");
|
||||
placesSection.append(placesHeader.actor, Big.BoxPackFlags.NONE);
|
||||
|
||||
let placesDisplay = new Places.Places();
|
||||
placesSection.append(placesDisplay.actor, Big.BoxPackFlags.EXPAND);
|
||||
|
||||
this.dashContainer.append(placesSection, Big.BoxPackFlags.NONE);
|
||||
|
||||
/***** Documents *****/
|
||||
|
||||
this._docsSection = new Big.Box({ orientation: Big.BoxOrientation.VERTICAL,
|
||||
|
Reference in New Issue
Block a user