[kupfer] commandexec: Use kupfer icon for error messages



commit 2a82fb2046c9455ab4317586254b0664f36a43f0
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Wed Mar 16 21:21:39 2011 +0100

    commandexec: Use kupfer icon for error messages

 kupfer/commandexec.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/commandexec.py b/kupfer/commandexec.py
index b5c5fc3..e46a1bf 100644
--- a/kupfer/commandexec.py
+++ b/kupfer/commandexec.py
@@ -188,7 +188,7 @@ class ActionExecutionContext (gobject.GObject, pretty.OutputMixin):
 		# TRANS: then this is the heading of the error notification
 		return uiutils.show_notification(
 				_("Could not to carry out '%s'") % action,
-				unicode(value))
+				unicode(value), icon_name="kupfer")
 
 	def register_late_error(self, token, exc_info=None):
 		"Register an error in exc_info. The error must be an OperationError"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]