nautilus r14723 - in branches/gnome-2-24: . libnautilus-private



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

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

	Merged from trunk:

        * 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:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c

Modified: branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c
==============================================================================
--- branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c	(original)
+++ branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c	Mon Oct 13 10:09:00 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]