The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Update license dialog

These changes was commited to the Birdfont repository Wed, 28 Oct 2015 18:41:10 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 28 Oct 2015 18:41:10 +0000 (19:41 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 28 Oct 2015 18:41:10 +0000 (19:41 +0100)
commit 48d539368149cf19b1c5d8a312d18260279016f5
tree a56a3aa485e2795418d671ae1bcceceb86c32a02
parent 2983eddc8879cb73f0ab10d86a8cdf189a534efb
Update license dialog

libbirdfont/LicenseDialog.vala
--- a/libbirdfont/LicenseDialog.vala +++ b/libbirdfont/LicenseDialog.vala @@ -33,7 +33,7 @@ agreement.set_editable (false); agreement.draw_border = false; agreement.text_color = Theme.get_color ("Text Tool Box"); - agreement.set_text ("This is the freeware version of BirdFont. You may use it for creating fonts under the SIL Open Font License.\n\nWhich license do you want to use for your font?"); + agreement.set_text ("BirdFont is developed with donations, please consider donating to the project.\n\nThis is the freeware version of BirdFont. You may use it for creating fonts under the SIL Open Font License.\n\nWhich license do you want to use for your font?"); decline = new Button ("Commercial License"); decline.action.connect (() => { @@ -45,10 +45,9 @@ MainWindow.hide_dialog (); MainWindow.get_toolbox ().set_suppress_event (false); }); - - height = 190 * MainWindow.units; MainWindow.get_toolbox ().set_suppress_event (true); + height = 240; } void layout () { @@ -68,8 +67,9 @@ agreement.widget_x = margin + center; agreement.widget_y = cy + margin; - agreement.allocation = new WidgetAllocation.for_area (0, 0, 300, 300); - + agreement.allocation = new WidgetAllocation.for_area (0, 0, 300, 450); + agreement.layout (); + h = agreement.get_height () + margin; decline.widget_x += center;