comparison src/prpl.c @ 4889:f7150929332b

[gaim-migrate @ 5219] Fix a lil ko.po problem some people with weird gettexts had. Swap the "Open Mail" and "Close" buttons on the mail notification dialog. Is this more HIGgish? If not, lemme know and I'll burninate. I took out lots of aim_conn_t's from ssi.c in favor of looking up the connection from the session when it is needed. I like this way better, and I've been slowly moving towards it. Added some code used for uploading icons. I haven't gotten it to work yet. I'm still not exactly sure what I'm supposed to be doing. 'twould be nice if Windows AIM still did this correctly. 'twould be nice to have that kind of job security. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 25 Mar 2003 05:01:00 +0000
parents 5b24e8e52e4a
children 54cd43869333
comparison
equal deleted inserted replaced
4888:912294585edf 4889:f7150929332b
519 519
520 hbox = gtk_hbox_new(FALSE, 5); 520 hbox = gtk_hbox_new(FALSE, 5);
521 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 521 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
522 gtk_widget_show(hbox); 522 gtk_widget_show(hbox);
523 523
524 close = picture_button(mn->email_win, _("Close"), cancel_xpm);
525 gtk_window_set_focus(GTK_WINDOW(mn->email_win), close);
526 gtk_box_pack_end(GTK_BOX(hbox), close, 0, 0, 5);
527 g_signal_connect(GTK_OBJECT(close), "clicked", G_CALLBACK(des_email_win), mn);
528
529 if (url) { 524 if (url) {
530 mn->url = g_strdup(url); 525 mn->url = g_strdup(url);
531 urlbut = picture_button(mn->email_win, _("Open Mail"), tb_forward_xpm); 526 urlbut = picture_button(mn->email_win, _("Open Mail"), tb_forward_xpm);
532 gtk_box_pack_end(GTK_BOX(hbox), urlbut, 0, 0, 5); 527 gtk_box_pack_end(GTK_BOX(hbox), urlbut, 0, 0, 5);
533 g_signal_connect(GTK_OBJECT(urlbut), "clicked", G_CALLBACK(open_url), mn->url); 528 g_signal_connect(GTK_OBJECT(urlbut), "clicked", G_CALLBACK(open_url), mn->url);
534 g_signal_connect(GTK_OBJECT(urlbut), "clicked", G_CALLBACK(des_email_win), mn); 529 g_signal_connect(GTK_OBJECT(urlbut), "clicked", G_CALLBACK(des_email_win), mn);
535 } 530 }
531
532 close = picture_button(mn->email_win, _("Close"), cancel_xpm);
533 gtk_window_set_focus(GTK_WINDOW(mn->email_win), close);
534 gtk_box_pack_end(GTK_BOX(hbox), close, 0, 0, 5);
535 g_signal_connect(GTK_OBJECT(close), "clicked", G_CALLBACK(des_email_win), mn);
536 536
537 gtk_widget_show(mn->email_win); 537 gtk_widget_show(mn->email_win);
538 } 538 }
539 539
540 struct icon_data { 540 struct icon_data {