96 |
|
|
97 |
if (!Settings::singleton()->autoRestoreWindowDimension) { |
if (!Settings::singleton()->autoRestoreWindowDimension) { |
98 |
#if GTKMM_MAJOR_VERSION >= 3 |
#if GTKMM_MAJOR_VERSION >= 3 |
99 |
set_default_size(895, 600); |
set_default_size(960, 600); |
100 |
#else |
#else |
101 |
set_default_size(800, 600); |
set_default_size(865, 600); |
102 |
#endif |
#endif |
103 |
set_position(Gtk::WIN_POS_CENTER); |
set_position(Gtk::WIN_POS_CENTER); |
104 |
} |
} |
2205 |
dialog.set_current_folder(current_gig_dir); |
dialog.set_current_folder(current_gig_dir); |
2206 |
} |
} |
2207 |
if (dialog.run() == Gtk::RESPONSE_OK) { |
if (dialog.run() == Gtk::RESPONSE_OK) { |
2208 |
|
dialog.hide(); |
2209 |
std::string filename = dialog.get_filename(); |
std::string filename = dialog.get_filename(); |
2210 |
printf("filename=%s\n", filename.c_str()); |
printf("filename=%s\n", filename.c_str()); |
2211 |
#ifdef GLIB_THREADS |
#ifdef GLIB_THREADS |
2474 |
#endif |
#endif |
2475 |
|
|
2476 |
if (dialog.run() == Gtk::RESPONSE_OK) { |
if (dialog.run() == Gtk::RESPONSE_OK) { |
2477 |
|
dialog.hide(); |
2478 |
std::string filename = dialog.get_filename(); |
std::string filename = dialog.get_filename(); |
2479 |
if (!Glib::str_has_suffix(filename, ".gig")) { |
if (!Glib::str_has_suffix(filename, ".gig")) { |
2480 |
filename += ".gig"; |
filename += ".gig"; |
2666 |
"backup your Gigasampler/GigaStudio files before editing them with " |
"backup your Gigasampler/GigaStudio files before editing them with " |
2667 |
"this application.\n" |
"this application.\n" |
2668 |
"\n" |
"\n" |
2669 |
"Please report bugs to: http://bugs.linuxsampler.org" |
"Please report bugs to: https://bugs.linuxsampler.org" |
2670 |
); |
); |
2671 |
dialog.set_comments(sComment.c_str()); |
dialog.set_comments(sComment.c_str()); |
2672 |
dialog.set_website("http://www.linuxsampler.org"); |
dialog.set_website("https://www.linuxsampler.org"); |
2673 |
dialog.set_website_label("http://www.linuxsampler.org"); |
dialog.set_website_label("https://www.linuxsampler.org"); |
2674 |
dialog.set_position(Gtk::WIN_POS_CENTER); |
dialog.set_position(Gtk::WIN_POS_CENTER); |
2675 |
dialog.run(); |
dialog.run(); |
2676 |
} |
} |
4111 |
dialog.set_current_folder(current_sample_dir); |
dialog.set_current_folder(current_sample_dir); |
4112 |
} |
} |
4113 |
if (dialog.run() == Gtk::RESPONSE_OK) { |
if (dialog.run() == Gtk::RESPONSE_OK) { |
4114 |
|
dialog.hide(); |
4115 |
current_sample_dir = dialog.get_current_folder(); |
current_sample_dir = dialog.get_current_folder(); |
4116 |
Glib::ustring error_files; |
Glib::ustring error_files; |
4117 |
std::vector<std::string> filenames = dialog.get_filenames(); |
std::vector<std::string> filenames = dialog.get_filenames(); |
4292 |
} |
} |
4293 |
if (dialog.run() == Gtk::RESPONSE_OK) |
if (dialog.run() == Gtk::RESPONSE_OK) |
4294 |
{ |
{ |
4295 |
|
dialog.hide(); |
4296 |
current_sample_dir = dialog.get_current_folder(); |
current_sample_dir = dialog.get_current_folder(); |
4297 |
Glib::ustring error_files; |
Glib::ustring error_files; |
4298 |
std::string folder = dialog.get_filename(); |
std::string folder = dialog.get_filename(); |
5021 |
#endif |
#endif |
5022 |
|
|
5023 |
if (dialog.run() == Gtk::RESPONSE_OK) { |
if (dialog.run() == Gtk::RESPONSE_OK) { |
5024 |
|
dialog.hide(); |
5025 |
#ifdef GLIB_THREADS |
#ifdef GLIB_THREADS |
5026 |
printf("on_action_merge_files self=%p\n", |
printf("on_action_merge_files self=%p\n", |
5027 |
static_cast<void*>(Glib::Threads::Thread::self())); |
static_cast<void*>(Glib::Threads::Thread::self())); |