From 2112b4ca2f81a5bb3fa2271db5166ccbac1364cd Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Fri, 3 Jun 2011 09:05:00 +0000 Subject: [PATCH] 4951: AttributeError on removal of a tag svn: r17673 --- src/gui/views/tags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/tags.py b/src/gui/views/tags.py index e066f6efe..11bd20d61 100644 --- a/src/gui/views/tags.py +++ b/src/gui/views/tags.py @@ -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)