}
}
+ /// <summary>
+ /// Looks up a localized string similar to Application Toolbar.
+ /// </summary>
+ public static string Options_ApplicaitonToolbar {
+ get {
+ return ResourceManager.GetString("Options_ApplicaitonToolbar", resourceCulture);
+ }
+ }
+
/// <summary>
/// Looks up a localized string similar to Arguments:.
/// </summary>
}
}
+ /// <summary>
+ /// Looks up a localized string similar to Show 'Add All to Queue' on the toolbar.
+ /// </summary>
+ public static string Options_ShowToolbarAddAll {
+ get {
+ return ResourceManager.GetString("Options_ShowToolbarAddAll", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Show 'Add Selection to Queue' on the toolbar.
+ /// </summary>
+ public static string Options_ShowToolbarAddSelection {
+ get {
+ return ResourceManager.GetString("Options_ShowToolbarAddSelection", resourceCulture);
+ }
+ }
+
/// <summary>
/// Looks up a localized string similar to Change case to Title Case.
/// </summary>
<data name="QueueView_PlayMediaFile" xml:space="preserve">\r
<value>Play File</value>\r
</data>\r
+ <data name="Options_ApplicaitonToolbar" xml:space="preserve">\r
+ <value>Application Toolbar</value>\r
+ </data>\r
+ <data name="Options_ShowToolbarAddAll" xml:space="preserve">\r
+ <value>Show 'Add All to Queue' on the toolbar</value>\r
+ </data>\r
+ <data name="Options_ShowToolbarAddSelection" xml:space="preserve">\r
+ <value>Show 'Add Selection to Queue' on the toolbar</value>\r
+ </data>\r
</root>
\ No newline at end of file
case UserSettingConstants.WhenCompleteAction:\r
this.QueueViewModel.WhenDone(this.userSettingService.GetUserSetting<string>(UserSettingConstants.WhenCompleteAction), false);\r
break;\r
- }\r
-\r
\r
- this.NotifyOfPropertyChange(() => this.ShowAddAllToQueue);\r
- this.NotifyOfPropertyChange(() => this.ShowAddSelectionToQueue);\r
- this.NotifyOfPropertyChange(() => this.ShowAddAllMenuName);\r
- this.NotifyOfPropertyChange(() => this.ShowAddSelectionMenuName);\r
+ case UserSettingConstants.ShowAddAllToQueue:\r
+ case UserSettingConstants.ShowAddSelectionToQueue:\r
+ this.NotifyOfPropertyChange(() => this.ShowAddAllToQueue);\r
+ this.NotifyOfPropertyChange(() => this.ShowAddSelectionToQueue);\r
+ this.NotifyOfPropertyChange(() => this.ShowAddAllMenuName);\r
+ this.NotifyOfPropertyChange(() => this.ShowAddSelectionMenuName);\r
+ break;\r
+ }\r
}\r
-\r
#endregion\r
}\r
}
\ No newline at end of file
\r
private InterfaceLanguage selectedLanguage;\r
\r
+ private bool showAddSelectionToQueue;\r
+\r
+ private bool showAddAllToQueue;\r
+\r
#endregion\r
\r
#region Constructors and Destructors\r
}\r
}\r
\r
+ public bool ShowAddSelectionToQueue\r
+ {\r
+ get => this.showAddSelectionToQueue;\r
+ set\r
+ {\r
+ if (value == this.showAddSelectionToQueue) return;\r
+ this.showAddSelectionToQueue = value;\r
+ this.NotifyOfPropertyChange(() => this.ShowAddSelectionToQueue);\r
+ }\r
+ }\r
+\r
+ public bool ShowAddAllToQueue\r
+ {\r
+ get => this.showAddAllToQueue;\r
+ set\r
+ {\r
+ if (value == this.showAddAllToQueue) return;\r
+ this.showAddAllToQueue = value;\r
+ this.NotifyOfPropertyChange(() => this.ShowAddAllToQueue);\r
+ }\r
+ }\r
+\r
#endregion\r
\r
#region Output Files\r
this.CheckForUpdatesFrequency = 1;\r
}\r
\r
- // On Encode Completeion Action\r
+ // On Encode Completion Action\r
this.whenDoneOptions.Clear();\r
this.whenDoneOptions.Add("Do nothing");\r
this.whenDoneOptions.Add("Shutdown");\r
this.PlaySoundWhenDone = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PlaySoundWhenDone);\r
this.PlaySoundWhenQueueDone = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PlaySoundWhenQueueDone);\r
this.ShowExperimentalQueue = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowExperimentalQueue);\r
- \r
+\r
+ this.ShowAddAllToQueue = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAddAllToQueue);\r
+ this.ShowAddSelectionToQueue = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAddSelectionToQueue);\r
+\r
// #############################\r
// Output Settings\r
// #############################\r
this.userSettingService.SetUserSetting(UserSettingConstants.PlaySoundWhenQueueDone, this.PlaySoundWhenQueueDone);\r
this.userSettingService.SetUserSetting(UserSettingConstants.WhenDoneAudioFile, this.WhenDoneAudioFileFullPath);\r
this.userSettingService.SetUserSetting(UserSettingConstants.UiLanguage, this.SelectedLanguage?.Culture);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ShowAddAllToQueue, this.ShowAddAllToQueue);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ShowAddSelectionToQueue, this.ShowAddSelectionToQueue);\r
\r
/* Experiments */\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowQueueInline, this.ShowQueueInline);\r
<CheckBox Content="{x:Static Properties:Resources.OptionsView_ShowStatusInTitleBar}" IsChecked="{Binding ShowStatusInTitleBar}" />\r
<CheckBox Content="{x:Static Properties:Resources.OptionsView_ShowPreviewOnSummaryTab}" IsChecked="{Binding ShowPreviewOnSummaryTab}" />\r
</StackPanel>\r
+\r
+\r
+ <TextBlock Text="{x:Static Properties:Resources.Options_ApplicaitonToolbar}" FontSize="14" Margin="0,10,0,10"/>\r
+ <StackPanel Orientation="Vertical" Margin="20,0,0,0">\r
+ <CheckBox Content="{x:Static Properties:Resources.Options_ShowToolbarAddAll}" IsChecked="{Binding ShowAddAllToQueue}" />\r
+ <CheckBox Content="{x:Static Properties:Resources.Options_ShowToolbarAddSelection}" IsChecked="{Binding ShowAddSelectionToQueue}" />\r
+ </StackPanel>\r
</StackPanel>\r
\r
<StackPanel Orientation="Vertical" Margin="0,0,0,10">\r