Merge lp:~dobey/ubuntuone-installer/learn-more into lp:ubuntuone-installer

Proposed by dobey
Status: Merged
Approved by: dobey
Approved revision: 10
Merged at revision: 14
Proposed branch: lp:~dobey/ubuntuone-installer/learn-more
Merge into: lp:ubuntuone-installer
Diff against target: 26 lines (+7/-2)
1 file modified
ubuntuone/installer/gui.py (+7/-2)
To merge this branch: bzr merge lp:~dobey/ubuntuone-installer/learn-more
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+72086@code.launchpad.net

Commit message

Add a link button to point to the web site, labelled "Learn more"
Change the install button text to just be Install

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ubuntuone/installer/gui.py'
2--- ubuntuone/installer/gui.py 2011-08-16 17:45:44 +0000
3+++ ubuntuone/installer/gui.py 2011-08-18 18:16:38 +0000
4@@ -97,8 +97,7 @@
5 self.__action_area.add(self.__cancel_button)
6 self.__cancel_button.show()
7
8- self.__main_button = Gtk.Button.new_with_mnemonic(
9- 'I_nstall Ubuntu One')
10+ self.__main_button = Gtk.Button.new_with_mnemonic('I_nstall')
11 self.__main_button.set_image(Gtk.Image.new_from_stock(
12 Gtk.STOCK_OK, Gtk.IconSize.BUTTON))
13 self.__main_button.connect('clicked', lambda x: self.emit(
14@@ -107,6 +106,12 @@
15 self.__main_button.grab_focus()
16 self.__main_button.show()
17
18+ self.__lm_button = Gtk.LinkButton.new_with_label(
19+ 'https://one.ubuntu.com/', 'Learn more')
20+ self.__action_area.add(self.__lm_button)
21+ self.__action_area.set_child_secondary(self.__lm_button, True)
22+ self.__lm_button.show()
23+
24 self.connect('destroy', self.destroyed)
25 self.connect('response', self.__got_response)
26 self.connect('delete-event', lambda x, y: self.emit(

Subscribers

People subscribed via source and target branches

to all changes: