GtkFileChooser: Use a better busy cursor

It is possible to interact with the file chooser while
things are loading, so use a cursor that indicates this,
if we have one.
This commit is contained in:
Matthias Clasen 2015-04-30 22:40:45 -04:00
parent 1432d23e98
commit 0113da4868

View File

@ -3454,7 +3454,11 @@ set_busy_cursor (GtkFileChooserWidget *impl,
display = gtk_widget_get_display (widget);
if (busy)
cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
{
cursor = gdk_cursor_new_from_name (display, "left_ptr_watch");
if (cursor == NULL)
cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
}
else
cursor = NULL;