4951: AttributeError on removal of a tag

svn: r17672
This commit is contained in:
Michiel Nauta 2011-06-03 09:04:15 +00:00
parent c824b9dd0f
commit 4841f48dcf

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)