After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681906 - prefs: Update overlay-key on settings changes
prefs: Update overlay-key on settings changes
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-15 11:07 UTC by Florian Müllner
Modified: 2012-08-16 07:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
prefs: Update overlay-key on settings changes (5.09 KB, patch)
2012-08-15 11:07 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2012-08-15 11:07:22 UTC
See patch.
Comment 1 Florian Müllner 2012-08-15 11:07:24 UTC
Created attachment 221247 [details] [review]
prefs: Update overlay-key on settings changes

When changing the overlay-key setting, the change only takes effect
on restart - there are actually two bugs involved:
  (1) the test whether the key has changed is located in the
      else part of a test for string settings (and overlay-key happens
      to be a string settings ...)
  (2) with (1) fixed, a change signal is emitted, which triggers a
      reload of all keybindings - unfortunately, the actual value
      of overlay-key is only read on startup, so the key is reloaded
      using the old value
Fix both issues by replacing the custom handling of the overlay-key
with the regular handling of string preferences.
Comment 2 Jasper St. Pierre (not reading bugmail) 2012-08-15 13:15:52 UTC
Review of attachment 221247 [details] [review]:

Sure.
Comment 3 Florian Müllner 2012-08-16 07:42:30 UTC
Attachment 221247 [details] pushed as 802c1ac - prefs: Update overlay-key on settings changes