pidgin/gtkprefs.c

branch
release-2.4.3
changeset 23186
a95988e1a660
parent 22984
0242b0a1e444
child 23261
dd500ffc2cbc
equal deleted inserted replaced
23185:33723befdd4e 23186:a95988e1a660
877 * will fail. We don't ever lock any accelerator paths, so this case 877 * will fail. We don't ever lock any accelerator paths, so this case
878 * should never arise. 878 * should never arise.
879 */ 879 */
880 if(!changed) 880 if(!changed)
881 purple_debug_warning("gtkprefs", "Escape accel failed to change\n"); 881 purple_debug_warning("gtkprefs", "Escape accel failed to change\n");
882
883 /* TODO: create pidgin_accels_schedule_save */
884 pidgin_save_accels_cb(NULL, 0, 0, NULL, NULL);
885 } 882 }
886 883
887 884
888 /* Creates preferences for keyboard shortcuts that it's hard to change with the 885 /* Creates preferences for keyboard shortcuts that it's hard to change with the
889 * standard Gtk accelerator-changing mechanism. 886 * standard Gtk accelerator-changing mechanism.
917 accel_is_escape(&current)); 914 accel_is_escape(&current));
918 915
919 escape_closes_conversation_cb_id = g_signal_connect(checkbox, 916 escape_closes_conversation_cb_id = g_signal_connect(checkbox,
920 "clicked", G_CALLBACK(escape_closes_conversation_cb), NULL); 917 "clicked", G_CALLBACK(escape_closes_conversation_cb), NULL);
921 918
922 g_signal_connect(map, "changed::" CONVERSATION_CLOSE_ACCEL_PATH, 919 g_signal_connect_object(map, "changed::" CONVERSATION_CLOSE_ACCEL_PATH,
923 G_CALLBACK(conversation_close_accel_changed_cb), checkbox); 920 G_CALLBACK(conversation_close_accel_changed_cb), checkbox, (GConnectFlags)0);
924 921
925 gtk_box_pack_start(GTK_BOX(vbox), checkbox, FALSE, FALSE, 0); 922 gtk_box_pack_start(GTK_BOX(vbox), checkbox, FALSE, FALSE, 0);
926 } 923 }
927 924
928 static GtkWidget * 925 static GtkWidget *

mercurial