[kupfer] icons: Fix ComposedIcon rendering when part of icon is not found.
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer] icons: Fix ComposedIcon rendering when part of icon is not found.
- Date: Wed, 8 Sep 2010 11:05:29 +0000 (UTC)
commit 700360b853fb785c2b16a4455b6cfcc1a983626f
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sun Sep 5 19:50:16 2010 +0200
icons: Fix ComposedIcon rendering when part of icon is not found.
kupfer/icons.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/icons.py b/kupfer/icons.py
index 5ca7420..d9bb0fe 100644
--- a/kupfer/icons.py
+++ b/kupfer/icons.py
@@ -141,7 +141,7 @@ def _render_composed_icon(composed_icon, icon_size):
toppbuf = _get_icon_dwim(emblemicon, icon_size)
bottompbuf = _get_icon_dwim(baseicon, icon_size)
if not toppbuf or not bottompbuf:
- return None
+ return _get_icon_for_standard_gicon(composed_icon, icon_size)
dest = bottompbuf.copy()
# @fr is the scale
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]