--- gigedit/trunk/src/gigedit/mainwindow.cpp 2015/09/20 10:18:22 2845
+++ gigedit/trunk/src/gigedit/mainwindow.cpp 2016/07/18 11:22:38 2967
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2015 Andreas Persson
+ * Copyright (C) 2006-2016 Andreas Persson
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -192,6 +192,21 @@
actionGroup->add(toggle_action,
sigc::mem_fun(
*this, &MainWindow::on_action_view_status_bar));
+
+ toggle_action =
+ Gtk::ToggleAction::create("AutoRestoreWinDim", _("_Auto Restore Window Dimension"));
+ toggle_action->set_active(Settings::singleton()->autoRestoreWindowDimension);
+ actionGroup->add(toggle_action,
+ sigc::mem_fun(
+ *this, &MainWindow::on_auto_restore_win_dim));
+
+ toggle_action =
+ Gtk::ToggleAction::create("SaveWithTemporaryFile", _("Save with _temporary file"));
+ toggle_action->set_active(Settings::singleton()->saveWithTemporaryFile);
+ actionGroup->add(toggle_action,
+ sigc::mem_fun(
+ *this, &MainWindow::on_save_with_temporary_file));
+
actionGroup->add(
Gtk::Action::create("RefreshAll", _("_Refresh All")),
sigc::mem_fun(*this, &MainWindow::on_action_refresh_all)
@@ -364,6 +379,7 @@
" "
"
"
@@ -375,6 +391,7 @@
" "
" "
" "
+ " "
" "
"