gdesktopappinfo: Fix copy/paste typo from e24e89b
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 15 Oct 2014 02:14:01 +0000 (19:14 -0700)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 15 Oct 2014 02:17:53 +0000 (19:17 -0700)
Commit e24e89b accidentally ironically introduced a typo when replacing
the code with symbolic contents. Specifically, "Added Associations" was
replaced with "Default Applications" when reading defaults.list, giving
a warning about the file containing a "Default Applications" group.

If this was intended, it should have not been lumped in with a cleanup.

gio/gdesktopappinfo.c

index 74f6acc..7bfc904 100644 (file)
@@ -897,7 +897,7 @@ desktop_file_dir_unindexed_read_mimeapps_lists (DesktopFileDir *dir)
    * version.
    */
   filename = g_strdup_printf ("%s/defaults.list", dir->path);
-  desktop_file_dir_unindexed_read_mimeapps_list (dir, filename, DEFAULT_APPLICATIONS_GROUP, FALSE);
+  desktop_file_dir_unindexed_read_mimeapps_list (dir, filename, ADDED_ASSOCIATIONS_GROUP, FALSE);
   g_free (filename);
 
   /* Finally, the mimeinfo.cache, which is just a cached copy of what we