[gnome-shell/gnome-3-38] Revert "iconGrid/iconGrid: Hook page-padding with CSS"
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-38] Revert "iconGrid/iconGrid: Hook page-padding with CSS"
- Date: Wed, 16 Dec 2020 22:48:15 +0000 (UTC)
commit 7ef7ab9872f38f0fbed5faee35b5cb221576467d
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Dec 16 21:46:05 2020 +0100
Revert "iconGrid/iconGrid: Hook page-padding with CSS"
This reverts commit 541eaf59f22dcb8561cc7f5829883c848512c00c.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1541
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1541>
js/ui/iconGrid.js | 7 -------
1 file changed, 7 deletions(-)
---
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index 120a30d2c6..e9343046ea 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -1330,7 +1330,6 @@ var IconGrid = GObject.registerClass({
columns_per_page: 6,
rows_per_page: 4,
page_halign: Clutter.ActorAlign.CENTER,
- page_padding: new Clutter.Margin(),
page_valign: Clutter.ActorAlign.CENTER,
last_row_align: Clutter.ActorAlign.START,
column_spacing: 0,
@@ -1462,12 +1461,6 @@ var IconGrid = GObject.registerClass({
[found, value] = node.lookup_length('max-row-spacing', false);
this.layout_manager.max_row_spacing = found ? value : -1;
-
- const padding = new Clutter.Margin();
- ['top', 'right', 'bottom', 'left'].forEach(side => {
- padding[side] = node.get_length(`page-padding-${side}`);
- });
- this.layout_manager.page_padding = padding;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]