After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 387332 - Show error image when 404 or similar
Show error image when 404 or similar
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on:
Blocks:
 
 
Reported: 2006-12-18 22:59 UTC by Bastien Nocera
Modified: 2007-01-12 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot-1.png (51.44 KB, image/png)
2006-12-18 23:21 UTC, Bastien Nocera
Details

Description Bastien Nocera 2006-12-18 22:59:27 UTC
See attached image, which is what QuickTime does.
Comment 1 Bastien Nocera 2006-12-18 23:21:09 UTC
Created attachment 78603 [details]
Screenshot-1.png
Comment 2 Bastien Nocera 2007-01-11 15:42:53 UTC
We need to send a signal in totemPlugin::URLNotify telling the viewer to show an error image. Jakub, can you think of a good one?
Comment 3 Bastien Nocera 2007-01-11 16:48:08 UTC
Added a test case:

2007-01-11  Bastien Nocera  <hadess@hadess.net>

        * browser-plugin/tests/3.html: add a simple test for
        http://bugzilla.gnome.org/show_bug.cgi?id=387332
<snip>
Comment 4 Jakub Steiner 2007-01-11 17:11:26 UTC
Isn't 'image-missing' appropriate here?
Comment 5 Bastien Nocera 2007-01-12 11:28:16 UTC
2007-01-12  Bastien Nocera  <hadess@hadess.net>

        * browser-plugin/org_gnome_totem_PluginViewer.xml:
        add the SetErrorLogo method

        * browser-plugin/totem-plugin-viewer.c:
        (totem_embedded_pad_pixbuf_for_size),
        (totem_embedded_set_error_logo):
        Implement the SetErrorLogo method and show a centred
        "image-missing" image when a file isn't available which should be

        * browser-plugin/totemPlugin.cpp:
        * src/backend/bacon-video-widget-gst-0.10.c:
        (bacon_video_widget_set_logo),
        (bacon_video_widget_set_logo_pixbuf):
        * src/backend/bacon-video-widget-xine.c:
        (bacon_video_widget_set_logo),
        (bacon_video_widget_set_logo_pixbuf):
        * src/backend/bacon-video-widget.h:

        Implement bacon_video_widget_set_logo_pixbuf()
        (Closes: #387332)