[gnome-shell/wip/paging-release: 5/90] AllView: pagination indicator reworked



commit 42b16594a9c581abc5b6208a011d04bad7df7ca0
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Mon Aug 12 16:38:14 2013 +0200

    AllView: pagination indicator reworked

 js/ui/appDisplay.js |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 1815009..077a304 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -367,9 +367,9 @@ const PaginationIconIndicator = new Lang.Class({
     _init: function(parent, index) {
 
         this.actor = new St.Button({ style_class: 'show-apps',
-                                        button_mask: St.ButtonMask.ONE || St.ButtonMask.TWO,
-                                        toggle_mode: true,
-                                        can_focus: true });
+                                     button_mask: St.ButtonMask.ONE || St.ButtonMask.TWO,
+                                     toggle_mode: true,
+                                     can_focus: true });
         this._icon = new St.Icon({ icon_name: 'view-grid-symbolic',
                                    icon_size: 32,
                                    style_class: 'show-apps-icon',
@@ -408,10 +408,14 @@ const AllView = new Lang.Class({
         let paginationIndicatorLayout = new Clutter.BoxLayout({orientation: Clutter.Orientation.VERTICAL});
         //FIXME: hardcoded spacing
         paginationIndicatorLayout.spacing = 40;
-        this._paginationIndicator = new St.Widget({layout_manager: paginationIndicatorLayout, x_align:3, 
y_align: 2, x_expand:true, y_expand:true, style_class: 'pages-indicator'});
+        this._paginationIndicator = new St.Widget({ layout_manager: paginationIndicatorLayout,
+                                                    x_align:3, y_align: 2,
+                                                    x_expand:true, y_expand:true,
+                                                    style_class: 'pages-indicator' });
         
         let layout = new Clutter.BinLayout();
-        this.actor = new Shell.GenericContainer({layout_manager: layout, x_expand:true, y_expand:true});
+        this.actor = new Shell.GenericContainer({ layout_manager: layout,
+                                                  x_expand:true, y_expand:true });
         
         layout.add(this._paginationView, 2,2);
         layout.add(this._paginationIndicator, 2,3);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]