mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 11:17:12 +02:00
fix: missing param
This commit is contained in:
parent
35f1f180d2
commit
796dcd5588
@ -1872,6 +1872,7 @@ class TreeView(Gtk.TreeView):
|
|||||||
) -> bool:
|
) -> bool:
|
||||||
if self.is_server_context(self.view) is False:
|
if self.is_server_context(self.view) is False:
|
||||||
return
|
return
|
||||||
|
|
||||||
coords = widget.convert_widget_to_bin_window_coords(x, y)
|
coords = widget.convert_widget_to_bin_window_coords(x, y)
|
||||||
path = self.get_path_at_pos(coords.bx, coords.by)
|
path = self.get_path_at_pos(coords.bx, coords.by)
|
||||||
if path is None:
|
if path is None:
|
||||||
@ -3207,8 +3208,11 @@ class GenericDialog(Gtk.MessageDialog):
|
|||||||
self.outer.set_margin_end(30)
|
self.outer.set_margin_end(30)
|
||||||
|
|
||||||
def _on_dialog_delete(
|
def _on_dialog_delete(
|
||||||
self, response_id: Gtk.ResponseType
|
self, response_id: Gtk.ResponseType, event: Gdk.Event
|
||||||
) -> Literal[True]:
|
) -> Literal[True]:
|
||||||
|
"""
|
||||||
|
Prevent manual dialog destruction
|
||||||
|
"""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _return_to_main_menu(self, widget: Gtk.Widget) -> None:
|
def _return_to_main_menu(self, widget: Gtk.Widget) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user