Commit 879e4271 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:initialize): Really minor tweaks.

* src/mainwindow.cc (MainWindow::initialize): Really minor tweaks.

svn path=/trunk/; revision=628
parent 81753d24
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* src/mainwindow.cc (MainWindow::initialize): Really minor tweaks.
2007-01-11 Daniel Elstner <daniel.kitta@gmail.com>
* src/main.cc (RegexxerOptions): Make init_state_ a value member
......
......@@ -213,13 +213,12 @@ void MainWindow::initialize(const InitState& init)
if (!init.folder.empty())
folder = init.folder.front();
if (!Glib::path_is_absolute(folder))
folder = Glib::build_filename(Glib::get_current_dir(), folder);
const bool folder_exists = button_folder_->set_current_folder(folder);
entry_pattern_->set_text((init.pattern.empty()) ? Glib::ustring("*") : init.pattern);
entry_pattern_->set_text((init.pattern.empty()) ? Glib::ustring(1, '*') : init.pattern);
entry_regex_ ->set_text(init.regex);
entry_substitution_->set_text(init.substitution);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment