[gnome-shell/wip/snwh/stylesheet-minor-fixes: 10/12] nm-dialog: Fix icon spacing issue
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/snwh/stylesheet-minor-fixes: 10/12] nm-dialog: Fix icon spacing issue
- Date: Mon, 20 Jun 2022 07:43:44 +0000 (UTC)
commit 68653d5e61e382e9758ab698218260e4ace33968
Author: Sam Hewitt <sam snwh org>
Date: Fri May 27 14:49:26 2022 -0230
nm-dialog: Fix icon spacing issue
- fixes #4928
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2309>
data/theme/gnome-shell-sass/widgets/_network-dialog.scss | 4 ++++
js/ui/status/network.js | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
b/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
index 11e4e676bd..7fc1524575 100644
--- a/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
+++ b/data/theme/gnome-shell-sass/widgets/_network-dialog.scss
@@ -15,6 +15,10 @@
.nm-dialog-header-icon { icon-size: $large_icon_size;}
.nm-dialog-header-hbox { spacing: 10px; }
+.nm-dialog-network-selected {
+ margin: 0 $base_margin*2;
+}
+
.nm-dialog-scroll-view {
padding:$base_padding;
border-radius: $base_border_radius;
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 967fa0d9d8..caa71c3631 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -689,7 +689,7 @@ var NMWirelessDialogItem = GObject.registerClass({
this.add_child(this._label);
this._selectedIcon = new St.Icon({
- style_class: 'nm-dialog-icon',
+ style_class: 'nm-dialog-icon nm-dialog-network-selected',
icon_name: 'object-select-symbolic',
});
this.add(this._selectedIcon);
@@ -868,7 +868,7 @@ class NMWirelessDialog extends ModalDialog.ModalDialog {
const icon = new St.Icon({
style_class: 'nm-dialog-header-icon',
- icon_name: 'network-wireless-signal-excellent-symbolic',
+ icon_name: 'network-wireless-symbolic',
});
let titleBox = new St.BoxLayout({ vertical: true });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]