anjuta r4037 - in trunk: . plugins/search



Author: jhs
Date: Sat Jun 28 19:39:23 2008
New Revision: 4037
URL: http://svn.gnome.org/viewvc/anjuta?rev=4037&view=rev

Log:
2008-06-28  Johannes Schmid  <jhs gnome org>

  Patch from Yuriy Penkin:
	* plugins/search/search-replace.c (search_update_dialog):
	#538906 â Enable state \"Max actions\" when \"No limit\" toggled

Modified:
   trunk/ChangeLog
   trunk/plugins/search/search-replace.c

Modified: trunk/plugins/search/search-replace.c
==============================================================================
--- trunk/plugins/search/search-replace.c	(original)
+++ trunk/plugins/search/search-replace.c	Sat Jun 28 19:39:23 2008
@@ -1452,6 +1452,7 @@
 	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widget), s->expr.no_limit);
 	widget = sr_get_gladewidget(ACTIONS_MAX)->widget;
 	gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget), s->expr.actions_max);
+	gtk_widget_set_sensitive (widget, !s->expr.no_limit);
 	
 	widget = sr_get_gladewidget(REPLACE_REGEX)->widget;	
 	gtk_widget_set_sensitive(widget, sr->search.expr.regex);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]