Commit cc08a965 authored by Emmanuele Bassi's avatar Emmanuele Bassi

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
parent bccef4e4
...@@ -1272,9 +1272,9 @@ gtk_recent_manager_move_item (GtkRecentManager *recent_manager, ...@@ -1272,9 +1272,9 @@ gtk_recent_manager_move_item (GtkRecentManager *recent_manager,
g_error_free (move_error); g_error_free (move_error);
g_set_error (error, GTK_RECENT_MANAGER_ERROR, g_set_error (error, GTK_RECENT_MANAGER_ERROR,
GTK_RECENT_MANAGER_ERROR_NOT_FOUND, GTK_RECENT_MANAGER_ERROR_UNKNOWN,
_("Unable to find an item with URI '%s'"), _("Unable to move the item with URI '%s' to '%s'"),
uri); uri, new_uri);
return FALSE; return FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment