On Wed, Oct 29, 2008 at 02:28:48PM +0000, Jeremy Henty wrote:
There's a bug in the downloads GUI that stops the download items resizing when the window does. The resizable of the window should be the scrollgroup, not the packedgroup. Fixing this means we don't need to explicitly resize the scrollgroup after removing an item (because the window has already resized it) so I took that out. Patch attached.
Looks good to me! Cheers, Johannes
Regards,
Jeremy Henty
From 0e241cbce318768aa8ad8f7715b80dbb3a38a6f3 Mon Sep 17 00:00:00 2001 From: Jeremy Henty <onepoint@starurchin.org> Date: Wed, 29 Oct 2008 14:14:58 +0000 Subject: [PATCH] Fix the download GUI resize behaviour.
--- dpi/downloads.cc | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index d2f3a54..b88deed 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -1029,9 +1029,6 @@ void DLWin::del(int n_item)
// Remove the widget from the scroll group mPG->remove(dl_item->get_widget()); - // Resize the scroll group - mPG->resize(mWin->w(), 1); - mDList->del(n_item); delete(dl_item); } @@ -1093,7 +1090,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();
-- 1.6.0.2
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev