Clone in a terminal:
Commit 09fe42f
Johan Mattsson - 2016-06-20T08:10:41+00:00
09fe42f3ccc7c931fc27aff4c50a812520df74c3johan.mattsson.m@gmail.com

Merge ../birdfont-2.x

Changed files (2)

Diff

diff --git a/libbirdfont/ExportSettings.vala b/libbirdfont/ExportSettings.valaindex dee61c6..d246282 100644--- a/libbirdfont/ExportSettings.vala+++ b/libbirdfont/ExportSettings.vala@@ -121,7 +121,7 @@ public class ExportSettings : TableLayout { 		svg.updated.connect ((c) => { 			Font f = BirdFont.get_current_font (); 			string v = c ? "true" : "false";-			f.settings.set_setting ("export_eot", v);+			f.settings.set_setting ("export_svg", v); 		}); 		svg.checked = export_svg_setting (font); 		svg.margin_bottom = margin;diff --git a/libbirdfont/ExportTool.vala b/libbirdfont/ExportTool.valaindex c6634a0..f91e33b 100644--- a/libbirdfont/ExportTool.vala+++ b/libbirdfont/ExportTool.vala@@ -173,14 +173,14 @@ public class ExportTool : GLib.Object { 			string fn; 			int i; 			-			if (fd is Glyph) {+			if (fd is GlyphTab || fd is Glyph) { 				glyph = MainWindow.get_current_glyph (); 			} else if (fd is OverView) { 				OverView overview = MainWindow.get_overview (); 				Glyph? g = overview.get_selected_glyph (); 				 				if (g == null) {-					warning("No glyhp selected in overview.");+					warning("No glyph selected in overview."); 					return; 				} 				@@ -192,6 +192,7 @@ public class ExportTool : GLib.Object { 			name = glyph.get_name (); 			 			if (selected_file == null) {+				warning ("No selected file."); 				return; 			} 			@@ -212,7 +213,6 @@ public class ExportTool : GLib.Object { 				glyph_svg = export_to_string (glyph, false); 				os = new DataOutputStream (file.create(FileCreateFlags.REPLACE_DESTINATION)); 				os.put_string (glyph_svg);-		 			} catch (Error e) { 				stderr.printf (@"Export \"$svg_file\" \n"); 				critical (@"$(e.message)");

Contact

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