diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/ui.cc | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -90,6 +90,7 @@ dillo-fltk2 - Switched dns.c from gethostbyname* to getaddrinfo (& removed libc5 code). - Made "New browser window" inherit the panel style of its parent. - Made TopGroup a PackedGroup, simplifying UI code and removing workarounds. + - Added a redraw(DAMAGE_HIGHLIGHT) call to Back, Forw and Stop buttons. Patches: Johannes Hofmann +- Made progress bars resize automatically. Patches: Johannes Hofmann, Jorge Arellano Cid @@ -21,6 +21,7 @@ #include <fltk/Input.h> #include <fltk/Output.h> #include <fltk/run.h> +#include <fltk/damage.h> #include <fltk/BarGroup.h> #include <fltk/PackedGroup.h> #include <fltk/xpmImage.h> @@ -996,12 +997,15 @@ void UI::button_set_sens(UIButton btn, int sens) switch (btn) { case UI_BACK: (sens) ? Back->activate() : Back->deactivate(); + Back->redraw(DAMAGE_HIGHLIGHT); break; case UI_FORW: (sens) ? Forw->activate() : Forw->deactivate(); + Forw->redraw(DAMAGE_HIGHLIGHT); break; case UI_STOP: (sens) ? Stop->activate() : Stop->deactivate(); + Stop->redraw(DAMAGE_HIGHLIGHT); break; default: break; |