mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: fix can-replay notification
Otherwise we don't get this until we switch tabs.
This commit is contained in:
@ -124,6 +124,7 @@ sysprof_display_profiler_failed_cb (SysprofDisplay *self,
|
|||||||
|
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_RECORDING]);
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_RECORDING]);
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_TITLE]);
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_TITLE]);
|
||||||
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CAN_REPLAY]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -869,6 +870,8 @@ sysprof_display_scan_finish (SysprofDisplay *self,
|
|||||||
(const SysprofMarkStat *)(gpointer)marks->data,
|
(const SysprofMarkStat *)(gpointer)marks->data,
|
||||||
marks->len);
|
marks->len);
|
||||||
|
|
||||||
|
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_CAN_REPLAY]);
|
||||||
|
|
||||||
return g_task_propagate_boolean (G_TASK (result), error);
|
return g_task_propagate_boolean (G_TASK (result), error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user