[gnome-boxes] wizard,css: Separate labels for media & status info



commit 3140f8615c133a951a86c1881d01a9e23e8dc7f0
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Dec 17 04:30:14 2012 +0200

    wizard,css: Separate labels for media & status info
    
    Separate labels for media and status information.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690321

 data/gtk-style.css |    5 +++++
 src/wizard.vala    |   13 ++++++++++---
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index d19991a..01fa58d 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -58,6 +58,11 @@ BoxesMiniGraph {
     color: #d8d8d8;
 }
 
+.boxes-wizard-media-os-label {
+    color: #d8d8d8;
+    font-weight: bold;
+}
+
 .boxes-logo-notice-label {
     color: #989898;
     font-style: italic;
diff --git a/src/wizard.vala b/src/wizard.vala
index ec22c3e..05c8695 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -26,6 +26,8 @@ private class Boxes.Wizard: Boxes.UI {
     private WizardSummary summary;
     private CollectionSource? source;
     private Gtk.ProgressBar prep_progress;
+    private Gtk.Label prep_media_label;
+    private Gtk.Label prep_status_label;
     private Gtk.VBox setup_vbox;
     private Gtk.Label review_label;
     private Gtk.Label nokvm_label;
@@ -576,9 +578,14 @@ private class Boxes.Wizard: Boxes.UI {
         var prep_vbox = new Gtk.VBox (true, 10);
         prep_vbox.valign = Gtk.Align.CENTER;
         hbox.pack_start (prep_vbox, true, true);
-        label = new Gtk.Label (_("Analyzing installer media."));
-        label.get_style_context ().add_class ("boxes-wizard-label");
-        prep_vbox.pack_start (label, false, false);
+        prep_media_label = new Gtk.Label (_("Unknown installer media"));
+        prep_media_label.get_style_context ().add_class ("boxes-wizard-media-os-label");
+        prep_media_label.halign = Gtk.Align.START;
+        prep_vbox.pack_start (prep_media_label, false, false);
+        prep_status_label = new Gtk.Label (_("Analyzing...")); // Translators: Analyzing installer media
+        prep_status_label.get_style_context ().add_class ("boxes-wizard-label");
+        prep_status_label.halign = Gtk.Align.START;
+        prep_vbox.pack_start (prep_status_label, false, false);
         prep_progress = new Gtk.ProgressBar ();
         prep_vbox.pack_start (prep_progress, false, false);
         vbox.show_all ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]