forked from AuroraMiddleware/gtk
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:
parent
1432d23e98
commit
0113da4868
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user