summaryrefslogtreecommitdiff
path: root/plugins/keyboard
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-07-21 14:59:16 +0200
committerraveit65 <[email protected]>2017-09-02 08:18:47 +0200
commit0829ea9ff1ab052a95a6307137de61eba388e845 (patch)
treeaca2927a92ce9b57c580c8e35374fdfb120d361f /plugins/keyboard
parent392eb3dea2337bf35cb59917577ee52005f1ee80 (diff)
downloadmate-settings-daemon-0829ea9ff1ab052a95a6307137de61eba388e845.tar.bz2
mate-settings-daemon-0829ea9ff1ab052a95a6307137de61eba388e845.tar.xz
msd-keyboard-xkb: Fix Gdk-CRITICAL warning on creating status bar icon
Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed inspired from: https://git.xfce.org/apps/xfce4-terminal/commit/?id=eff5e2d
Diffstat (limited to 'plugins/keyboard')
-rw-r--r--plugins/keyboard/msd-keyboard-xkb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/keyboard/msd-keyboard-xkb.c b/plugins/keyboard/msd-keyboard-xkb.c
index 2b68818..7e90f1c 100644
--- a/plugins/keyboard/msd-keyboard-xkb.c
+++ b/plugins/keyboard/msd-keyboard-xkb.c
@@ -340,7 +340,8 @@ show_hide_icon ()
xkl_debug (150, "Creating new icon\n");
icon = matekbd_status_new ();
- gtk_status_icon_set_name (icon, "keyboard");
+ /* commenting out fixes a Gdk-critical warning */
+/* gtk_status_icon_set_name (icon, "keyboard");*/
g_signal_connect (icon, "popup-menu",
G_CALLBACK
(status_icon_popup_menu_cb),