• Marco Trevisan's avatar
    display: Don't always set the primary monitor to the first in list · 49957ef8
    Marco Trevisan authored
    As per the binding that we have between the list store and the combo-box, when
    the first element is added to the list-store, the combo box set this value as
    the selected-index, and this leads to a call to cc_display_monitor_set_primary
    which set the first-listed monitor as primary and unset the real primary monitor.
    
    To avoid this, just ignore the binding when rebuilding the UI, since in this
    phase control-center should just reflect the actual state without changing
    anything.
    
    Fixes GNOME/gnome-control-center#419
    49957ef8
Name
Last commit
Last update
.gitlab/issue_templates Loading commit data...
build-aux Loading commit data...
data/icons Loading commit data...
docs Loading commit data...
gettext/its Loading commit data...
man Loading commit data...
panels Loading commit data...
po Loading commit data...
search-provider Loading commit data...
shell Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
gnome-control-center.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...