Commit 23a07021ca01bcaa98a951299a138d08c56113a3
1 parent
e68ebd30
Exists in
master
and in
5 other branches
Fixing save message.
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
src/pw3270/common/config.c
... | ... | @@ -566,13 +566,14 @@ void configuration_deinit(void) |
566 | 566 | g_autofree gchar * filename = g_build_filename(g_get_user_config_dir(),name,NULL); |
567 | 567 | |
568 | 568 | g_mkdir_with_parents(g_get_user_config_dir(),S_IRUSR|S_IWUSR); |
569 | + | |
570 | + g_message( _("Saving %s"), filename); | |
571 | + | |
569 | 572 | g_file_set_contents(filename,text,-1,&error); |
570 | 573 | |
571 | 574 | if(error) { |
572 | 575 | g_message( _( "Can't save \"%s\": %s" ), filename, error->message); |
573 | 576 | g_error_free(error); |
574 | - } else { | |
575 | - g_message( _("Configuration saved to %s"), filename); | |
576 | 577 | } |
577 | 578 | |
578 | 579 | } | ... | ... |