[totem/wip/kalev/codecs: 1/2] missing plugins: Pass in Totem's desktop file ID



commit b2ad1e0a9cc40935d790a7cbc093563659c1f9d5
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.

 .../bacon-video-widget-gst-missing-plugins.c       |    1 +
 1 files changed, 1 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..3d99cd6 100644
--- a/src/backend/bacon-video-widget-gst-missing-plugins.c
+++ b/src/backend/bacon-video-widget-gst-missing-plugins.c
@@ -284,6 +284,7 @@ bacon_video_widget_gst_on_missing_plugins_event (BaconVideoWidget *bvw, char **d
        }
 
        install_ctx = gst_install_plugins_context_new ();
+       gst_install_plugins_context_set_desktop_id (install_ctx, "org.gnome.Totem.desktop");
 
 #ifdef GDK_WINDOWING_X11
        display = gdk_display_get_default ();


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