Replace gtk.gdk with GdkPixbuf in gui_interface.
This commit is contained in:
parent
314b5797f3
commit
6b22dd6ade
|
@ -2664,7 +2664,7 @@ class Interface:
|
|||
return gtkgui_helpers.load_mood_icon(mood).get_pixbuf()
|
||||
elif isinstance(pep_obj, pep.UserTunePEP):
|
||||
path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
|
||||
return gtk.gdk.pixbuf_new_from_file(path)
|
||||
return GdkPixbuf.Pixbuf.new_from_file(path)
|
||||
elif isinstance(pep_obj, pep.UserActivityPEP):
|
||||
pep_ = pep_obj._pep_specific_data
|
||||
activity = pep_['activity']
|
||||
|
|
Loading…
Reference in New Issue