display: Separate interlaced from normal modes
https://bugzilla.gnome.org/show_bug.cgi?id=763833
This commit is contained in:
parent
2e45eeaa36
commit
e9b70c2efa
2 changed files with 4 additions and 3 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Reference in a new issue