fix: add language switch and window dock buttons to shell top bar
Restored from old top.ui: - i18n/language.ui: language switcher - Svg app-dock: show_windows_panel for minimized windows
This commit is contained in:
parent
f71c5f737b
commit
7ea16d65ce
@ -83,6 +83,30 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
"url": "{{entire_url('i18n/language.ui')}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Svg",
|
||||
"options": {
|
||||
"css": "clickable",
|
||||
"rate": 2,
|
||||
"tip": "显示所有已最小化的窗口",
|
||||
"url": "{{entire_url('/bricks/imgs/app-dock.svg')}}"
|
||||
},
|
||||
"binds": [
|
||||
{
|
||||
"wid": "self",
|
||||
"event": "click",
|
||||
"actiontype": "script",
|
||||
"target": "app",
|
||||
"script": "bricks.app.show_windows_panel(event)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user