Update settingpage1.py

This commit is contained in:
恍兮惚兮 2024-04-25 21:56:54 +08:00
parent 093d655a3d
commit 77649c0e7b

View File

@ -393,19 +393,19 @@ def setTabOne_direct(self):
self.tab1grids = [ self.tab1grids = [
[("选择文本输入源", 8)], [("选择文本输入源", 8)],
[ [
("剪贴板", 3), ("HOOK", 3),
( (
getsimpleswitch( getsimpleswitch(
globalconfig["sourcestatus2"]["copy"], globalconfig["sourcestatus2"]["texthook"],
"use", "use",
name="copy", name="texthook",
parent=self, parent=self,
callback=functools.partial( callback=functools.partial(
yuitsu_switch, yuitsu_switch,
self, self,
globalconfig["sourcestatus2"], globalconfig["sourcestatus2"],
"sourceswitchs", "sourceswitchs",
"copy", "texthook",
gobject.baseobject.starttextsource, gobject.baseobject.starttextsource,
), ),
pair="sourceswitchs", pair="sourceswitchs",
@ -433,21 +433,19 @@ def setTabOne_direct(self):
1, 1,
), ),
"", "",
], ("剪贴板", 3),
[
("HOOK", 3),
( (
getsimpleswitch( getsimpleswitch(
globalconfig["sourcestatus2"]["texthook"], globalconfig["sourcestatus2"]["copy"],
"use", "use",
name="texthook", name="copy",
parent=self, parent=self,
callback=functools.partial( callback=functools.partial(
yuitsu_switch, yuitsu_switch,
self, self,
globalconfig["sourcestatus2"], globalconfig["sourcestatus2"],
"sourceswitchs", "sourceswitchs",
"texthook", "copy",
gobject.baseobject.starttextsource, gobject.baseobject.starttextsource,
), ),
pair="sourceswitchs", pair="sourceswitchs",