[gnome-boxes/gnome-3-26] actions-popover: Append extension to screenshot filenames
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-26] actions-popover: Append extension to screenshot filenames
- Date: Mon, 30 Oct 2017 13:12:22 +0000 (UTC)
commit 993aeeb8e38852c2b14b388f5f6f5f0b5c103cd6
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Oct 20 14:03:08 2017 +0200
actions-popover: Append extension to screenshot filenames
Despite being png files, the screenshots taken with the
"Take Screenshot" option don't have the .png filename
extension.
https://bugzilla.gnome.org/show_bug.cgi?id=789221
src/actions-popover.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/actions-popover.vala b/src/actions-popover.vala
index 4281b27..bd3ae76 100644
--- a/src/actions-popover.vala
+++ b/src/actions-popover.vala
@@ -123,7 +123,7 @@ private class Boxes.ActionsPopover: Gtk.Popover {
var machine = window.current_item as Machine;
try {
Gdk.Pixbuf pixbuf = machine.display.get_pixbuf (0);
- pixbuf.save (get_screenshot_filename (), "png");
+ pixbuf.save (get_screenshot_filename () + ".png", "png");
} catch (GLib.Error error) {
warning (error.message);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]