[gnome-photos] local-item: Get the correct default app name



commit efb2f4ad6157e98d2911b49a353c1390dec2106c
Author: Chunyang Xu <xuchunyang56 gmail com>
Date:   Fri Feb 28 02:16:04 2014 +0800

    local-item: Get the correct default app name
    
    Disable must_support_uris flag because it is unnecessary for local
    items and some photo applications like Shotwell do not support URIs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725016

 src/photos-local-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-local-item.c b/src/photos-local-item.c
index 03746eb..99604b7 100644
--- a/src/photos-local-item.c
+++ b/src/photos-local-item.c
@@ -85,7 +85,7 @@ photos_local_item_constructed (GObject *object)
   if (mime_type == NULL)
     return;
 
-  default_app = g_app_info_get_default_for_type (mime_type, TRUE);
+  default_app = g_app_info_get_default_for_type (mime_type, FALSE);
   if (default_app == NULL)
     return;
 


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