Don't show debugging messages about saving preference directories.
[synfig.git] / synfig-studio / trunk / src / gtkmm / app.cpp
index 4178366..4728423 100644 (file)
@@ -670,6 +670,8 @@ init_ui_manager()
        DEFINE_ACTION("copy", Gtk::StockID("gtk-copy"));
        DEFINE_ACTION("paste", Gtk::StockID("gtk-paste"));
        DEFINE_ACTION("select-all-ducks", _("Select All Ducks"));
+       DEFINE_ACTION("unselect-all-ducks", _("Unselect All Ducks"));
+       DEFINE_ACTION("select-all-layers", _("Select All Layers"));
        DEFINE_ACTION("unselect-all-layers", _("Unselect All Layers"));
        DEFINE_ACTION("properties", _("Properties"));
 
@@ -798,8 +800,10 @@ init_ui_manager()
 "              <menuitem action='copy'/>"
 "              <menuitem action='paste'/>"
 "              <separator name='bleh06'/>"
-"              <menuitem action='select-all-ducks'/>"
+"              <menuitem action='select-all-layers'/>"
 "              <menuitem action='unselect-all-layers'/>"
+"              <menuitem action='select-all-ducks'/>"
+"              <menuitem action='unselect-all-ducks'/>"
 "              <separator name='bleh07'/>"
 "              <menuitem action='properties'/>"
 "      </menu>"
@@ -938,7 +942,9 @@ init_ui_manager()
        }
 
        ACCEL("<Actions>//select-all-ducks","<Control>a");
-       ACCEL("<Actions>//unselect-all-layers","<Control>d");
+       ACCEL("<Actions>//unselect-all-ducks","<Control>d");
+       ACCEL("<Actions>//select-all-layers","<Control><Shift>a");
+       ACCEL("<Actions>//unselect-all-layers","<Control><Shift>d");
        ACCEL("<Actions>//render","F9");
        ACCEL("<Actions>//preview","F11");
        ACCEL("<Actions>//properties","F8");
@@ -1018,9 +1024,9 @@ init_ui_manager()
        ACCEL("<Actions>//state-eyedrop",     "<Mod1>e");
        ACCEL("<Actions>//state-zoom",        "<Mod1>z");
 
-       ACCEL("<Actions>//state-draw",        "<Mod1>w");
+       ACCEL("<Actions>//state-draw",        "<Mod1>d");
        ACCEL("<Actions>//state-sketch",      "<Mod1>k");
-       ACCEL("<Actions>//state-width",       "<Mod1>t");
+       ACCEL("<Actions>//state-width",       "<Mod1>w");
 
        ACCEL("<Actions>//canvas-zoom-fit","<Control><Shift>z");
 
@@ -1853,7 +1859,7 @@ App::dialog_open_file(const std::string &title, std::string &filename, std::stri
 
     if(dialog->run() == GTK_RESPONSE_ACCEPT) {
         filename = dialog->get_filename();
-               info("Saving preference %s = '%s' in App::dialog_open_file()", preference.c_str(), dirname(filename).c_str());
+               // info("Saving preference %s = '%s' in App::dialog_open_file()", preference.c_str(), dirname(filename).c_str());
                _preferences.set_value(preference, dirname(filename));
         delete dialog;
         return true;
@@ -2012,7 +2018,7 @@ App::dialog_save_file(const std::string &title, std::string &filename, std::stri
                if (preference == ANIMATION_DIR_PREFERENCE)
                        set_file_version(synfig::ReleaseVersion(file_type_enum->get_value()));
         filename = dialog->get_filename();
-               info("Saving preference %s = '%s' in App::dialog_save_file()", preference.c_str(), dirname(filename).c_str());
+               // info("Saving preference %s = '%s' in App::dialog_save_file()", preference.c_str(), dirname(filename).c_str());
                _preferences.set_value(preference, dirname(filename));
         delete dialog;
         return true;