Clone in a terminal:
Commit 9a98de5
Johan Mattsson - 2016-12-15T15:01:57+00:00
9a98de58fbdc6853197a60edff6fb8b3f9d2ad37johan.mattsson.m@gmail.com

Version 2.18.2

Changed files (2)

Diff

diff --git a/libbirdfont/Preferences.vala b/libbirdfont/Preferences.valaindex fb512f4..d4d5f37 100644--- a/libbirdfont/Preferences.vala+++ b/libbirdfont/Preferences.vala@@ -77,6 +77,25 @@ public class Preferences { 		set ("recent_files", @"$(recent.str)"); 	} +	public static void set_window_size (int x, int y, int width, int height) {+		set ("window_x", @"$x");+		set ("window_y", @"$y");+		set ("window_width", @"$width");+		set ("window_height", @"$height");+	}++	public static int get_window_x () {+		string wp = get ("window_x");+		int x = int.parse (wp);+		return x;+	}++	public static int get_window_y () {+		string wp = get ("window_y");+		int y = int.parse (wp);+		return y;+	}+	 	public static int get_window_width() { 		string wp = get ("window_width"); 		int w = int.parse (wp);diff --git a/scripts/version.py b/scripts/version.pyindex 7ff09d8..8d5421b 100644--- a/scripts/version.py+++ b/scripts/version.py@@ -13,7 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. """ -VERSION = '2.18.0'+VERSION = '2.18.2' SO_VERSION_MAJOR = '36' SO_VERSION_MINOR = '0' SO_VERSION = SO_VERSION_MAJOR + '.' + SO_VERSION_MINOR

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112