From 2d72cf8bf993893c163ebe8c9b4117406cd338bf Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 20 Mar 2011 00:24:43 +0300 Subject: [PATCH] HistoryManager.small delete dialog's fix(set_transient_for option) --- src/history_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/history_manager.py b/src/history_manager.py index c4738185d..111aed5ee 100644 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -578,6 +578,7 @@ class HistoryManager: liststore, list_of_paths)) ok_button = dialog.get_children()[0].get_children()[1].get_children()[0] ok_button.grab_focus() + dialog.set_transient_for(self.window) def _delete_logs(self, liststore, list_of_paths): paths_len = len(list_of_paths) @@ -615,6 +616,7 @@ class HistoryManager: liststore, list_of_paths)) ok_button = dialog.get_children()[0].get_children()[1].get_children()[0] ok_button.grab_focus() + dialog.set_transient_for(self.window) def on_search_db_button_clicked(self, widget): text = self.search_entry.get_text().decode('utf-8')