Commit e9b70c2e authored by Rui Matos's avatar Rui Matos

display: Separate interlaced from normal modes

https://bugzilla.gnome.org/show_bug.cgi?id=763833
parent 2e45eeaa
......@@ -96,7 +96,7 @@ NETWORK_MANAGER_REQUIRED_VERSION=0.9.8
NETWORK_MANAGER_APPLET_REQUIRED_VERSION=0.9.7.995
MODEM_MANAGER_REQUIRED_VERSION=0.7
LIBNOTIFY_REQUIRED_VERSION=0.7.3
GNOME_DESKTOP_REQUIRED_VERSION=3.19.93
GNOME_DESKTOP_REQUIRED_VERSION=3.21.2
SCHEMAS_REQUIRED_VERSION=3.19.3
LIBWACOM_REQUIRED_VERSION=0.7
CLUTTER_REQUIRED_VERSION=1.11.3
......
......@@ -1661,11 +1661,12 @@ make_resolution_string (GnomeRRMode *mode)
gint width = gnome_rr_mode_get_width (mode);
gint height = gnome_rr_mode_get_height (mode);
const char *aspect = make_aspect_string (width, height);
const char *interlaced = gnome_rr_mode_get_is_interlaced (mode) ? "i" : "";
if (aspect != NULL)
return g_strdup_printf ("%d × %d (%s)", width, height, aspect);
return g_strdup_printf ("%d × %d%s (%s)", width, height, interlaced, aspect);
else
return g_strdup_printf ("%d × %d", width, height);
return g_strdup_printf ("%d × %d%s", width, height, interlaced);
}
static GtkWidget *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment