Added UTF8 international character support for file operations; see issue #413

This commit is contained in:
Oliver Duis
2010-12-18 17:41:03 +01:00
parent 1f2f3b1209
commit 94449dc9e4
29 changed files with 166 additions and 152 deletions

View File

@@ -21,6 +21,7 @@
#include <preferences.h>
#include <multilangmgr.h>
#include <rtwindow.h>
#include <safegtk.h>
BatchQueuePanel::BatchQueuePanel () {
@@ -77,7 +78,7 @@ BatchQueuePanel::BatchQueuePanel () {
saveFormatPanel->init (options.saveFormat);
outdirTemplate->set_text (options.savePathTemplate);
if (Glib::file_test (options.savePathFolder, Glib::FILE_TEST_IS_DIR))
if (safe_file_test (options.savePathFolder, Glib::FILE_TEST_IS_DIR))
outdirFolder->set_current_folder (options.savePathFolder);
useTemplate->set_active (options.saveUsePathTemplate);
useFolder->set_active (!options.saveUsePathTemplate);
@@ -170,7 +171,7 @@ void BatchQueuePanel::updateTab (int qsize)
if (options.mainNBVertical) {
Gtk::VBox* vbb = Gtk::manage (new Gtk::VBox ());
Gtk::Label* l;
Gtk::Label* l;
if(!qsize ){
vbb->pack_start (*Gtk::manage (new Gtk::Image (argv0+"/images/processing.png")));