Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Fri, 15 Jan 2016 16:41:00 UTC Commit: 20b545069cf1133c1a33cc333a65d428cd86917d https://github.com/geany/geany-plugins/commit/20b545069cf1133c1a33cc333a65d4...
Log Message: ----------- ProjectOrganizer: correctly show tags from external directories
Use an absolute path in the msgwindow for an external directory outside the project path.
Modified Paths: -------------- projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-sidebar.c 5 lines changed, 2 insertions(+), 3 deletions(-) =================================================================== @@ -618,9 +618,8 @@ static void find_tags(const gchar *name, gboolean declaration, gboolean case_sen gchar *relpath;
relpath = get_relative_path(utf8_base_path, utf8_fname); - if (relpath) - msgwin_msg_add(COLOR_BLACK, -1, NULL, "%s:%lu:\n\t[%s]\t %s%s%s", relpath, - tag->line, tm_tag_type_name(tag), scopestr, tag->name, tag->arglist ? tag->arglist : ""); + msgwin_msg_add(COLOR_BLACK, -1, NULL, "%s:%lu:\n\t[%s]\t %s%s%s", relpath ? relpath : utf8_fname, + tag->line, tm_tag_type_name(tag), scopestr, tag->name, tag->arglist ? tag->arglist : ""); g_free(scopestr); g_free(relpath); g_free(utf8_fname);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).