mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
sysprof: setup various cursors
This makes it more obvious that you can select in the time scrubber.
This commit is contained in:
@ -288,6 +288,8 @@ sysprof_time_ruler_init (SysprofTimeRuler *self)
|
|||||||
G_CALLBACK (gtk_widget_queue_draw),
|
G_CALLBACK (gtk_widget_queue_draw),
|
||||||
self,
|
self,
|
||||||
G_CONNECT_SWAPPED);
|
G_CONNECT_SWAPPED);
|
||||||
|
|
||||||
|
gtk_widget_set_cursor_from_name (GTK_WIDGET (self), "text");
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
|
|||||||
@ -644,6 +644,9 @@ sysprof_time_scrubber_init (SysprofTimeScrubber *self)
|
|||||||
G_CONNECT_SWAPPED);
|
G_CONNECT_SWAPPED);
|
||||||
|
|
||||||
gtk_widget_init_template (GTK_WIDGET (self));
|
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 *
|
SysprofSession *
|
||||||
|
|||||||
Reference in New Issue
Block a user