Support old print_status tag in Bookmarks

This commit is contained in:
lovetox 2016-10-10 20:54:15 +02:00
parent 4c482cbfe8
commit 0e6f7908c9
1 changed files with 4 additions and 2 deletions

View File

@ -518,8 +518,10 @@ class BookmarksHelper:
minimize_val = minimize_val.getData() minimize_val = minimize_val.getData()
print_status = conf.getTag('print_status', namespace=NS_GAJIM_BM) print_status = conf.getTag('print_status', namespace=NS_GAJIM_BM)
if not print_status: if not print_status: # not there, try old Gajim behaviour
print_status = conf.getTagData('show_status') print_status = conf.getTagData('print_status')
if not print_status: # not there, try old Gajim behaviour
print_status = conf.getTagData('show_status')
else: else:
print_status = print_status.getData() print_status = print_status.getData()