diff Plugins/Input/modplug/gui/main.cpp @ 924:5ef13028e42d trunk

[svn] Allow to disable grabbing Amiga MOD files so a diferent plugin such as UADE gets a chance. Adds a few extra magic strings for Amiga files. Amiga MOD grabbing defaults to on for that Just Works(TM) feeling.
author chainsaw
date Tue, 11 Apr 2006 14:33:16 -0700
parents 9d393eabf984
children a8e4435f65f2
line wrap: on
line diff
--- a/Plugins/Input/modplug/gui/main.cpp	Mon Apr 10 17:18:44 2006 -0700
+++ b/Plugins/Input/modplug/gui/main.cpp	Tue Apr 11 14:33:16 2006 -0700
@@ -86,6 +86,11 @@
 	else
 		gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "fxNR"), FALSE);
 	
+	if(aProps.mGrabAmigaMOD)
+		gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "fxAmigaMOD"), TRUE);
+	else
+		gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "fxAmigaMOD"), FALSE);
+	
 	if(aProps.mFastinfo)
 		gtk_toggle_button_set_active((GtkToggleButton*)lookup_widget(ConfigWin, "fxFastInfo"), TRUE);
 	else