The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Redraw less

These changes was commited to the Birdfont repository Fri, 22 May 2015 11:27:19 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 22 May 2015 11:27:19 +0000 (13:27 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 22 May 2015 11:27:19 +0000 (13:27 +0200)
commit 863e0bc7e5400cc47eba99ea27b85df63073ca34
tree 871a327884c796d7e62ae5a483a66c2b15ccef0b
parent e4dcce931200cb9b7517d6ac3635743fb6df8c9f
Redraw less

dodo.py
libbirdfont/OverView.vala
libbirdfont/SpinButton.vala
libbirdfont/Toolbox.vala
libbirdfont/ZoomBar.vala
diff --git a/dodo.py b/dodo.py
--- a/dodo.py +++ b/dodo.py @@ -140,7 +140,7 @@ libbird = Vala(src='libbirdfont', build='build', library='birdfont', so_version=SO_VERSION, pkg_libs=LIBS, vala_deps=[libbirdgems, libbirdxml]) def task_libbirdfont(): - yield libbird.gen_c(valac_options) + yield libbird.gen_c(valac_options]) yield libbird.gen_o(['-fPIC -I./build/', """-D 'GETTEXT_PACKAGE="birdfont"'"""]) yield libbird.gen_so('-L ./build -l birdxml -L ./build -l birdgems') yield libbird.gen_ln()
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -85,7 +85,7 @@ IdleSource idle = new IdleSource (); idle.set_callback (() => { - selected_canvas (); + // FIXME: selected_canvas (); return false; });
--- a/libbirdfont/SpinButton.vala +++ b/libbirdfont/SpinButton.vala @@ -284,7 +284,7 @@ show_adjustmet_icon (); new_value_action (this); - redraw (); + // FIXME: delete redraw (); } int8 parse (string s) { @@ -370,7 +370,7 @@ } show_adjustmet_icon (); - redraw (); + // FIXME: delete redraw (); } public void set_value_round (double v, bool check_boundaries = true, bool emit_signal = true) {
--- a/libbirdfont/Toolbox.vala +++ b/libbirdfont/Toolbox.vala @@ -77,9 +77,16 @@ tab_bar.signal_tab_selected.connect ((tab) => { string tab_name = tab.get_display ().get_name (); set_toolbox_from_tab (tab_name, tab); + }); + + redraw.connect ((x, y, w, h) => { + redraw_notify (); }); update_expanders (); + } + + void redraw_notify () { } public static void set_toolbox_from_tab (string tab_name, Tab? t = null) {
--- a/libbirdfont/ZoomBar.vala +++ b/libbirdfont/ZoomBar.vala @@ -54,7 +54,7 @@ zoom_level = z; if (!MenuTab.background_thread) { - Toolbox.redraw_tool_box (); + //FIXME: DELETE Toolbox.redraw_tool_box (); } }