diff -r 5a506dee26d2 -r abe9f4dad7fd pidgin/prefs/pidginconversationprefs.c --- a/pidgin/prefs/pidginconversationprefs.c Fri Oct 04 01:09:26 2024 -0500 +++ b/pidgin/prefs/pidginconversationprefs.c Mon Oct 14 00:51:46 2024 -0500 @@ -80,14 +80,22 @@ static void pidgin_conversation_prefs_init(PidginConversationPrefs *prefs) { + GSettings *settings = NULL; + gtk_widget_init_template(GTK_WIDGET(prefs)); + settings = g_settings_new_with_backend("im.pidgin.Purple.Conversations", + purple_core_get_settings_backend()); + g_settings_bind(settings, "send-typing-notifications", + prefs->im.send_typing, "active", G_SETTINGS_BIND_DEFAULT); + g_clear_object(&settings); + +#if 0 + /* TODO: Decide on whether to keep these preferences, and then port those + * to GSettings. */ pidgin_prefs_bind_switch(PIDGIN_PREFS_ROOT "/conversations/show_incoming_formatting", prefs->show_incoming_formatting); - pidgin_prefs_bind_switch("/purple/conversations/im/send_typing", - prefs->im.send_typing); - #ifdef _WIN32 pidgin_prefs_bind_switch(PIDGIN_PREFS_ROOT "/win32/blink_im", prefs->win32.blink_im); @@ -98,6 +106,7 @@ pidgin_prefs_bind_spin_button( PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines", prefs->minimum_entry_lines); +#endif } /******************************************************************************