pidgin/plugins/contact_priority.c

changeset 16575
c7f80fead80f
parent 16478
19107605c565
child 16788
417d0e8d6f3f
equal deleted inserted replaced
16529:1d0da9270ff9 16575:c7f80fead80f
78 GtkObject *adj = NULL; 78 GtkObject *adj = NULL;
79 GtkSizeGroup *sg = NULL; 79 GtkSizeGroup *sg = NULL;
80 PurpleAccount *account = NULL; 80 PurpleAccount *account = NULL;
81 int i; 81 int i;
82 82
83 gboolean last_match = purple_prefs_get_bool("/core/contact/last_match"); 83 gboolean last_match = purple_prefs_get_bool("/purple/contact/last_match");
84 84
85 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); 85 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
86 86
87 ret = gtk_vbox_new(FALSE, 18); 87 ret = gtk_vbox_new(FALSE, 18);
88 gtk_container_set_border_width(GTK_CONTAINER(ret), 12); 88 gtk_container_set_border_width(GTK_CONTAINER(ret), 12);
93 gtk_container_add(GTK_CONTAINER(frame), vbox); 93 gtk_container_add(GTK_CONTAINER(frame), vbox);
94 94
95 /* Status Spinboxes */ 95 /* Status Spinboxes */
96 for (i = 0 ; statuses[i].id != NULL && statuses[i].description != NULL ; i++) 96 for (i = 0 ; statuses[i].id != NULL && statuses[i].description != NULL ; i++)
97 { 97 {
98 char *pref = g_strconcat("/core/status/scores/", statuses[i].id, NULL); 98 char *pref = g_strconcat("/purple/status/scores/", statuses[i].id, NULL);
99 99
100 hbox = gtk_hbox_new(FALSE, 5); 100 hbox = gtk_hbox_new(FALSE, 5);
101 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 101 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
102 102
103 label = gtk_label_new_with_mnemonic(_(statuses[i].description)); 103 label = gtk_label_new_with_mnemonic(_(statuses[i].description));
122 hbox = gtk_hbox_new(FALSE, 5); 122 hbox = gtk_hbox_new(FALSE, 5);
123 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 123 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
124 124
125 check = gtk_check_button_new_with_label(_("Use last buddy when scores are equal")); 125 check = gtk_check_button_new_with_label(_("Use last buddy when scores are equal"));
126 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), last_match); 126 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), last_match);
127 g_signal_connect(G_OBJECT(check), "toggled", G_CALLBACK(pref_update), "/core/contact/last_match"); 127 g_signal_connect(G_OBJECT(check), "toggled", G_CALLBACK(pref_update), "/purple/contact/last_match");
128 gtk_box_pack_start(GTK_BOX(hbox), check, FALSE, FALSE, 0); 128 gtk_box_pack_start(GTK_BOX(hbox), check, FALSE, FALSE, 0);
129 129
130 frame = pidgin_make_frame(ret, _("Point values to use for account...")); 130 frame = pidgin_make_frame(ret, _("Point values to use for account..."));
131 131
132 vbox = gtk_vbox_new(FALSE, 5); 132 vbox = gtk_vbox_new(FALSE, 5);

mercurial