Path fixes and PNG Unix icons
This commit is contained in:
Generated
-6
@@ -99,7 +99,6 @@ Partial Class frmFilter
|
||||
'
|
||||
'optAll
|
||||
'
|
||||
Me.optAll.AutoSize = True
|
||||
Me.optAll.Location = New System.Drawing.Point(77, 19)
|
||||
Me.optAll.Name = "optAll"
|
||||
Me.optAll.Size = New System.Drawing.Size(63, 17)
|
||||
@@ -110,7 +109,6 @@ Partial Class frmFilter
|
||||
'
|
||||
'optAny
|
||||
'
|
||||
Me.optAny.AutoSize = True
|
||||
Me.optAny.Checked = True
|
||||
Me.optAny.Location = New System.Drawing.Point(6, 19)
|
||||
Me.optAny.Name = "optAny"
|
||||
@@ -213,7 +211,6 @@ Partial Class frmFilter
|
||||
'
|
||||
'optOr
|
||||
'
|
||||
Me.optOr.AutoSize = True
|
||||
Me.optOr.Location = New System.Drawing.Point(56, 19)
|
||||
Me.optOr.Name = "optOr"
|
||||
Me.optOr.Size = New System.Drawing.Size(36, 17)
|
||||
@@ -224,7 +221,6 @@ Partial Class frmFilter
|
||||
'
|
||||
'optAnd
|
||||
'
|
||||
Me.optAnd.AutoSize = True
|
||||
Me.optAnd.Checked = True
|
||||
Me.optAnd.Location = New System.Drawing.Point(6, 19)
|
||||
Me.optAnd.Name = "optAnd"
|
||||
@@ -302,11 +298,9 @@ Partial Class frmFilter
|
||||
Me.grpTagFilter.ResumeLayout(False)
|
||||
Me.grpTagFilter.PerformLayout()
|
||||
Me.grpTagOptions.ResumeLayout(False)
|
||||
Me.grpTagOptions.PerformLayout()
|
||||
Me.grpGameFilter.ResumeLayout(False)
|
||||
Me.grpGameFilter.PerformLayout()
|
||||
Me.grpGameInfoOptions.ResumeLayout(False)
|
||||
Me.grpGameInfoOptions.PerformLayout()
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
|
||||
@@ -336,8 +336,14 @@ Public Class frmGameManager
|
||||
End If
|
||||
End If
|
||||
|
||||
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _
|
||||
frmGameManager_Icon, sDefaultFolder, False)
|
||||
'Unix Handler
|
||||
If Not mgrCommon.IsUnix Then
|
||||
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "ico", _
|
||||
frmGameManager_Icon, sDefaultFolder, False)
|
||||
Else
|
||||
sNewPath = mgrCommon.OpenFileBrowser(frmGameManager_ChooseCustomIcon, "png", _
|
||||
"PNG", sDefaultFolder, False)
|
||||
End If
|
||||
|
||||
If sNewPath <> String.Empty Then
|
||||
txtIcon.Text = sNewPath
|
||||
|
||||
+10
-2
@@ -333,8 +333,16 @@ Public Class frmMain
|
||||
Dim fbBrowser As New OpenFileDialog
|
||||
|
||||
fbBrowser.Title = mgrCommon.FormatString(frmMain_ChooseIcon, oProcess.GameInfo.CroppedName)
|
||||
fbBrowser.DefaultExt = "ico"
|
||||
fbBrowser.Filter = frmMain_IconFilter
|
||||
|
||||
'Unix Handler
|
||||
If Not mgrCommon.IsUnix Then
|
||||
fbBrowser.DefaultExt = "ico"
|
||||
fbBrowser.Filter = frmMain_IconFilter
|
||||
Else
|
||||
fbBrowser.DefaultExt = "png"
|
||||
fbBrowser.Filter = frmMain_PNGFilter
|
||||
End If
|
||||
|
||||
Try
|
||||
fbBrowser.InitialDirectory = IO.Path.GetDirectoryName(oProcess.FoundProcess.MainModule.FileName)
|
||||
Catch ex As Exception
|
||||
|
||||
Reference in New Issue
Block a user