diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2007-08-15 16:14:59 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-08-15 16:14:59 +0800 |
commit | 73495153dd7ded5657ce69ba1d6bcaa5e12dd3ab (patch) | |
tree | ec3f732e1a9389b93ce8d2bd730522010342d077 /embed | |
parent | f615d984849907b54f21ff1b6de0872913d0e6b5 (diff) | |
download | gsoc2013-epiphany-73495153dd7ded5657ce69ba1d6bcaa5e12dd3ab.tar.gz gsoc2013-epiphany-73495153dd7ded5657ce69ba1d6bcaa5e12dd3ab.tar.zst gsoc2013-epiphany-73495153dd7ded5657ce69ba1d6bcaa5e12dd3ab.zip |
Fix download-icon toolip updates, patch by Cosimo Cecchi. Fixes bug
2007-08-15 Diego Escalante Urrelo <diegoe@gnome.org>
* embed/downloader-view.c:
Fix download-icon toolip updates, patch by Cosimo Cecchi.
Fixes bug #343238.
svn path=/trunk/; revision=7276
Diffstat (limited to 'embed')
-rw-r--r-- | embed/downloader-view.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 0374d89a0..ce4294f62 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -467,8 +467,6 @@ update_download_row (DownloaderView *dv, EphyDownload *download) g_free (cur_progress); g_free (file); g_free (remaining); - - update_buttons (dv); } static void @@ -492,7 +490,13 @@ static void download_changed_cb (EphyDownload *download, DownloaderView *dv) { update_download_row (dv, download); - update_status_icon (dv); +} + +static gboolean +update_buttons_timeout_cb (DownloaderView *dv) +{ + update_buttons (dv); + return FALSE; } void @@ -563,6 +567,8 @@ downloader_view_add_download (DownloaderView *dv, { g_object_unref (pixbuf); } + + g_timeout_add (100, (GSourceFunc) update_buttons_timeout_cb, dv); } |