X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Finstance.cpp;h=09fc936d196e576c192d1cd66bfef1fd1c2ef5ce;hb=82172e34b62d1e335b1deb00bfc714e293f1c165;hp=58ef103b99f1b4e0631020864323051c27327d52;hpb=0fc90d30508750c158f68fde20ede35212ef5e77;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/instance.cpp b/synfig-studio/trunk/src/gtkmm/instance.cpp index 58ef103..09fc936 100644 --- a/synfig-studio/trunk/src/gtkmm/instance.cpp +++ b/synfig-studio/trunk/src/gtkmm/instance.cpp @@ -252,7 +252,13 @@ studio::Instance::dialog_save_as() } } - while(App::dialog_saveas_file("SaveAs", filename)) + // 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)) { // If the filename still has wildcards, then we should // continue looking for the file we want @@ -617,7 +623,7 @@ bool Instance::safe_revert() { if(synfigapp::Instance::get_action_count()) - if(!App::dialog_yes_no(_("Revert to saved"), _("You will loose any changes you have made since your last save.\nAre you sure?"))) + if(!App::dialog_yes_no(_("Revert to saved"), _("You will lose any changes you have made since your last save.\nAre you sure?"))) return false; revert(); return true;