# HG changeset patch # User Etan Reisner # Date 1132556195 0 # Node ID 92ba143044e65a7eba56470ffb94f9100da1338f # Parent d8042646da266328904ad999ffec65471b807176 [gaim-migrate @ 14481] I didn't know I could do this, that's neat. Thanks to the random patch I just saw which did this. committer: Tailor Script diff -r d8042646da26 -r 92ba143044e6 src/gtkblist.c --- a/src/gtkblist.c Mon Nov 21 04:00:56 2005 +0000 +++ b/src/gtkblist.c Mon Nov 21 06:56:35 2005 +0000 @@ -3359,10 +3359,8 @@ static gboolean pane_position_cb(GtkPaned *paned, GParamSpec *param_spec, gpointer data) { - if (!strcmp(g_param_spec_get_name(param_spec), "position")) { - gaim_prefs_set_int("/gaim/gtk/blist/pane", - gtk_paned_get_position(paned)); - } + gaim_prefs_set_int("/gaim/gtk/blist/pane", + gtk_paned_get_position(paned)); return FALSE; } @@ -3434,7 +3432,7 @@ gtk_box_pack_start(GTK_BOX(gtkblist->vbox), vpane, TRUE, TRUE, 0); gtk_paned_set_position(GTK_PANED(vpane), gaim_prefs_get_int("/gaim/gtk/blist/pane")); - g_signal_connect(G_OBJECT(vpane), "notify", + g_signal_connect(G_OBJECT(vpane), "notify::position", G_CALLBACK(pane_position_cb), NULL); /****************************** GtkTreeView **********************************/