diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:20 +0200 |
commit | 5e9f4eea451a77ba3b93db3747841ed2bd969e9f (patch) | |
tree | 75046a38ca68975261d853a2e56ff7bf6b3e1daa /src/camera/ImportPage.vala | |
parent | 18b52c2983a1b3409011f72d27f15de576c5eb1c (diff) |
New upstream version 0.30.1upstream/0.30.1
Diffstat (limited to 'src/camera/ImportPage.vala')
-rw-r--r-- | src/camera/ImportPage.vala | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala index f7698a6..0839590 100644 --- a/src/camera/ImportPage.vala +++ b/src/camera/ImportPage.vala @@ -272,11 +272,7 @@ class ImportPreview : MediaSourceItem { base(source, Dimensions(), source.get_name(), null); this.duplicated_file = null; - - // draw sprocket holes as visual indications on video previews - if (source is VideoImportSource) - set_enable_sprockets(true); - + // scale down pixbuf if necessary Gdk.Pixbuf pixbuf = null; try { @@ -394,6 +390,10 @@ class ImportPreview : MediaSourceItem { public ImportSource get_import_source() { return (ImportSource) get_source(); } + + protected override Gdk.Pixbuf? get_top_left_trinket(int scale) { + return (get_import_source() is VideoImportSource) ? Resources.get_video_trinket (scale) : null; + } } public class CameraViewTracker : Core.ViewTracker { @@ -802,7 +802,7 @@ public class ImportPage : CheckerboardPage { // Find button Gtk.ToggleToolButton find_button = new Gtk.ToggleToolButton(); - find_button.set_icon_name("edit-find"); + find_button.set_icon_name("edit-find-symbolic"); find_button.set_action_name ("win.CommonDisplaySearchbar"); toolbar.insert(find_button, -1); @@ -812,7 +812,7 @@ public class ImportPage : CheckerboardPage { // Import selected Gtk.ToolButton import_selected_button = new Gtk.ToolButton(null, null); - import_selected_button.set_icon_name("import"); + import_selected_button.set_icon_name(Resources.IMPORT); import_selected_button.set_label(_("Import _Selected")); import_selected_button.is_important = true; import_selected_button.use_underline = true; @@ -822,7 +822,7 @@ public class ImportPage : CheckerboardPage { // Import all Gtk.ToolButton import_all_button = new Gtk.ToolButton(null, null); - import_all_button.set_icon_name("import-all"); + import_all_button.set_icon_name(Resources.IMPORT_ALL); import_all_button.set_label(_("Import _All")); import_all_button.is_important = true; import_all_button.use_underline = true; |