[eog] reload: Fix typo causing the plugin to remove the wrong menu entries
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] reload: Fix typo causing the plugin to remove the wrong menu entries
- Date: Thu, 12 Feb 2015 19:46:37 +0000 (UTC)
commit a1be594ab735ad759214bd64203f7701a1940105
Author: Felix Riemann <friemann gnome org>
Date: Thu Feb 12 20:45:18 2015 +0100
reload: Fix typo causing the plugin to remove the wrong menu entries
plugins/reload/eog-reload-plugin.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/reload/eog-reload-plugin.c b/plugins/reload/eog-reload-plugin.c
index 5f81151..3d9aca2 100644
--- a/plugins/reload/eog-reload-plugin.c
+++ b/plugins/reload/eog-reload-plugin.c
@@ -188,7 +188,7 @@ eog_reload_plugin_deactivate (EogWindowActivatable *activatable)
gchar *id;
if (g_menu_model_get_item_attribute (model, i, "id", "s", &id)) {
const gboolean found =
- (g_strcmp0 (id, EOG_RELOAD_PLUGIN_MENU_ID) != 0);
+ (g_strcmp0 (id, EOG_RELOAD_PLUGIN_MENU_ID) == 0);
g_free (id);
if (found) {
@@ -206,7 +206,6 @@ eog_reload_plugin_deactivate (EogWindowActivatable *activatable)
/* Finally remove action */
g_action_map_remove_action (G_ACTION_MAP (plugin->window),
EOG_RELOAD_PLUGIN_ACTION);
-
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]