Commit 015e91e2 authored by Jens Georg's avatar Jens Georg
Browse files

Make thm a recognized extension for JPEG


Signed-off-by: Jens Georg's avatarJens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=759246
parent 50988f92
......@@ -1766,11 +1766,10 @@ public class AdjustDateTimeDialog : Gtk.Dialog {
hbox.set_border_width(3);
hbox.pack_start(image_content, true, false, 0);
hbox.pack_start(time_content, true, false, 0);
hbox.valign = Gtk.Align.CENTER;
hbox.halign = Gtk.Align.CENTER;
Gtk.Alignment hbox_alignment = new Gtk.Alignment(0.5f, 0.5f, 0, 0);
hbox_alignment.add(hbox);
((Gtk.Box) get_content_area()).pack_start(hbox_alignment, true, false, 0);
((Gtk.Box) get_content_area()).pack_start(hbox, true, false, 0);
notification = new Gtk.Label("");
notification.set_line_wrap(true);
......
......@@ -51,7 +51,7 @@ public class JfifFileFormatDriver : PhotoFileFormatDriver {
public class JfifFileFormatProperties : PhotoFileFormatProperties {
private static string[] KNOWN_EXTENSIONS = {
"jpg", "jpeg", "jpe"
"jpg", "jpeg", "jpe", "thm"
};
private static string[] KNOWN_MIME_TYPES = {
......
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