SF.net SVN: geany:[5083] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Jul 2 12:19:01 UTC 2010


Revision: 5083
          http://geany.svn.sourceforge.net/geany/?rev=5083&view=rev
Author:   ntrel
Date:     2010-07-02 12:19:00 +0000 (Fri, 02 Jul 2010)

Log Message:
-----------
Fix only adding project base path to Find in Files history if it
isn't already there (oops).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/ui_utils.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-07-02 12:05:43 UTC (rev 5082)
+++ trunk/ChangeLog	2010-07-02 12:19:00 UTC (rev 5083)
@@ -3,6 +3,9 @@
  * doc/geany.txt, doc/geany.html:
    Fix wording - restarting is required for hidden prefs.
    File templates don't need manual reloading anymore.
+ * src/ui_utils.c:
+   Fix only adding project base path to Find in Files history if it
+   isn't already there (oops).
 
 
 2010-07-01  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2010-07-02 12:05:43 UTC (rev 5082)
+++ trunk/src/ui_utils.c	2010-07-02 12:19:00 UTC (rev 5083)
@@ -1515,7 +1515,7 @@
 	GtkTreeIter iter;
 
 	model = gtk_combo_box_get_model(combo);
-	if (!tree_model_find_text(model, &iter, 0, text))
+	if (tree_model_find_text(model, &iter, 0, text))
 		return;	/* don't prepend duplicate */
 
 	gtk_combo_box_prepend_text(combo, text);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list