cpw.qulogic.gtk3: b7f24ef1: Restore loading and saving of accels, wh...

qulogic at pidgin.im qulogic at pidgin.im
Mon Feb 27 18:12:25 EST 2012


----------------------------------------------------------------------
Revision: b7f24ef1107236f9b7de9fa7bc7ea5b192919069
Parent:   9f79695c3e48e0a4e83e4b78b9ca33a462cd05ce
Author:   qulogic at pidgin.im
Date:     02/26/12 02:40:21
Branch:   im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/b7f24ef1107236f9b7de9fa7bc7ea5b192919069

Changelog: 

Restore loading and saving of accels, which was lost at some point.

Changes against parent 9f79695c3e48e0a4e83e4b78b9ca33a462cd05ce

  patched  pidgin/gtkblist.c

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	415b4fba7341a7bf08081cfd761a99a96eac8767
+++ pidgin/gtkblist.c	8686cb9c3b8774fd4666f1d32a7903cf8daef15f
@@ -5871,6 +5871,8 @@ static void pidgin_blist_show(PurpleBudd
 
 	accel_group = gtk_ui_manager_get_accel_group(gtkblist->ui);
 	gtk_window_add_accel_group(GTK_WINDOW(gtkblist->window), accel_group);
+	pidgin_load_accels();
+	g_signal_connect(G_OBJECT(accel_group), "accel-changed", G_CALLBACK(pidgin_save_accels_cb), NULL);
 
 	error = NULL;
 	if (!gtk_ui_manager_add_ui_from_string(gtkblist->ui, blist_menu, -1, &error))


More information about the Commits mailing list