Show grep command and directory when using Find in Files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1296 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
599d418f36
commit
4b1cb28462
@ -6,6 +6,8 @@
|
||||
Don't autocomplete for/if constructs when editing an existing line.
|
||||
* src/src/document.c:
|
||||
Set single undo action when using document_strip_trailing_spaces().
|
||||
* src/search.c:
|
||||
Show grep command and directory when using Find in Files.
|
||||
|
||||
|
||||
2007-02-15 Enrico Tröger <enrico.troeger@uvena.de>
|
||||
|
@ -1116,11 +1116,19 @@ search_find_in_files(const gchar *search_text, const gchar *dir, fif_match_type
|
||||
}
|
||||
else
|
||||
{
|
||||
gchar *str, *utf8_str;
|
||||
|
||||
g_free(msgwindow.find_in_files_dir);
|
||||
msgwindow.find_in_files_dir = g_strdup(dir);
|
||||
utils_set_up_io_channel(stdout_fd, G_IO_IN|G_IO_PRI|G_IO_ERR|G_IO_HUP|G_IO_NVAL,
|
||||
search_read_io, NULL);
|
||||
g_child_watch_add(child_pid, search_close_pid, NULL);
|
||||
|
||||
str = g_strdup_printf(_("%s %s %s %s (in directory: %s)"),
|
||||
argv[0], argv[1], argv[2], argv[3], dir);
|
||||
utf8_str = utils_get_utf8_from_locale(str);
|
||||
msgwin_msg_add(-1, -1, utf8_str);
|
||||
utils_free_pointers(str, utf8_str, NULL);
|
||||
ret = TRUE;
|
||||
}
|
||||
g_strfreev(argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user