[gtk+/wip/matthiasc/monitor] inspector: Show primary too
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/monitor] inspector: Show primary too
- Date: Sun, 3 Apr 2016 14:52:19 +0000 (UTC)
commit bdb891c015bdfef6b5c07623bff8f464b609c9f4
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 3 10:50:35 2016 -0400
inspector: Show primary too
gtk/inspector/general.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index e03b7d9..57f5543 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -411,6 +411,8 @@ populate_display (GdkScreen *screen, GtkInspectorGeneral *gen)
add_label_row (gen, list, "Size", value, 10);
g_free (value);
+ add_check_row (gen, list, "Primary", gdk_monitor_is_primary (monitors[i]), 10);
+
if (gdk_monitor_get_refresh_rate (monitors[i]) != 0)
value = g_strdup_printf ("%.2f mHz",
0.001 * gdk_monitor_get_refresh_rate (monitors[i]));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]