Skip to content

Commit cbf69f7

Browse files
committed
networkAgent.js: Make the WPS message smaller
Smaller in size and in font size, similar to the caption used in the run dialog. WPS is only added as a hint, it wasn't even mentioned in the Gtk agent.
1 parent 68c6821 commit cbf69f7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

data/theme/cinnamon-sass/widgets/_dialogs.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
}
4040

4141
.message-dialog-description { text-align: center; }
42+
43+
.message-dialog-caption {
44+
@extend %caption;
45+
text-align: center;
46+
}
4247
}
4348

4449
// run dialog

js/ui/networkAgent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
9191

9292
if (flags & NM.SecretAgentGetSecretsFlags.WPS_PBC_ACTIVE) {
9393
let descriptionLabel = new St.Label({
94-
text: _('Alternatively you can connect by pushing the “WPS” button on your router.'),
95-
style_class: 'message-dialog-description',
94+
text: _('You can also connect by pushing the “WPS” button on your router.'),
95+
style_class: 'message-dialog-caption',
9696
});
9797
descriptionLabel.clutter_text.line_wrap = true;
9898
descriptionLabel.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;

0 commit comments

Comments
 (0)