[Xfce4-commits] <midori:master> Set error icon next to failed downloads
Christian Dywan
noreply at xfce.org
Thu Sep 20 23:46:05 CEST 2012
Updating branch refs/heads/master
to feff309a4548b0d0aab8dbde4c2dbeb2f840c618 (commit)
from 467f9ddf45e4d29dbc85ca4558cd72ec4408c84d (commit)
commit feff309a4548b0d0aab8dbde4c2dbeb2f840c618
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Sep 20 22:24:11 2012 +0200
Set error icon next to failed downloads
Fixes: https://bugs.launchpad.net/midori/+bug/1053229
midori/midori-download.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/midori/midori-download.vala b/midori/midori-download.vala
index 32d9464..75a7ea3 100644
--- a/midori/midori-download.vala
+++ b/midori/midori-download.vala
@@ -172,6 +172,8 @@ namespace Midori {
return Gtk.Stock.OPEN;
case WebKit.DownloadStatus.CANCELLED:
return Gtk.Stock.CLEAR;
+ case WebKit.DownloadStatus.ERROR:
+ return Gtk.Stock.DIALOG_ERROR;
default:
critical ("action_stock_id: %d", download.status);
warn_if_reached ();
More information about the Xfce4-commits
mailing list