[gedit-plugins] drawspaces: remove action upon deactivation
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] drawspaces: remove action upon deactivation
- Date: Sun, 30 Mar 2014 17:03:56 +0000 (UTC)
commit 17fd88571f918d24b8eb633724c3bce5895ab9dd
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Mar 30 19:02:28 2014 +0200
drawspaces: remove action upon deactivation
plugins/drawspaces/gedit-drawspaces-plugin.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/drawspaces/gedit-drawspaces-plugin.c b/plugins/drawspaces/gedit-drawspaces-plugin.c
index 8a40ae0..266ba66 100644
--- a/plugins/drawspaces/gedit-drawspaces-plugin.c
+++ b/plugins/drawspaces/gedit-drawspaces-plugin.c
@@ -318,6 +318,9 @@ gedit_drawspaces_plugin_window_deactivate (GeditWindowActivatable *activatable)
priv = GEDIT_DRAWSPACES_PLUGIN (activatable)->priv;
+ g_action_map_remove_action (G_ACTION_MAP (priv->window),
+ SETTINGS_KEY_SHOW_WHITE_SPACE);
+
priv->enable = FALSE;
draw_spaces (GEDIT_DRAWSPACES_PLUGIN (activatable));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]