Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 29807:a4167f67d118
*** Plucked rev df5196ac4c45dfff9cad5768c27d4e1d46fbb2ab (qulogic@pidgin.im):
Remove some deprecated functions, without extra changes this time.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 20 Feb 2010 04:53:17 +0000 |
parents | 2ad2e3490b23 |
children | f44718de8b06 97005a2e99d7 |
comparison
equal
deleted
inserted
replaced
29806:0aafa5cc2628 | 29807:a4167f67d118 |
---|---|
404 } | 404 } |
405 | 405 |
406 gtk_container_add(GTK_CONTAINER(button), bbox); | 406 gtk_container_add(GTK_CONTAINER(button), bbox); |
407 | 407 |
408 if (icon) { | 408 if (icon) { |
409 gtk_box_pack_start_defaults(GTK_BOX(bbox), ibox); | 409 gtk_box_pack_start(GTK_BOX(bbox), ibox, TRUE, TRUE, 0); |
410 image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_BUTTON); | 410 image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_BUTTON); |
411 gtk_box_pack_end(GTK_BOX(ibox), image, FALSE, TRUE, 0); | 411 gtk_box_pack_end(GTK_BOX(ibox), image, FALSE, TRUE, 0); |
412 } | 412 } |
413 | 413 |
414 if (text) { | 414 if (text) { |
415 gtk_box_pack_start_defaults(GTK_BOX(bbox), lbox); | 415 gtk_box_pack_start(GTK_BOX(bbox), lbox, TRUE, TRUE, 0); |
416 label = gtk_label_new(NULL); | 416 label = gtk_label_new(NULL); |
417 gtk_label_set_text_with_mnemonic(GTK_LABEL(label), text); | 417 gtk_label_set_text_with_mnemonic(GTK_LABEL(label), text); |
418 gtk_label_set_mnemonic_widget(GTK_LABEL(label), button); | 418 gtk_label_set_mnemonic_widget(GTK_LABEL(label), button); |
419 gtk_box_pack_start(GTK_BOX(lbox), label, FALSE, TRUE, 0); | 419 gtk_box_pack_start(GTK_BOX(lbox), label, FALSE, TRUE, 0); |
420 pidgin_set_accessible_label (button, label); | 420 pidgin_set_accessible_label (button, label); |