mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
Update settingpage1.py
This commit is contained in:
parent
093d655a3d
commit
77649c0e7b
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user