nautilus r14722 - in trunk: . libnautilus-private



Author: alexl
Date: Mon Oct 13 10:04:14 2008
New Revision: 14722
URL: http://svn.gnome.org/viewvc/nautilus?rev=14722&view=rev

Log:
2008-10-13  Alexander Larsson  <alexl redhat com>

        * libnautilus-private/nautilus-open-with-dialog.c:
        (add_or_find_application):
	Don't set default when opening with other app, just
	add to open with list.




Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-open-with-dialog.c

Modified: trunk/libnautilus-private/nautilus-open-with-dialog.c
==============================================================================
--- trunk/libnautilus-private/nautilus-open-with-dialog.c	(original)
+++ trunk/libnautilus-private/nautilus-open-with-dialog.c	Mon Oct 13 10:04:14 2008
@@ -242,9 +242,9 @@
 
 
 	if (dialog->details->content_type) {
-		success = g_app_info_set_as_default_for_type (app,
-							      dialog->details->content_type,
-							      &error);
+		success = g_app_info_add_supports_type (app,
+							dialog->details->content_type,
+							&error);
 	} else {
 		success = g_app_info_set_as_default_for_extension (app,
 								   dialog->details->extension,



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