Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things...
[synfig.git] / synfig-studio / trunk / src / gtkmm / instance.cpp
index 7d9900d..a67d7f7 100644 (file)
@@ -185,17 +185,6 @@ Instance::set_redo_status(bool x)
 }
 
 bool
-studio::Instance::save_as(const synfig::String &file_name)const
-{
-       if(synfigapp::Instance::save_as(file_name))
-       {
-               App::add_recent_file(file_name);
-               return true;
-       }
-       return false;
-}
-
-bool
 studio::Instance::save_as(const synfig::String &file_name)
 {
        if(synfigapp::Instance::save_as(file_name))
@@ -253,12 +242,12 @@ studio::Instance::dialog_save_as()
        }
 
        // show the canvas' name if it has one, else its ID
-       while(App::dialog_saveas_file(_("Choose a Filename to Save As") +
-                                                                 String(" (") +
-                                                                 (canvas->get_name().empty()
-                                                                  ? canvas->get_id()
-                                                                  : canvas->get_name()) +
-                                                                 ") ...", filename))
+       while(App::dialog_save_file(_("Choose a Filename to Save As") +
+                                                               String(" (") +
+                                                               (canvas->get_name().empty()
+                                                                ? canvas->get_id()
+                                                                : canvas->get_name()) +
+                                                               ") ...", filename))
        {
                // If the filename still has wildcards, then we should
                // continue looking for the file we want