Removed "Start Minimized" support #178
This commit is contained in:
@@ -53,7 +53,6 @@ Public Class frmMain
|
|||||||
WithEvents tmScanTimer As New Timer
|
WithEvents tmScanTimer As New Timer
|
||||||
WithEvents tmRestoreCheck As New System.Timers.Timer
|
WithEvents tmRestoreCheck As New System.Timers.Timer
|
||||||
WithEvents tmFileWatcherQueue As New System.Timers.Timer
|
WithEvents tmFileWatcherQueue As New System.Timers.Timer
|
||||||
WithEvents tmMinimizeTimer As New System.Timers.Timer
|
|
||||||
|
|
||||||
Public WithEvents oProcess As New mgrProcessDetection
|
Public WithEvents oProcess As New mgrProcessDetection
|
||||||
Public WithEvents oBackup As New mgrBackup
|
Public WithEvents oBackup As New mgrBackup
|
||||||
@@ -2002,10 +2001,6 @@ Public Class frmMain
|
|||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub HandleMinimizeTimer() Handles tmMinimizeTimer.Elapsed
|
|
||||||
Me.WindowState = FormWindowState.Minimized
|
|
||||||
End Sub
|
|
||||||
|
|
||||||
Private Sub AutoRestoreEventProcessor(myObject As Object, ByVal myEventArgs As EventArgs) Handles tmRestoreCheck.Elapsed
|
Private Sub AutoRestoreEventProcessor(myObject As Object, ByVal myEventArgs As EventArgs) Handles tmRestoreCheck.Elapsed
|
||||||
If eCurrentStatus <> eStatus.Paused Then
|
If eCurrentStatus <> eStatus.Paused Then
|
||||||
AutoRestoreCheck()
|
AutoRestoreCheck()
|
||||||
@@ -2195,12 +2190,6 @@ Public Class frmMain
|
|||||||
'Unix Handler
|
'Unix Handler
|
||||||
If mgrCommon.IsUnix Then
|
If mgrCommon.IsUnix Then
|
||||||
Me.MinimizeBox = True
|
Me.MinimizeBox = True
|
||||||
If oSettings.StartToTray Then
|
|
||||||
'Window Managers and/or Mono will not trigger a minimize in the Load or Shown event. We need to delay it.
|
|
||||||
tmMinimizeTimer.AutoReset = False
|
|
||||||
tmMinimizeTimer.Interval = 1000
|
|
||||||
tmMinimizeTimer.Start()
|
|
||||||
End If
|
|
||||||
Else
|
Else
|
||||||
Me.gMonTray.Visible = True
|
Me.gMonTray.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -361,6 +361,7 @@ Public Class frmSettings
|
|||||||
If Not File.Exists("/usr/share/applications/gbm.desktop") Then
|
If Not File.Exists("/usr/share/applications/gbm.desktop") Then
|
||||||
chkAutoStart.Enabled = False
|
chkAutoStart.Enabled = False
|
||||||
End If
|
End If
|
||||||
|
chkStartMinimized.Enabled = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'Handle Panels
|
'Handle Panels
|
||||||
|
|||||||
Reference in New Issue
Block a user