Changes for issue #61

This commit is contained in:
Michael J. Seiferling
2016-08-30 21:37:35 -06:00
parent ba1fc76ebe
commit e3f5c7e3c0
3 changed files with 6 additions and 45 deletions
+2 -2
View File
@@ -333,9 +333,9 @@ Partial Class frmGameManager
Me.chkMonitorOnly.AutoSize = True Me.chkMonitorOnly.AutoSize = True
Me.chkMonitorOnly.Location = New System.Drawing.Point(362, 340) Me.chkMonitorOnly.Location = New System.Drawing.Point(362, 340)
Me.chkMonitorOnly.Name = "chkMonitorOnly" Me.chkMonitorOnly.Name = "chkMonitorOnly"
Me.chkMonitorOnly.Size = New System.Drawing.Size(145, 17) Me.chkMonitorOnly.Size = New System.Drawing.Size(83, 17)
Me.chkMonitorOnly.TabIndex = 11 Me.chkMonitorOnly.TabIndex = 11
Me.chkMonitorOnly.Text = "Monitor only (No backup)" Me.chkMonitorOnly.Text = "Monitor only"
Me.chkMonitorOnly.UseVisualStyleBackColor = True Me.chkMonitorOnly.UseVisualStyleBackColor = True
' '
'grpExtra 'grpExtra
+3 -43
View File
@@ -984,39 +984,6 @@ Public Class frmGameManager
End If End If
End Sub End Sub
Private Sub MonitorOnlyModeChange()
If chkMonitorOnly.Checked Then
txtSavePath.Text = String.Empty
chkFolderSave.Checked = True
chkTimeStamp.Checked = False
If txtFileType.Text <> String.Empty Then
txtFileType.Text = String.Empty
UpdateBuilderButtonLabel(txtFileType.Text, frmGameManager_IncludeShortcut, btnInclude, False)
End If
If txtExclude.Text <> String.Empty Then
txtExclude.Text = String.Empty
UpdateBuilderButtonLabel(txtExclude.Text, frmGameManager_ExcludeShortcut, btnExclude, False)
End If
lblSavePath.Enabled = False
btnSavePathBrowse.Enabled = False
txtSavePath.Enabled = False
chkFolderSave.Enabled = False
chkTimeStamp.Enabled = False
btnInclude.Enabled = False
btnExclude.Enabled = False
Else
lblSavePath.Enabled = True
btnSavePathBrowse.Enabled = True
txtSavePath.Enabled = True
chkFolderSave.Enabled = True
chkTimeStamp.Enabled = True
btnInclude.Enabled = True
btnExclude.Enabled = True
End If
End Sub
Private Sub TimeStampModeChange() Private Sub TimeStampModeChange()
If chkTimeStamp.Checked Then If chkTimeStamp.Checked Then
nudLimit.Visible = True nudLimit.Visible = True
@@ -1278,8 +1245,7 @@ Public Class frmGameManager
For Each oData In lstGames.SelectedItems For Each oData In lstGames.SelectedItems
oGame = DirectCast(AppData(oData.Key), clsGame) oGame = DirectCast(AppData(oData.Key), clsGame)
'Filter out any games set to monitor only BackupList.Add(oGame)
If Not oGame.MonitorOnly Then BackupList.Add(oGame)
Next Next
If BackupList.Count = 1 Then If BackupList.Count = 1 Then
@@ -1317,15 +1283,13 @@ Public Class frmGameManager
RestoreList.Clear() RestoreList.Clear()
If lstGames.SelectedItems.Count = 1 Then If lstGames.SelectedItems.Count = 1 Then
'Filter out any games set to monitor only RestoreList.Add(CurrentGame, CurrentBackupItem)
If Not CurrentGame.MonitorOnly Then RestoreList.Add(CurrentGame, CurrentBackupItem)
Else Else
For Each oData In lstGames.SelectedItems For Each oData In lstGames.SelectedItems
If oRemoteBackupData.Contains(oData.Value) Then If oRemoteBackupData.Contains(oData.Value) Then
oGame = DirectCast(AppData(oData.Key), clsGame) oGame = DirectCast(AppData(oData.Key), clsGame)
oBackup = DirectCast(oRemoteBackupData(oData.Value), clsBackup) oBackup = DirectCast(oRemoteBackupData(oData.Value), clsBackup)
'Filter out any games set to monitor only RestoreList.Add(oGame, oBackup)
If Not oGame.MonitorOnly Then RestoreList.Add(oGame, oBackup)
End If End If
Next Next
End If End If
@@ -1610,10 +1574,6 @@ Public Class frmGameManager
FolderSaveModeChange() FolderSaveModeChange()
End Sub End Sub
Private Sub chkMonitorOnly_CheckedChanged(sender As Object, e As EventArgs) Handles chkMonitorOnly.CheckedChanged
MonitorOnlyModeChange()
End Sub
Private Sub chkTimeStamp_CheckedChanged(sender As Object, e As EventArgs) Handles chkTimeStamp.CheckedChanged Private Sub chkTimeStamp_CheckedChanged(sender As Object, e As EventArgs) Handles chkTimeStamp.CheckedChanged
TimeStampModeChange() TimeStampModeChange()
End Sub End Sub
+1
View File
@@ -12,6 +12,7 @@ New in 0.98
- (Linux) 64-bit games running in Wine will now be properly detected. - (Linux) 64-bit games running in Wine will now be properly detected.
- (Linux) Add Game Wizard will no longer remove all extensions when selecting an executable. - (Linux) Add Game Wizard will no longer remove all extensions when selecting an executable.
- (All) Using "Monitor Only" no longer puts anys limitations on the game configuration or available features.
- (All) Redesigned GBM's ability to manage multiple backups per game. - (All) Redesigned GBM's ability to manage multiple backups per game.
- The "Timestamp each backup" option has been renamed "Save multiple backups". - The "Timestamp each backup" option has been renamed "Save multiple backups".
- You can limit the amount of backups you keep for each game by setting a limit (2 to 100). - You can limit the amount of backups you keep for each game by setting a limit (2 to 100).