comparison pidgin/gtkimhtmltoolbar.c @ 27766:056fb36a5770

propagate from branch 'im.pidgin.pidgin' (head 7a8f58fc7611c332a05ed1c1b8417be24c9cf981) to branch 'im.pidgin.pidgin.yaz' (head 9937b0516237dfce73c86fd0407e37b0619e3037)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 20 Feb 2008 06:56:39 +0000
parents e9cf897bd873
children f9fd7ddf6996
comparison
equal deleted inserted replaced
22313:42724bd41274 27766:056fb36a5770
1302 gtk_button_set_relief(GTK_BUTTON(smiley_button), GTK_RELIEF_NONE); 1302 gtk_button_set_relief(GTK_BUTTON(smiley_button), GTK_RELIEF_NONE);
1303 bbox = gtk_hbox_new(FALSE, 3); 1303 bbox = gtk_hbox_new(FALSE, 3);
1304 gtk_container_add(GTK_CONTAINER(smiley_button), bbox); 1304 gtk_container_add(GTK_CONTAINER(smiley_button), bbox);
1305 image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SMILEY, gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL)); 1305 image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SMILEY, gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL));
1306 gtk_box_pack_start(GTK_BOX(bbox), image, FALSE, FALSE, 0); 1306 gtk_box_pack_start(GTK_BOX(bbox), image, FALSE, FALSE, 0);
1307 label = gtk_label_new_with_mnemonic(_("_Smile!")); 1307 label = gtk_label_new_with_mnemonic(_("Smile!"));
1308 gtk_box_pack_start(GTK_BOX(bbox), label, FALSE, FALSE, 0); 1308 gtk_box_pack_start(GTK_BOX(bbox), label, FALSE, FALSE, 0);
1309 gtk_box_pack_start(GTK_BOX(box), smiley_button, FALSE, FALSE, 0); 1309 gtk_box_pack_start(GTK_BOX(box), smiley_button, FALSE, FALSE, 0);
1310 g_signal_connect_swapped(G_OBJECT(smiley_button), "clicked", G_CALLBACK(gtk_button_clicked), toolbar->smiley); 1310 g_signal_connect_swapped(G_OBJECT(smiley_button), "clicked", G_CALLBACK(gtk_button_clicked), toolbar->smiley);
1311 gtk_widget_show_all(smiley_button); 1311 gtk_widget_show_all(smiley_button);
1312 1312