From 87f41f93a0c79b428e0eff6f9f843fce005b82ae Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 2 Jul 2012 15:40:16 +0200 Subject: Stop using EmpathyChatView https://bugzilla.gnome.org/show_bug.cgi?id=679255 --- src/empathy-chat-window.c | 2 +- src/empathy-preferences.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 69a6f4b11..f88db3c6c 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -1259,7 +1259,7 @@ chat_window_edit_activate_cb (GtkAction *action, } else { gboolean selection; - selection = empathy_chat_view_get_has_selection (priv->current_chat->view); + selection = empathy_theme_adium_get_has_selection (priv->current_chat->view); gtk_action_set_sensitive (priv->menu_edit_cut, FALSE); gtk_action_set_sensitive (priv->menu_edit_copy, selection); diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c index df5e39187..0c9968631 100644 --- a/src/empathy-preferences.c +++ b/src/empathy-preferences.c @@ -75,7 +75,7 @@ struct _EmpathyPreferencesPriv { GtkWidget *combobox_chat_theme_variant; GtkWidget *hbox_chat_theme_variant; GtkWidget *sw_chat_theme_preview; - EmpathyChatView *chat_theme_preview; + EmpathyThemeAdium *chat_theme_preview; EmpathyThemeManager *theme_manager; GSettings *gsettings; @@ -584,7 +584,7 @@ preferences_languages_cell_toggled_cb (GtkCellRendererToggle *cell, } static void -preferences_preview_theme_append_message (EmpathyChatView *view, +preferences_preview_theme_append_message (EmpathyThemeAdium *view, EmpathyContact *sender, EmpathyContact *receiver, const gchar *text, @@ -598,7 +598,7 @@ preferences_preview_theme_append_message (EmpathyChatView *view, "body", text, NULL); - empathy_chat_view_append_message (view, message, should_highlight); + empathy_theme_adium_append_message (view, message, should_highlight); g_object_unref (message); } @@ -661,7 +661,7 @@ preferences_preview_theme_changed_cb (EmpathyThemeManager *manager, romeo, juliet, _("Shall I hear more, or shall I speak at this?"), FALSE); /* translators: Quote from Romeo & Julier, for chat theme preview */ - empathy_chat_view_append_event (priv->chat_theme_preview, _("Juliet has disconnected")); + empathy_theme_adium_append_event (priv->chat_theme_preview, _("Juliet has disconnected")); g_object_unref (juliet); g_object_unref (romeo); -- cgit v1.2.3