Rename app/window to VT Player
This commit is contained in:
parent
b7b5788938
commit
3f43b3fe4b
4
main.go
4
main.go
|
|
@ -1673,7 +1673,7 @@ func runGUI() {
|
||||||
// Initialize UI colors
|
// Initialize UI colors
|
||||||
ui.SetColors(gridColor, textColor)
|
ui.SetColors(gridColor, textColor)
|
||||||
|
|
||||||
a := app.NewWithID("com.leaktechnologies.videotools")
|
a := app.NewWithID("com.leaktechnologies.vtplayer")
|
||||||
|
|
||||||
// Always start with a clean slate: wipe any persisted app storage (queue or otherwise)
|
// Always start with a clean slate: wipe any persisted app storage (queue or otherwise)
|
||||||
if root := a.Storage().RootURI(); root != nil && root.Scheme() == "file" {
|
if root := a.Storage().RootURI(); root != nil && root.Scheme() == "file" {
|
||||||
|
|
@ -1682,7 +1682,7 @@ func runGUI() {
|
||||||
|
|
||||||
a.Settings().SetTheme(&ui.MonoTheme{})
|
a.Settings().SetTheme(&ui.MonoTheme{})
|
||||||
logging.Debug(logging.CatUI, "created fyne app: %#v", a)
|
logging.Debug(logging.CatUI, "created fyne app: %#v", a)
|
||||||
w := a.NewWindow("VideoTools")
|
w := a.NewWindow("VT Player")
|
||||||
if icon := utils.LoadAppIcon(); icon != nil {
|
if icon := utils.LoadAppIcon(); icon != nil {
|
||||||
a.SetIcon(icon)
|
a.SetIcon(icon)
|
||||||
w.SetIcon(icon)
|
w.SetIcon(icon)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user