mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
dialog: Remove icons from dialogs
According to the new mockups, remove the icon from MessageDialogContent See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343 https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/886
This commit is contained in:
parent
929c2c3921
commit
5d99bdbe5e
13 changed files with 31 additions and 79 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
/* exported CloseDialog */
|
||||
|
||||
const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi;
|
||||
const { Clutter, GLib, GObject, Meta, Shell, St } = imports.gi;
|
||||
|
||||
const Dialog = imports.ui.dialog;
|
||||
const Main = imports.ui.main;
|
||||
|
|
@ -42,8 +42,7 @@ var CloseDialog = GObject.registerClass({
|
|||
let title = _("“%s” is not responding.").format(windowApp.get_name());
|
||||
let subtitle = _("You may choose to wait a short while for it to " +
|
||||
"continue or force the application to quit entirely.");
|
||||
let icon = new Gio.ThemedIcon({ name: 'dialog-warning-symbolic' });
|
||||
return new Dialog.MessageDialogContent({ icon, title, subtitle });
|
||||
return new Dialog.MessageDialogContent({ title, subtitle });
|
||||
}
|
||||
|
||||
_updateScale() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue