Skip to content

Commit

Permalink
Don't hide the installer from the cd menu
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed May 20, 2012
1 parent a8e9f27 commit 31a9499
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/wubi/frontends/win32/cd_menu_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ def on_init(self):
#wubi
used = ((cd_drive.total_space_mb - cd_drive.free_space_mb)*1024*1024)
# Hide Wubi from the autorun page, per bug #975251.
if self.info.force_wubi:
y += lh + sep
self.main.wubi_button = ui.FlatButton(self.main, x, y, bw, bh, _("Install inside Windows"))
y += bh + 2
txt = _("Install and uninstall %(distro)s like any other application, without the need for a dedicated partition. You will be able to boot into either Windows or %(distro)s. Hibernation is not enabled in this mode and disk performance is slightly reduced.")
txt = txt % dict(distro=distro_name)
self.main.wubi_label = ui.Label(self.main, x, y, lw, lh, txt)
self.main.wubi_button.on_click = self.on_wubi
#if self.info.force_wubi:
y += lh + sep
self.main.wubi_button = ui.FlatButton(self.main, x, y, bw, bh, _("Install inside Windows"))
y += bh + 2
txt = _("Install and uninstall %(distro)s like any other application, without the need for a dedicated partition. You will be able to boot into either Windows or %(distro)s. Hibernation is not enabled in this mode and disk performance is slightly reduced.")
txt = txt % dict(distro=distro_name)
self.main.wubi_label = ui.Label(self.main, x, y, lw, lh, txt)
self.main.wubi_button.on_click = self.on_wubi

#info
y += lh + sep
Expand Down

0 comments on commit 31a9499

Please sign in to comment.