~ubuntu-branches/ubuntu/lucid/empathy/lucid-updates

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-chat.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2010-04-09 15:07:58 UTC
  • mfrom: (1.1.52 upstream)
  • Revision ID: james.westby@ubuntu.com-20100409150758-dzc1z2r690p28ort
Tags: 2.30.0.1-0ubuntu1
* New upstream version 
  - empathy crashed with SIGSEGV in g_closure_invoke() (LP: #527296)
  - contact list is empty for a jabber account with a lot of 
    contacts (LP: #539023)
  - Join room should be greyed out for AIM (LP: #540525)
  - Previous/Next Tab menu items aren't disabled if at the first/last tab 
    and gtk-keynav-wrap-around is 0
  - empathy incorrectly updates our own IRC nick for /me
  - Shouldn't request RoomList channel if not supported by connection
  - account-chooser crashes when setting a filter and has-all-option to TRUE
  - empathy crashed with SIGSEGV in g_object_unref() (LP: #556977)
  - Wrong account name when using the assistant 
  - Empathy fails to initiate a audio/video call over XMPP
* debian/patches/20_libindicate.patch
  - Ported patch to remove NotificationData, removed upstream
* debian/patches/32_append_notifications.patch
  - Ported patch to remove NotificationData, removed upstream
* debian/patches/21_login_indicators.patch
  - Only display indicator for signon events if the preference 
    is set (LP: #533857)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1244
1244
chat_input_text_buffer_changed_cb (GtkTextBuffer *buffer,
1245
1245
                                   EmpathyChat    *chat)
1246
1246
{
1247
 
        EmpathyChatPriv *priv;
1248
1247
        GtkTextIter     start, end;
1249
1248
        gchar          *str;
1250
1249
        gboolean        spell_checker = FALSE;
1251
1250
 
1252
 
        priv = GET_PRIV (chat);
1253
 
 
1254
1251
        if (gtk_text_buffer_get_char_count (buffer) == 0) {
1255
1252
                chat_composing_stop (chat);
1256
1253
        } else {
2255
2252
                          G_CALLBACK (chat_input_populate_popup_cb),
2256
2253
                          chat);
2257
2254
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (chat->input_text_view));
2258
 
        g_signal_connect (buffer, "changed",
 
2255
        empathy_signal_connect_weak  (buffer, "changed",
2259
2256
                          G_CALLBACK (chat_input_text_buffer_changed_cb),
2260
 
                          chat);
 
2257
                          G_OBJECT (chat));
2261
2258
        gtk_text_buffer_create_tag (buffer, "misspelled",
2262
2259
                                    "underline", PANGO_UNDERLINE_ERROR,
2263
2260
                                    NULL);