endSessionDialog: Rename "warning" css class to "battery-warning"
Since this css class is specifically about the low-battery warning, make the class name a bit more specific, too. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/935
This commit is contained in:

committed by
Florian Müllner

parent
11283339b6
commit
184f980c18
@ -297,7 +297,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
|
||||
this._checkBox.connect('clicked', this._sync.bind(this));
|
||||
messageLayout.add(this._checkBox);
|
||||
|
||||
this._batteryWarning = new St.Label({ style_class: 'end-session-dialog-warning',
|
||||
this._batteryWarning = new St.Label({ style_class: 'end-session-dialog-battery-warning',
|
||||
text: _("Running on battery power: Please plug in before installing updates.") });
|
||||
this._batteryWarning.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||
this._batteryWarning.clutter_text.line_wrap = true;
|
||||
|
Reference in New Issue
Block a user