forked from AuroraMiddleware/gtk
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:
parent
bccef4e41a
commit
cc08a965be
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user