[totem] missing plugins: Pass in Totem's desktop file ID
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] missing plugins: Pass in Totem's desktop file ID
- Date: Fri, 20 Feb 2015 16:38:53 +0000 (UTC)
commit 628c254e9004b67f9028f2970462ba9d4b472c5e
Author: Kalev Lember <kalevlember gmail com>
Date: Mon Feb 2 16:40:27 2015 +0100
missing plugins: Pass in Totem's desktop file ID
It's passed down to the PK session service implemention in
gnome-software, which needs to know the ID of the application requesting
codec installation.
https://bugzilla.gnome.org/show_bug.cgi?id=744610
.../bacon-video-widget-gst-missing-plugins.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-missing-plugins.c
b/src/backend/bacon-video-widget-gst-missing-plugins.c
index c7fb7c8..790c4cb 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -284,6 +284,9 @@ bacon_video_widget_gst_on_missing_plugins_event (BaconVideoWidget *bvw, char **d
}
install_ctx = gst_install_plugins_context_new ();
+#if GST_CHECK_VERSION (1, 5, 0)
+ gst_install_plugins_context_set_desktop_id (install_ctx, "org.gnome.Totem.desktop");
+#endif
#ifdef GDK_WINDOWING_X11
display = gdk_display_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]