diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | dpi/downloads.cc | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -16,6 +16,7 @@ dillo-2.1 Patches: place (AKA corvid) +- Switched SSL-enabled to configure.in (./configure --enable-ssl). - Standardised the installation of dpid/dpidrc with auto* tools. + - Set the ScrollGroup as the resizable widget in downloads dpi. Patches: Jeremy Henty +- Allowed compilation with older machines by removing a few C99isms. - Added use of inttypes.h when stdint.h isn't found. diff --git a/dpi/downloads.cc b/dpi/downloads.cc index 9252d4cf..053d2de0 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -1027,10 +1027,10 @@ void DLWin::del(int n_item) { DLItem *dl_item = mDList->get(n_item); - // Remove the widget from the scroll group + // Remove the widget from the packed group mPG->remove(dl_item->get_widget()); - // Resize the scroll group - mPG->resize(mWin->w(), 1); + // WORKAROUND: without this call FLTK2 doesn't clear the background. + mScroll->redraw(); mDList->del(n_item); delete(dl_item); @@ -1093,7 +1093,7 @@ DLWin::DLWin(int ww, int wh) { mScroll->end(); mScroll->type(ScrollGroup::VERTICAL); mWin->end(); - mWin->resizable(mPG); + mWin->resizable(mScroll); mWin->callback(dlwin_esc_cb, NULL); mWin->show(); |