Commit 298fdaf1 authored by Sophie Herold's avatar Sophie Herold

Add file ending for suggested screenshot name

parent 0d648a3d
Pipeline #208017 passed with stage
in 16 minutes and 47 seconds
......@@ -44,7 +44,7 @@ impl ScreenshotDialog {
Some(&gettext("_Cancel")),
);
dialog.set_modal(true);
dialog.set_current_name(&gettext("Preview"));
dialog.set_current_name(&format!("{}.png", &gettext("Preview")));
let xdg_pictures_dir = glib::get_user_special_dir(glib::UserDirectory::Pictures).unwrap();
dialog.set_current_folder(&xdg_pictures_dir);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment