Kaydet (Commit) f9d50c6e authored tarafından Nick Treleaven's avatar Nick Treleaven

r5052


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/Geany-0_19_1@5133 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst afe735b8
......@@ -4,6 +4,8 @@
Fix not loading plugins built against a newer API when Geany doesn't
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
* plugins/filebrowser.c:
Allow Find in Files when no items are selected.
2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -545,7 +545,9 @@ static void on_find_in_files(GtkMenuItem *menuitem, gpointer user_data)
gboolean is_dir = FALSE;
treesel = gtk_tree_view_get_selection(GTK_TREE_VIEW(file_view));
if (! check_single_selection(treesel))
/* allow 0 or 1 selections */
if (gtk_tree_selection_count_selected_rows(treesel) > 0 &&
! check_single_selection(treesel))
return;
list = gtk_tree_selection_get_selected_rows(treesel, &model);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment