comparison src/server.c @ 5024:8e55a4d362a3

[gaim-migrate @ 5361] Patch by Rob McQueen, NEWS and CREDITS updates. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 05 Apr 2003 05:01:47 +0000
parents 73aef6d0f497
children cb700c07ee07
comparison
equal deleted inserted replaced
5023:e218d2d2b7e9 5024:8e55a4d362a3
34 #include "gtkimhtml.h" 34 #include "gtkimhtml.h"
35 #include "prpl.h" 35 #include "prpl.h"
36 #include "multi.h" 36 #include "multi.h"
37 #include "gaim.h" 37 #include "gaim.h"
38 #include "sound.h" 38 #include "sound.h"
39
40 #include "pixmaps/cancel.xpm"
41 #include "pixmaps/tb_search.xpm"
42
43 #include "pounce.h" 39 #include "pounce.h"
44 40
45 void serv_login(struct gaim_account *account) 41 void serv_login(struct gaim_account *account)
46 { 42 {
47 struct prpl *p = find_prpl(account->protocol); 43 struct prpl *p = find_prpl(account->protocol);
1237 gaim_setup_imhtml(text); 1233 gaim_setup_imhtml(text);
1238 1234
1239 hbox = gtk_hbox_new(FALSE, 5); 1235 hbox = gtk_hbox_new(FALSE, 5);
1240 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); 1236 gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
1241 1237
1242 button = picture_button(window, _("Close"), cancel_xpm); 1238 button = gaim_pixbuf_button_from_stock(_("Close"), GTK_STOCK_CLOSE, GAIM_BUTTON_HORIZONTAL);
1243 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5); 1239 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5);
1244 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(des_popup), window); 1240 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(des_popup), window);
1245 1241
1246 button = picture_button(window, _("More Info"), tb_search_xpm); 1242 button = gaim_pixbuf_button_from_stock(_("More Info"), GTK_STOCK_FIND, GAIM_BUTTON_HORIZONTAL);
1247 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5); 1243 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5);
1248 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(open_url), url); 1244 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(open_url), url);
1249 1245
1250 gtk_widget_show_all(window); 1246 gtk_widget_show_all(window);
1251 1247