summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFelix Riemann <friemann@gnome.org>2015-02-12 20:45:18 +0100
committerFelix Riemann <friemann@gnome.org>2015-02-12 20:46:21 +0100
commita1be594ab735ad759214bd64203f7701a1940105 (patch)
treeb3a98dfbc8f26729d00662b6409a064f389a00ef /plugins
parentd7e0cd7d2b47ea5cb2ce776448d5809da78e3f16 (diff)
downloadeog-a1be594ab735ad759214bd64203f7701a1940105.tar.gz
reload: Fix typo causing the plugin to remove the wrong menu entries
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reload/eog-reload-plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/reload/eog-reload-plugin.c b/plugins/reload/eog-reload-plugin.c
index 5f81151c..3d9aca2f 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