[nautilus/wip/antoniof/flow-box-preparation: 30/51] file: Always use film strip for video thumbnails




commit 2d0d882114956a3911e2af65c3e7611720be6dfb
Author: António Fernandes <antoniof gnome org>
Date:   Sun Dec 12 19:08:22 2021 +0000

    file: Always use film strip for video thumbnails
    
    There is no reason not to do it for the new icon view now.

 src/nautilus-file.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 704354efc..f2102884d 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -5248,16 +5248,9 @@ nautilus_file_get_thumbnail_icon (NautilusFile          *file,
             /* We don't want frames around small icons */
             if (!gdk_pixbuf_get_has_alpha (file->details->thumbnail) || s >= 128 * scale)
             {
-                gboolean use_experimental_views;
-
-                use_experimental_views = g_settings_get_boolean (nautilus_preferences,
-                                                                 
NAUTILUS_PREFERENCES_USE_EXPERIMENTAL_VIEWS);
-                if (!use_experimental_views)
+                if (nautilus_is_video_file (file))
                 {
-                    if (nautilus_is_video_file (file))
-                    {
-                        nautilus_ui_frame_video (&pixbuf);
-                    }
+                    nautilus_ui_frame_video (&pixbuf);
                 }
             }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]