extensionDownloader: Don't reuse .prompt-* style classes
Those will go away when we port authentication prompts to the new MessageDialogContent widget, so pick the style classes from there and adjust individual properties with more specific rules to re- produce the existing style. https://bugzilla.gnome.org/show_bug.cgi?id=784985
This commit is contained in:
@ -203,7 +203,7 @@ const InstallExtensionDialog = new Lang.Class({
|
||||
|
||||
let message = _("Download and install “%s” from extensions.gnome.org?").format(info.name);
|
||||
|
||||
let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout',
|
||||
let box = new St.BoxLayout({ style_class: 'message-dialog-main-layout',
|
||||
vertical: false });
|
||||
this.contentLayout.add(box);
|
||||
|
||||
@ -211,7 +211,7 @@ const InstallExtensionDialog = new Lang.Class({
|
||||
let icon = new St.Icon({ gicon: gicon });
|
||||
box.add(icon);
|
||||
|
||||
let label = new St.Label({ style_class: 'prompt-dialog-headline headline',
|
||||
let label = new St.Label({ style_class: 'message-dialog-title headline',
|
||||
text: message });
|
||||
box.add(label);
|
||||
},
|
||||
|
Reference in New Issue
Block a user