Skip to content
Snippets Groups Projects
Commit 46ab25ad authored by Dicson's avatar Dicson
Browse files

hide 'bookmark_ button' if private storage not supported

parent 8b933d94
No related branches found
No related tags found
No related merge requests found
......@@ -327,8 +327,10 @@ def __init__(self, parent_win, contact, acct, is_continued=False):
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)
widget.show()
if not gajim.connections[self.account].private_storage_supported:
widget.hide()
else:
widget.show()
widget = self.xml.get_object('list_treeview')
id_ = widget.connect('row_expanded', self.on_list_treeview_row_expanded)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment