After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666030 - UI for specifying product key for Windows XP & 2003
UI for specifying product key for Windows XP & 2003
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: installer
unspecified
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-12-12 21:31 UTC by Zeeshan Ali
Modified: 2016-03-31 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
UI for specifying product key for Windows XP & 2003 (20.43 KB, patch)
2011-12-12 21:31 UTC, Zeeshan Ali
reviewed Details | Review
UI for specifying product key for Windows XP & 2003 (20.54 KB, patch)
2011-12-12 23:33 UTC, Zeeshan Ali
committed Details | Review

Description Zeeshan Ali 2011-12-12 21:31:05 UTC
Add UI to wizard's setup page for specifying product key for Windows XP & 2003.
Comment 1 Zeeshan Ali 2011-12-12 21:31:07 UTC
Created attachment 203299 [details] [review]
UI for specifying product key for Windows XP & 2003

Product keys are not required by recent Windows (Vista, 7 and 2008).
Comment 2 Marc-Andre Lureau 2011-12-12 22:48:32 UTC
Review of attachment 203299 [details] [review]:

::: src/unattended-installer.vala
@@ +288,3 @@
         while ((bytes_read = yield input_stream.read_async (buffer, Priority.DEFAULT, cancellable)) > 0) {
             var str = ((string) buffer).substring (0, (long) bytes_read);
+            str = convert_unattended_data (str);

convert? -> fill?

::: src/winxp-installer.vala
@@ +48,3 @@
+        var font_desc = Pango.FontDescription.from_string ("monospace");
+        // FIXME: According to Benjamin Otte, this function (being an override) can have unintended side-affects so
+        label.halign = Gtk.Align.START;

It should. look at how it's done for other widgets, it's quite simple
Comment 3 Zeeshan Ali 2011-12-12 23:33:43 UTC
Created attachment 203307 [details] [review]
UI for specifying product key for Windows XP & 2003

Product keys are not required by recent Windows (Vista, 7 and 2008).
Comment 4 Marc-Andre Lureau 2011-12-12 23:48:13 UTC
Review of attachment 203307 [details] [review]:

ack
Comment 5 Zeeshan Ali 2011-12-13 13:25:04 UTC
Attachment 203307 [details] pushed as 2a8c937 - UI for specifying product key for Windows XP & 2003