[gnome-subtitles] Fix bug with backup time not being correctly set in the Preferences dialog, with a patch from MichaĆ
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Fix bug with backup time not being correctly set in the Preferences dialog, with a patch from MichaĆ
- Date: Sat, 1 Jan 2011 18:20:23 +0000 (UTC)
commit e10fe0626206c491ced1c65171e6bb732169114b
Author: Pedro Castro <mail pedrocastro org>
Date: Wed Dec 29 05:01:11 2010 +0000
Fix bug with backup time not being correctly set in the Preferences dialog, with a patch from MichaÅ? Sawicz
src/GnomeSubtitles/Dialog/PreferencesDialog.cs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/GnomeSubtitles/Dialog/PreferencesDialog.cs b/src/GnomeSubtitles/Dialog/PreferencesDialog.cs
index 7eaf421..dbcc752 100644
--- a/src/GnomeSubtitles/Dialog/PreferencesDialog.cs
+++ b/src/GnomeSubtitles/Dialog/PreferencesDialog.cs
@@ -159,7 +159,9 @@ public class PreferencesDialog : GladeDialog {
private void SetAutoBackup () {
bool autoBackupEnabled = Base.Config.PrefsBackupAutoBackup;
autoBackupCheckButton.Active = autoBackupEnabled;
+
autoBackupTimeSpinButton.Sensitive = autoBackupEnabled;
+ autoBackupTimeSpinButton.Value = (int)Base.Config.PrefsBackupBackupTime / 60; //Minutes
}
private void ResetDialogToDefaults () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]