i = katze_array_get_item_index (search_engines, item);
katze_array_move_item (search_engines, item, i - 1);
+ /* If the index of the current item has changed it needs to be reset */
+ g_object_notify (G_OBJECT (search_action), "current-item");
}
gtk_tree_path_free (path);
}
i = katze_array_get_item_index (search_engines, item);
katze_array_move_item (search_engines, item, i + 1);
+ /* If the index of the current item has changed it needs to be reset */
+ g_object_notify (G_OBJECT (search_action), "current-item");
}
}
}