[sysprof/wip/chergert/sysprof-3] libsysprof-ui: check current page when checking if empty
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: check current page when checking if empty
- Date: Tue, 21 May 2019 04:44:05 +0000 (UTC)
commit a77f89df6005bcadb681519faf96c3fec641493e
Author: Christian Hergert <chergert redhat com>
Date: Mon May 20 21:43:54 2019 -0700
libsysprof-ui: check current page when checking if empty
src/libsysprof-ui/sysprof-display.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libsysprof-ui/sysprof-display.c b/src/libsysprof-ui/sysprof-display.c
index 45cc6a3..88f737e 100644
--- a/src/libsysprof-ui/sysprof-display.c
+++ b/src/libsysprof-ui/sysprof-display.c
@@ -421,6 +421,7 @@ sysprof_display_is_empty (SysprofDisplay *self)
return priv->file == NULL &&
priv->profiler == NULL &&
+ gtk_stack_get_visible_child (priv->stack) == GTK_WIDGET (priv->assistant) &&
NULL == sysprof_capture_view_get_reader (priv->capture_view);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]