sysprof: setup various cursors

This makes it more obvious that you can select in the time scrubber.
This commit is contained in:
Christian Hergert
2023-08-30 14:57:57 -07:00
parent fa8858ebcf
commit f1234280aa
2 changed files with 5 additions and 0 deletions

View File

@ -288,6 +288,8 @@ sysprof_time_ruler_init (SysprofTimeRuler *self)
G_CALLBACK (gtk_widget_queue_draw),
self,
G_CONNECT_SWAPPED);
gtk_widget_set_cursor_from_name (GTK_WIDGET (self), "text");
}
GtkWidget *

View File

@ -644,6 +644,9 @@ sysprof_time_scrubber_init (SysprofTimeScrubber *self)
G_CONNECT_SWAPPED);
gtk_widget_init_template (GTK_WIDGET (self));
gtk_widget_set_cursor_from_name (GTK_WIDGET (self), "text");
gtk_widget_set_cursor_from_name (GTK_WIDGET (self->zoom), "pointer");
}
SysprofSession *