hide 'bookmark_ button' if private storage not supported
This commit is contained in:
parent
9fa880cc36
commit
847fdf8d1b
|
@ -328,7 +328,9 @@ class GroupchatControl(ChatControlBase):
|
|||
if gtkgui_helpers.gtk_icon_theme.has_icon('bookmark-new'):
|
||||
img = self.xml.get_object('image7')
|
||||
img.set_from_icon_name('bookmark-new', gtk.ICON_SIZE_MENU)
|
||||
|
||||
if not gajim.connections[self.account].private_storage_supported:
|
||||
widget.hide()
|
||||
else:
|
||||
widget.show()
|
||||
|
||||
widget = self.xml.get_object('list_treeview')
|
||||
|
|
Loading…
Reference in New Issue