[Kazehakase-cvs] CVS update: kazehakase/src/prefs_ui

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Tue Dec 5 15:47:31 JST 2006


Index: kazehakase/src/prefs_ui/prefs_history.c
diff -u kazehakase/src/prefs_ui/prefs_history.c:1.13 kazehakase/src/prefs_ui/prefs_history.c:1.14
--- kazehakase/src/prefs_ui/prefs_history.c:1.13	Tue Dec  5 14:26:34 2006
+++ kazehakase/src/prefs_ui/prefs_history.c	Tue Dec  5 15:47:31 2006
@@ -101,20 +101,20 @@
 {
 	GPid pid;
 	KzSearch *search = kz_search_new("hyperestraier");
-
 	if (search)
 	{
 		gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE);
 		pid = kz_search_optimize_index(search);
 		g_object_unref(search);
+		gtk_widget_set_sensitive(GTK_WIDGET(button), TRUE);
 	}
 #ifdef USE_RAST
 	gtk_widget_set_sensitive(GTK_WIDGET(button), FALSE);
 	pid = rast_optimize_index();
-#endif
 	g_child_watch_add(pid,
 			  cb_optimize_exit,
 			  button);
+#endif
 }
 
 


More information about the Kazehakase-cvs mailing list
Back to archive index