diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-25 21:17:23 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-27 21:25:01 +0800 |
commit | 2b16aef84141800099f859e72d05e1e6bf8e02dd (patch) | |
tree | b7168d8e9a4157a1f6733b0c667dd6239c5e0055 /shell/e-shell-window-actions.c | |
parent | 58166e645971a4812fef23702f45cacc8e64e419 (diff) | |
download | gsoc2013-evolution-2b16aef84141800099f859e72d05e1e6bf8e02dd.tar.gz gsoc2013-evolution-2b16aef84141800099f859e72d05e1e6bf8e02dd.tar.zst gsoc2013-evolution-2b16aef84141800099f859e72d05e1e6bf8e02dd.zip |
Cleanup and rename filter classes.
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 3eb25e23b5..46cb321248 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -702,7 +702,7 @@ static void action_custom_rule_cb (GtkAction *action, EShellWindow *shell_window) { - FilterRule *rule; + EFilterRule *rule; EShellView *shell_view; EShellContent *shell_content; const gchar *view_name; @@ -715,7 +715,7 @@ action_custom_rule_cb (GtkAction *action, shell_content = e_shell_view_get_shell_content (shell_view); rule = g_object_get_data (G_OBJECT (action), "rule"); - g_return_if_fail (IS_FILTER_RULE (rule)); + g_return_if_fail (E_IS_FILTER_RULE (rule)); e_shell_content_set_search_rule (shell_content, rule); @@ -2231,8 +2231,8 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) EShellContent *shell_content; EShellView *shell_view; EShellViewClass *shell_view_class; - RuleContext *context; - FilterRule *rule; + ERuleContext *context; + EFilterRule *rule; GtkUIManager *ui_manager; GtkActionGroup *action_group; const gchar *source; @@ -2247,7 +2247,7 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) shell_content = e_shell_view_get_shell_content (shell_view); context = e_shell_content_get_search_context (shell_content); shell_view_class = E_SHELL_VIEW_GET_CLASS (shell_view); - source = FILTER_SOURCE_INCOMING; + source = E_FILTER_SOURCE_INCOMING; /* Update sensitivity of search actions. */ @@ -2267,7 +2267,7 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) gtk_ui_manager_remove_ui (ui_manager, merge_id); e_action_group_remove_all_actions (action_group); - rule = rule_context_next_rule (context, NULL, source); + rule = e_rule_context_next_rule (context, NULL, source); while (rule != NULL) { GtkAction *action; gchar *action_name; @@ -2304,6 +2304,6 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) g_free (action_name); g_free (action_label); - rule = rule_context_next_rule (context, rule, source); + rule = e_rule_context_next_rule (context, rule, source); } } |