File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,6 @@ def __init__(self):
121121 self .revert_button .set_sensitive (False )
122122 except Exception :
123123 pass
124- # No global actionbar anymore
125-
126- # No global banner/buttons in MainWindow anymore
127124
128125 try :
129126 key_ctrl = Gtk .EventControllerKey .new ()
@@ -416,9 +413,7 @@ def _connect_buttons(self):
416413 self .test_row .connect ("activated" , lambda r : self ._on_test_connection (None ))
417414 try :
418415 if getattr (self , "unsaved_banner" , None ) is not None :
419- self .unsaved_banner .connect (
420- "button-clicked" , lambda * _ : self ._on_save_clicked (None )
421- )
416+ self .unsaved_banner .connect ("button-clicked" , lambda * _ : self ._on_save_clicked (None ))
422417 except Exception :
423418 pass
424419 try :
@@ -450,6 +445,7 @@ def _connect_header_buttons(self):
450445 except Exception :
451446 pass
452447
448+
453449 def _on_add_clicked (self , button ):
454450 """Handle add host button click."""
455451 try :
@@ -1392,7 +1388,6 @@ def _copy_text_to_clipboard(self, text: str) -> bool:
13921388 pass
13931389 try :
13941390 import subprocess as _sub
1395-
13961391 for cmd in [
13971392 ["wl-copy" ],
13981393 ["xclip" , "-selection" , "clipboard" ],
You can’t perform that action at this time.
0 commit comments