The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix copy and paste

These changes was commited to the Birdfont repository Sun, 19 Jun 2016 10:02:35 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sun, 19 Jun 2016 10:02:35 +0000]

Updated Files

birdfont/GtkWindow.vala
libbirdfont/MoveTool.vala
libbirdfont/OverView.vala
--- a/birdfont/GtkWindow.vala +++ b/birdfont/GtkWindow.vala @@ -59,6 +59,8 @@ public void init () { Notify.init ("BirdFont"); Signal.connect(this, "notify::is-active", (GLib.Callback) window_focus, null); + + clipboard = Clipboard.get_for_display (get_display (), Gdk.SELECTION_CLIPBOARD); scrollbar.value_changed.connect (() => { double p;
--- a/libbirdfont/MoveTool.vala +++ b/libbirdfont/MoveTool.vala @@ -366,7 +366,7 @@ PenTool.reset_stroke (); update_selection_boundaries (); objects_moved (); - glyph.redraw_area (0, 0, glyph.allocation.width, glyph.allocation.height); + GlyphCanvas.redraw (); } static void tie_path_to_ttf_grid (Path p) {
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -1670,6 +1670,9 @@ } f.touch (); + + update_item_list (); + GlyphCanvas.redraw (); } public class OverViewUndoItem {