net-im/gajim-0.12.3: add
[otih-overlay.git] / net-im / gajim / files / 0.12.1-roster_window.py_r10934.patch
blob5ea2cadb37a13b9151d26af64a154891ba233dae
1 Index: trunk/src/roster_window.py
2 ===================================================================
3 --- trunk/src/roster_window.py (revision 10772)
4 +++ trunk/src/roster_window.py (revision 10934)
5 @@ -1000,7 +1000,7 @@
6 and ('artist' in gajim.connections[account].tune \
7 or 'title' in gajim.connections[account].tune):
8 + path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
9 self.model[child_iter][C_TUNE_PIXBUF] = \
10 - gtk.gdk.pixbuf_new_from_file(
11 - '../data/emoticons/static/music.png')
12 + gtk.gdk.pixbuf_new_from_file(path)
13 else:
14 self.model[child_iter][C_TUNE_PIXBUF] = None
15 @@ -1263,6 +1263,6 @@
16 contact = gajim.contacts.get_contact(account, jid)
17 if 'artist' in contact.tune or 'title' in contact.tune:
18 - pixbuf = gtk.gdk.pixbuf_new_from_file(
19 - '../data/emoticons/static/music.png')
20 + path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
21 + pixbuf = gtk.gdk.pixbuf_new_from_file(path)
22 else:
23 pixbuf = None