4951: AttributeError on removal of a tag

svn: r17673
This commit is contained in:
Michiel Nauta 2011-06-03 09:05:00 +00:00
parent af9230afd6
commit 2112b4ca2f

View File

@ -261,7 +261,7 @@ class Tags(DbGUIElement):
view = self.uistate.viewmanager.active_page
selected = view.selected_handles()
pmon = progressdlg.ProgressMonitor(progressdlg.GtkProgressDialog,
popup_time=2)
("", self.uistate.window, gtk.DIALOG_MODAL), popup_time=2)
status = progressdlg.LongOpStatus(msg=_("Adding Tags"),
total_steps=len(selected),
interval=len(selected)//20)
@ -496,7 +496,7 @@ class OrganizeTagsDialog(object):
links = [link for link in self.db.find_backlink_handles(tag_handle)]
pmon = progressdlg.ProgressMonitor(progressdlg.GtkProgressDialog,
popup_time=2)
("", self.parent_window, gtk.DIALOG_MODAL), popup_time=2)
status = progressdlg.LongOpStatus(msg=_("Removing Tags"),
total_steps=len(links),
interval=len(links)//20)