fantasdic r344 - in trunk: . lib/fantasdic/ui
- From: mblondel svn gnome org
- To: svn-commits-list gnome org
- Subject: fantasdic r344 - in trunk: . lib/fantasdic/ui
- Date: Tue, 26 Aug 2008 18:59:40 +0000 (UTC)
Author: mblondel
Date: Tue Aug 26 18:59:40 2008
New Revision: 344
URL: http://svn.gnome.org/viewvc/fantasdic?rev=344&view=rev
Log:
2008-08-27 Mathieu Blondel <mblondel svn gnome org>
* lib/fantasdic/ui/main_app.rb (load_last_searches): Fixed problem.
Modified:
trunk/ChangeLog
trunk/lib/fantasdic/ui/main_app.rb
Modified: trunk/lib/fantasdic/ui/main_app.rb
==============================================================================
--- trunk/lib/fantasdic/ui/main_app.rb (original)
+++ trunk/lib/fantasdic/ui/main_app.rb Tue Aug 26 18:59:40 2008
@@ -377,9 +377,12 @@
@search_cb_entry.append_search(search)
end
- unless @prefs.last_search.nil? or @prefs.lookup_at_start.nil? or \
- @prefs.lookup_at_start == false or ! start_p empty?
- lookup(@prefs.last_search)
+ unless @prefs.last_searches.nil? or \
+ @prefs.last_searches.length == 0 or \
+ @prefs.lookup_at_start.nil? or \
+ @prefs.lookup_at_start == false or ! start_p empty?
+
+ lookup(@prefs.last_searches.first)
end
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]