diff options
author | Denis Fomin <fominde@gmail.com> | 2013-08-28 18:33:27 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-08-28 18:33:27 +0400 |
commit | 619500c3d41881475fe65178ebf36d8b36202bca (patch) | |
tree | 0f51c898eacbcaf323338fc28084ba7e653f81c7 /src/conversation_textview.py | |
parent | 018171033f83f6d4fa5ac0c9a528663a9baa863d (diff) |
Replacing some of the icons. Fixes #7445
Diffstat (limited to 'src/conversation_textview.py')
-rw-r--r-- | src/conversation_textview.py | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/conversation_textview.py b/src/conversation_textview.py index e43b86c1a..e50fe6d04 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -175,12 +175,21 @@ class ConversationTextview(GObject.GObject): FOCUS_OUT_LINE_PIXBUF = gtkgui_helpers.get_icon_pixmap( 'gajim-muc_separator') - XEP0184_WARNING_PIXBUF = gtkgui_helpers.get_icon_pixmap( - 'gajim-receipt_missing') - XEP0184_RECEIVED_PIXBUF = gtkgui_helpers.get_icon_pixmap( - 'gajim-receipt_received') + XEP0184_WARNING_PIXBUF = gtkgui_helpers.get_icon_pixmap('gtk-no', + quiet=True) + if not XEP0184_WARNING_PIXBUF: + MESSAGE_CORRECTED_PIXBUF = gtkgui_helpers.get_icon_pixmap( + 'gajim-receipt_missing') + XEP0184_RECEIVED_PIXBUF = gtkgui_helpers.get_icon_pixmap('gtk-yes', + quiet=True) + if not XEP0184_RECEIVED_PIXBUF: + MESSAGE_CORRECTED_PIXBUF = gtkgui_helpers.get_icon_pixmap( + 'gajim-receipt_received') MESSAGE_CORRECTED_PIXBUF = gtkgui_helpers.get_icon_pixmap( - 'gajim-message_corrected') + 'gtk-spell-check', quiet=True) + if not MESSAGE_CORRECTED_PIXBUF: + MESSAGE_CORRECTED_PIXBUF = gtkgui_helpers.get_icon_pixmap( + 'gajim-message_corrected') # smooth scroll constants MAX_SCROLL_TIME = 0.4 # seconds |