]> spindle.queued.net Git - midori/commit
Refactor transferbar into MidoriTransferbar
authorChristian Dywan <christian@twotoasts.de>
Thu, 17 Jun 2010 18:03:11 +0000 (20:03 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 17 Jun 2010 18:17:21 +0000 (20:17 +0200)
commitfa08c4d1f9056eb2eae6321f228e62aa0dea758d
tree41c41bf3df4711d48f355338bb18210031fb1534
parent0fdef5d825f6426ab3527c4abfa25585c4c0a0d8
Refactor transferbar into MidoriTransferbar

The transferbar is separated from the browser, albeit it is still
created and filled from within the browser so it is not completely
independent.

The new class now keeps a list of TransferInfo items to keep track
of transfers and queries the status from the download object.

Destroying a button belonging to a transfer is connected to
removing it from the list and cleaning up the info structure. Also
the Clear button is updated from the destroy handler.
midori/midori-browser.c
midori/wscript_build
po/POTFILES.in
toolbars/midori-transferbar.c [new file with mode: 0644]
toolbars/midori-transferbar.h [new file with mode: 0644]