[gnome-shell/wip/sass] Set style classes for extension download dialog
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass] Set style classes for extension download dialog
- Date: Tue, 25 Nov 2014 14:23:05 +0000 (UTC)
commit 5ead2f4efc36b9f08dd5393497ebb1af839f6645
Author: William Jon McCann <william jon mccann gmail com>
Date: Mon Nov 10 10:09:09 2014 -0500
Set style classes for extension download dialog
So that the layout is correct.
https://bugzilla.gnome.org/show_bug.cgi?id=739888
js/ui/extensionDownloader.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 8a34821..6102eb1 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -203,14 +203,16 @@ const InstallExtensionDialog = new Lang.Class({
let message = _("Download and install ā%sā from extensions.gnome.org?").format(info.name);
- let box = new St.BoxLayout();
+ let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout',
+ vertical: false });
this.contentLayout.add(box);
let gicon = new Gio.FileIcon({ file: Gio.File.new_for_uri(REPOSITORY_URL_BASE + info.icon) })
let icon = new St.Icon({ gicon: gicon });
box.add(icon);
- let label = new St.Label({ text: message });
+ let label = new St.Label({ style_class: 'prompt-dialog-headline',
+ text: message });
box.add(label);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]