mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
libsysprof-ui: avoid splashing the assistant view
This commit is contained in:
@ -1107,6 +1107,12 @@ sysprof_display_open (SysprofDisplay *self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Jump right to the "view" page to avoid a quick view of the
|
||||||
|
* assistants page when loading.
|
||||||
|
*/
|
||||||
|
if (g_strcmp0 ("assistant", gtk_stack_get_visible_child_name (priv->stack)) == 0)
|
||||||
|
gtk_stack_set_visible_child_name (priv->stack, "view");
|
||||||
|
|
||||||
sysprof_display_load_async (self, reader, NULL, NULL, NULL);
|
sysprof_display_load_async (self, reader, NULL, NULL, NULL);
|
||||||
update_title_child_property (self);
|
update_title_child_property (self);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user