[gnome-shell/overview-relayout: 11/20] all-app-view: Slight cleanup and style update
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/overview-relayout: 11/20] all-app-view: Slight cleanup and style update
- Date: Mon, 15 Nov 2010 22:39:33 +0000 (UTC)
commit 740283c822d4c316364b8960012816943416466d
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 30 17:43:07 2010 +0200
all-app-view: Slight cleanup and style update
Being no longer an independent menu pane, the view's structure can
be simplified a bit. Update the style to fit into the view selector.
https://bugzilla.gnome.org/show_bug.cgi?id=634948
data/theme/gnome-shell.css | 15 +--------------
js/ui/appDisplay.js | 18 ++++++------------
2 files changed, 7 insertions(+), 26 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 4fdee54..69b0cf8 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -571,10 +571,7 @@ StTooltip {
}
.all-app {
- border-radius: 10px;
- background-color: #111111;
- border: 2px solid #868686;
- color: #ffffff;
+ padding: 10px;
}
.app-section-divider-container {
@@ -587,16 +584,6 @@ StTooltip {
background-image: url("separator-white.png");
}
-.all-app-controls-panel {
- height: 30px;
-}
-
-.all-app-scroll-view {
- padding-right: 10px;
- padding-left: 10px;
- padding-bottom: 10px;
-}
-
#Dash > .app-well-app {
padding: 6px 12px;
}
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b9a3399..58a4d9a 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -148,18 +148,12 @@ AllAppDisplay.prototype = {
Main.queueDeferredWork(this._workId);
}));
- let bin = new St.BoxLayout({ style_class: 'all-app-controls-panel',
- reactive: true });
- this.actor = new St.BoxLayout({ style_class: 'all-app', vertical: true });
- this.actor.hide();
-
- let view = new St.ScrollView({ x_fill: true,
- y_fill: false,
- style_class: 'all-app-scroll-view',
- vshadows: true });
- this._scrollView = view;
- this.actor.add(bin);
- this.actor.add(view, { expand: true, y_fill: false, y_align: St.Align.START });
+ this._scrollView = new St.ScrollView({ x_fill: true,
+ y_fill: false,
+ vshadows: true });
+ this.actor = new St.Bin({ style_class: 'all-app',
+ y_align: St.Align.START,
+ child: this._scrollView });
this._appView = new ViewByCategories();
this._appView.connect('launching', Lang.bind(this, this.close));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]