Skip to content
Snippets Groups Projects
Commit 4c062bf9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Call show() on new dialogs

- run() was removed from the dialog because it blocks
parent bbada2ec
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,7 @@ class Themes(Gtk.ApplicationWindow):
_('Do you want to permanently delete this theme?'),
[DialogButton.make('Cancel'),
DialogButton.make('Delete', callback=_remove_theme)],
transient_for=self)
transient_for=self).show()
@staticmethod
def _on_destroy(*args):
......
......@@ -577,7 +577,7 @@ class HistoryManager:
paths_len, liststore[list_of_paths[0]][0]),
[DialogButton.make('Cancel'),
DialogButton.make('Delete', callback=on_ok)],
transient_for=self._ui.history_manager_window)
transient_for=self._ui.history_manager_window).show()
def _delete_logs(self, liststore, list_of_paths):
paths_len = len(list_of_paths)
......@@ -614,7 +614,7 @@ class HistoryManager:
paths_len),
[DialogButton.make('Cancel'),
DialogButton.make('Delete', callback=on_ok)],
transient_for=self._ui.history_manager_window)
transient_for=self._ui.history_manager_window).show()
def on_search_db_button_clicked(self, widget):
text = self._ui.search_entry.get_text()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment