Commit f58e1770bef4b7be58e01f943b20f6c2ad6789a3
1 parent
b0f14ba3
Exists in
master
and in
5 other branches
Corrigindo debug de plugins no linux
Showing
3 changed files
with
13 additions
and
4 deletions
Show diff stats
po/pt_BR.po
... | ... | @@ -5,7 +5,7 @@ msgid "" |
5 | 5 | msgstr "" |
6 | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | 7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2013-02-27 07:14-0300\n" | |
8 | +"POT-Creation-Date: 2013-02-28 07:17-0300\n" | |
9 | 9 | "PO-Revision-Date: 2013-02-25 14:46-0300\n" |
10 | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | 11 | "Language-Team: Português <>\n" | ... | ... |
src/plugins/remotectl/calls.c
src/pw3270/plugin.c
... | ... | @@ -145,9 +145,18 @@ |
145 | 145 | if(!g_file_test(path,G_FILE_TEST_IS_DIR)) |
146 | 146 | { |
147 | 147 | g_free(path); |
148 | - path = pw3270_build_filename(widget,"plugins",NULL); | |
148 | + | |
149 | + path = g_build_filename(dir,".bin","Debug","plugins",NULL); | |
150 | + trace("%s testing [%s]",__FUNCTION__,path); | |
151 | + | |
152 | + if(!g_file_test(path,G_FILE_TEST_IS_DIR)) | |
153 | + { | |
154 | + g_free(path); | |
155 | + path = pw3270_build_filename(widget,"plugins",NULL); | |
156 | + trace("%s using [%s]",__FUNCTION__,path); | |
157 | + } | |
149 | 158 | } |
150 | - | |
159 | + | |
151 | 160 | load(path,widget); |
152 | 161 | |
153 | 162 | g_free(path); | ... | ... |