action.json and plugin.json

This commit is contained in:
cuu 2018-11-27 18:31:17 +08:00
parent d043f2fecf
commit 594e78d2f4
7 changed files with 3 additions and 4 deletions

View File

@ -459,6 +459,7 @@ func (self *Keyboard) KeyDown( ev *event.Event) {
self.ReturnToUpLevelPage() self.ReturnToUpLevelPage()
self.Screen.Draw() self.Screen.Draw()
self.Screen.SwapAndShow() self.Screen.SwapAndShow()
} }
if ev.Data["Key"] == CurKeys["Y"] { // done if ev.Data["Key"] == CurKeys["Y"] { // done

View File

@ -24,8 +24,8 @@ import (
) )
var ( var (
emulator_flag = "action.config" emulator_flag = "action.json"
plugin_flag = "plugin.config" plugin_flag = "plugin.json"
) )
type ActionConfig struct { type ActionConfig struct {
@ -197,9 +197,7 @@ func (self *MainScreen) Init() {
self.SkinManager = NewSkinManager() self.SkinManager = NewSkinManager()
self.SkinManager.Init() self.SkinManager.Init()
//self.DBusManager = DBUS.NewDBus()
self.DBusManager = DBUS.DBusHandler self.DBusManager = DBUS.DBusHandler
//self.DBusManager.Init()
} }
func (self *MainScreen) FartherPages() { // right after ReadTheDirIntoPages func (self *MainScreen) FartherPages() { // right after ReadTheDirIntoPages