Mercurial > pidgin.yaz
comparison pidgin/gtkprivacy.c @ 15507:311315e979f7
gtkutils changes
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 03 Feb 2007 08:45:32 +0000 |
parents | d75099d2567e |
children | 535f002e7b0f |
comparison
equal
deleted
inserted
replaced
15506:e4c39e261389 | 15507:311315e979f7 |
---|---|
401 /* Accounts drop-down */ | 401 /* Accounts drop-down */ |
402 dropdown = pidgin_account_option_menu_new(NULL, FALSE, | 402 dropdown = pidgin_account_option_menu_new(NULL, FALSE, |
403 G_CALLBACK(select_account_cb), NULL, dialog); | 403 G_CALLBACK(select_account_cb), NULL, dialog); |
404 gtk_box_pack_start(GTK_BOX(hbox), dropdown, FALSE, FALSE, 0); | 404 gtk_box_pack_start(GTK_BOX(hbox), dropdown, FALSE, FALSE, 0); |
405 gtk_widget_show(dropdown); | 405 gtk_widget_show(dropdown); |
406 gaim_set_accessible_label (dropdown, label); | 406 pidgin_set_accessible_label (dropdown, label); |
407 dialog->account = pidgin_account_option_menu_get_selected(dropdown); | 407 dialog->account = pidgin_account_option_menu_get_selected(dropdown); |
408 | 408 |
409 /* Add the drop-down list with the allow/block types. */ | 409 /* Add the drop-down list with the allow/block types. */ |
410 dialog->type_menu = gtk_option_menu_new(); | 410 dialog->type_menu = gtk_option_menu_new(); |
411 gtk_box_pack_start(GTK_BOX(vbox), dialog->type_menu, FALSE, FALSE, 0); | 411 gtk_box_pack_start(GTK_BOX(vbox), dialog->type_menu, FALSE, FALSE, 0); |
413 | 413 |
414 /* Build the menu for that. */ | 414 /* Build the menu for that. */ |
415 menu = gtk_menu_new(); | 415 menu = gtk_menu_new(); |
416 | 416 |
417 for (i = 0; i < menu_entry_count; i++) { | 417 for (i = 0; i < menu_entry_count; i++) { |
418 gaim_new_item(menu, _(menu_entries[i].text)); | 418 pidgin_new_item(menu, _(menu_entries[i].text)); |
419 | 419 |
420 if (menu_entries[i].num == dialog->account->perm_deny) | 420 if (menu_entries[i].num == dialog->account->perm_deny) |
421 selected = i; | 421 selected = i; |
422 } | 422 } |
423 | 423 |