diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 21:40:16 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 21:56:38 +0800 |
commit | 87f41f93a0c79b428e0eff6f9f843fce005b82ae (patch) | |
tree | 794474b3a25b6901cb5e8f942805774a52f13198 /src | |
parent | 7f2b924f50433a6240bb8feaf95b423cb6124b12 (diff) | |
download | gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar.gz gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar.bz2 gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar.lz gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar.xz gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.tar.zst gsoc2013-empathy-87f41f93a0c79b428e0eff6f9f843fce005b82ae.zip |
Stop using EmpathyChatView
https://bugzilla.gnome.org/show_bug.cgi?id=679255
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-chat-window.c | 2 | ||||
-rw-r--r-- | src/empathy-preferences.c | 8 |
2 files changed, 5 insertions, 5 deletions
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); |