The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – 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
[Wed, 28 Oct 2015 18:41:10 +0000]

Updated Files

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;