Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251298 | Differences between
and this patch

Collapse All | Expand All

(-)trunk/src/roster_window.py (-4 / +4 lines)
Lines 1000-1006 Link Here
1000
		and ('artist' in gajim.connections[account].tune \
1000
		and ('artist' in gajim.connections[account].tune \
1001
		or 'title' in gajim.connections[account].tune):
1001
		or 'title' in gajim.connections[account].tune):
1002
			path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
1002
			self.model[child_iter][C_TUNE_PIXBUF] = \
1003
			self.model[child_iter][C_TUNE_PIXBUF] = \
1003
				gtk.gdk.pixbuf_new_from_file(
1004
				gtk.gdk.pixbuf_new_from_file(path)
1004
				'../data/emoticons/static/music.png')
1005
		else:
1005
		else:
1006
			self.model[child_iter][C_TUNE_PIXBUF] = None
1006
			self.model[child_iter][C_TUNE_PIXBUF] = None
Lines 1263-1268 Link Here
1263
		contact = gajim.contacts.get_contact(account, jid)
1263
		contact = gajim.contacts.get_contact(account, jid)
1264
		if 'artist' in contact.tune or 'title' in contact.tune:
1264
		if 'artist' in contact.tune or 'title' in contact.tune:
1265
			pixbuf = gtk.gdk.pixbuf_new_from_file(
1265
			path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
1266
				'../data/emoticons/static/music.png')
1266
			pixbuf = gtk.gdk.pixbuf_new_from_file(path)
1267
		else:
1267
		else:
1268
			pixbuf = None
1268
			pixbuf = None

Return to bug 251298