[kupfer: 10/22] plugin.pidgin: Adjust icons
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer: 10/22] plugin.pidgin: Adjust icons
- Date: Fri, 30 Oct 2009 14:03:01 +0000 (UTC)
commit 842ced48a8bca02881c84877acfb0e18645559cb
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Wed Oct 28 02:08:42 2009 +0100
plugin.pidgin: Adjust icons
PidginContact should use stock_person as (fallback) icon, while the
OpenChat action should use something distinctly non-object-like.
Remove its duplicated icon for now, until we find something better.
kupfer/plugin/pidgin.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/kupfer/plugin/pidgin.py b/kupfer/plugin/pidgin.py
index c99b2a3..d86f141 100644
--- a/kupfer/plugin/pidgin.py
+++ b/kupfer/plugin/pidgin.py
@@ -64,9 +64,6 @@ class OpenChat(Action):
def activate(self, leaf):
_send_message_to_contact(leaf, u"")
- def get_icon_name(self):
- return 'stock_person'
-
class SendMessage (Action):
""" Send chat message directly from Kupfer """
def __init__(self):
@@ -119,7 +116,7 @@ class PidginContact(Leaf):
return icons.get_pixbuf_from_file(self.icon, width, height)
def get_icon_name(self):
- return "pidgin"
+ return "stock_person"
class ContactsSource(AppLeafContentMixin, Source, PicklingHelperMixin):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]