Change history icon if theme have 'document-open-recent' icon.
This commit is contained in:
parent
3b41ce148f
commit
01946a9bac
|
@ -254,7 +254,8 @@ control=None, gc_contact=None, is_anonymous=True):
|
||||||
account)
|
account)
|
||||||
history_menuitem.connect('activate', roster.on_history, contact, account)
|
history_menuitem.connect('activate', roster.on_history, contact, account)
|
||||||
if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'):
|
if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'):
|
||||||
gtkgui_helpers.add_image_to_menuitem(history_menuitem, 'bookmark-new')
|
gtkgui_helpers.add_image_to_menuitem(history_menuitem,
|
||||||
|
'document-open-recent')
|
||||||
|
|
||||||
if control:
|
if control:
|
||||||
convert_to_gc_menuitem.connect('activate',
|
convert_to_gc_menuitem.connect('activate',
|
||||||
|
|
Loading…
Reference in New Issue