[alacarte/wip/muktupavels/issue-10] ItemEditor: resync cmd line validity on focus gained
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte/wip/muktupavels/issue-10] ItemEditor: resync cmd line validity on focus gained
- Date: Sun, 20 Mar 2022 10:59:26 +0000 (UTC)
commit acd8c3ad93eb9a55f3a20d32a6474e64c6dadc1e
Author: Daniel Dakhno <dakhnod gmail com>
Date: Fri Jan 28 21:13:43 2022 +0100
ItemEditor: resync cmd line validity on focus gained
https://gitlab.gnome.org/GNOME/alacarte/-/issues/10
Alacarte/ItemEditor.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/Alacarte/ItemEditor.py b/Alacarte/ItemEditor.py
index 3570b41..2a40ade 100644
--- a/Alacarte/ItemEditor.py
+++ b/Alacarte/ItemEditor.py
@@ -196,6 +196,7 @@ class LauncherEditor(ItemEditor):
self.builder.get_object('name-entry').connect('changed', self.resync_validity)
self.builder.get_object('exec-entry').connect('changed', self.resync_validity)
+ self.dialog.connect('focus-in-event', self.resync_validity)
def exec_line_is_valid(self, exec_text):
try:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]