The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Merge branch 'master' of github.com:johanmattssonm/birdfont

These changes was commited to the Birdfont repository Mon, 28 Dec 2015 15:44:42 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Mon, 28 Dec 2015 15:44:42 +0000]

Updated Files

libbirdfont/BackgroundTools.vala
libbirdfont/FileDialogTab.vala
--- a/libbirdfont/BackgroundTools.vala +++ b/libbirdfont/BackgroundTools.vala @@ -112,6 +112,7 @@ add_part (selection); } + parts.clear_cache (); parts.redraw (); } @@ -181,13 +182,14 @@ }); label.has_delete_button = true; parts.add_tool (label, 0); + + parts.redraw (); + parts.clear_cache (); if (!is_null (MainWindow.get_toolbox ())) { MainWindow.get_toolbox ().update_expanders (); Toolbox.redraw_tool_box (); } - - parts.redraw (); } void set_new_background_image (GlyphCollection gc, BackgroundPartLabel bpl) {
--- a/libbirdfont/FileDialogTab.vala +++ b/libbirdfont/FileDialogTab.vala @@ -203,11 +203,14 @@ } files.sort (); + update_rows (); layout (); base.selected_canvas (); scroll_to (0); + MainWindow.show_scrollbar (); + update_scrollbar (); } public void show_text_area (string text) { @@ -260,6 +263,8 @@ action.file_selected ((!) f.get_path ()); } } + + MainWindow.show_scrollbar (); } public override string get_label () { @@ -273,6 +278,7 @@ public override void button_release (int button, double ex, double ey) { base.button_release (button, ex, ey); show_text_area (selected_filename); + MainWindow.show_scrollbar (); } class SelectedFile : GLib.Object {