recent-manager: Fix the error domain and message on move_item()
Using NOT_FOUND when moving is wrong and unhelpful. https://bugzilla.gnome.org/show_bug.cgi?id=620065
This commit is contained in:
		| @ -1272,9 +1272,9 @@ gtk_recent_manager_move_item (GtkRecentManager  *recent_manager, | ||||
|       g_error_free (move_error); | ||||
|  | ||||
|       g_set_error (error, GTK_RECENT_MANAGER_ERROR, | ||||
|                    GTK_RECENT_MANAGER_ERROR_NOT_FOUND, | ||||
|                    _("Unable to find an item with URI '%s'"), | ||||
|                    uri); | ||||
|                    GTK_RECENT_MANAGER_ERROR_UNKNOWN, | ||||
|                    _("Unable to move the item with URI '%s' to '%s'"), | ||||
|                    uri, new_uri); | ||||
|       return FALSE; | ||||
|     } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Emmanuele Bassi
					Emmanuele Bassi