[nautilus/wip/corey/properties: 36/36] audio-video-properties: Add error row on failure




commit 769b89257fcb527c0fa4d4f5e40fd8880aa3d6e5
Author: António Fernandes <antoniof gnome org>
Date:   Wed Aug 31 17:40:10 2022 +0100

    audio-video-properties: Add error row on failure
    
    Rather than displaying a broken page without any row.

 extensions/audio-video-properties/totem-properties-view.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/extensions/audio-video-properties/totem-properties-view.c 
b/extensions/audio-video-properties/totem-properties-view.c
index f10ca6467..5957d0590 100644
--- a/extensions/audio-video-properties/totem-properties-view.c
+++ b/extensions/audio-video-properties/totem-properties-view.c
@@ -296,6 +296,7 @@ discovered_cb (GstDiscoverer       *discoverer,
                g_warning ("Couldn't get information about '%s': %s",
                           gst_discoverer_info_get_uri (info),
                           error->message);
+               append_item (props, _("Oops! Something went wrong."), error->message);
                return;
        }
 


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