Added patch from Wolfgang Kuhnel to remove hard coded GUI strings and move them to the language files.

This commit is contained in:
Wyatt Olson
2010-04-22 18:06:29 -06:00
parent 4b75d97a13
commit 69bf3c0500
10 changed files with 58 additions and 22 deletions

View File

@@ -46,8 +46,8 @@ FavoritBrowser::FavoritBrowser () : listener (NULL), lastSelectedDir ("") {
treeView->set_tooltip_column (2);
treeView->get_selection()->signal_changed().connect(sigc::mem_fun(*this, &FavoritBrowser::selectionChanged));
add = Gtk::manage (new Gtk::Button ("Add"));
del = Gtk::manage (new Gtk::Button ("Del"));
add = Gtk::manage (new Gtk::Button (M("MAIN_FRAME_PLACES_ADD")));
del = Gtk::manage (new Gtk::Button (M("MAIN_FRAME_PLACES_DEL")));
add->set_image (*Gtk::manage (new Gtk::Image (Gtk::Stock::ADD, Gtk::ICON_SIZE_MENU)));
del->set_image (*Gtk::manage (new Gtk::Image (Gtk::Stock::REMOVE, Gtk::ICON_SIZE_MENU)));
Gtk::HBox* buttonBox = Gtk::manage (new Gtk::HBox ());