comparison src/conversation.c @ 4074:3ccbdf8e7f8d

[gaim-migrate @ 4289] Thanks Robot101 committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 14 Dec 2002 03:55:50 +0000
parents 133cf6424c53
children 042a1efb892a
comparison
equal deleted inserted replaced
4073:405340263d75 4074:3ccbdf8e7f8d
2811 if (!all_convos) { 2811 if (!all_convos) {
2812 GtkWidget *testidea; 2812 GtkWidget *testidea;
2813 win = all_convos = c->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); 2813 win = all_convos = c->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
2814 if ((convo_options & OPT_CONVO_COMBINE) && (chat_options & OPT_CHAT_ONE_WINDOW)) 2814 if ((convo_options & OPT_CONVO_COMBINE) && (chat_options & OPT_CHAT_ONE_WINDOW))
2815 all_chats = all_convos; 2815 all_chats = all_convos;
2816 gtk_window_set_wmclass(GTK_WINDOW(win), "conversation", "Gaim"); 2816 gtk_window_set_role(GTK_WINDOW(win), "conversation");
2817 gtk_window_set_policy(GTK_WINDOW(win), TRUE, TRUE, FALSE); 2817 gtk_window_set_policy(GTK_WINDOW(win), TRUE, TRUE, FALSE);
2818 gtk_container_border_width(GTK_CONTAINER(win), 0); 2818 gtk_container_border_width(GTK_CONTAINER(win), 0);
2819 gtk_widget_realize(win); 2819 gtk_widget_realize(win);
2820 gtk_window_set_title(GTK_WINDOW(win), _("Gaim - Conversations")); 2820 gtk_window_set_title(GTK_WINDOW(win), _("Gaim - Conversations"));
2821 gtk_signal_connect(GTK_OBJECT(win), "delete_event", 2821 gtk_signal_connect(GTK_OBJECT(win), "delete_event",
2881 gtk_widget_show(cont); 2881 gtk_widget_show(cont);
2882 } else { 2882 } else {
2883 cont = win = gtk_window_new(GTK_WINDOW_TOPLEVEL); 2883 cont = win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
2884 c->window = win; 2884 c->window = win;
2885 gtk_object_set_user_data(GTK_OBJECT(win), c); 2885 gtk_object_set_user_data(GTK_OBJECT(win), c);
2886 gtk_window_set_wmclass(GTK_WINDOW(win), "conversation", "Gaim"); 2886 gtk_window_set_role(GTK_WINDOW(win), "conversation");
2887 gtk_window_set_policy(GTK_WINDOW(win), TRUE, TRUE, TRUE); 2887 gtk_window_set_policy(GTK_WINDOW(win), TRUE, TRUE, TRUE);
2888 gtk_container_border_width(GTK_CONTAINER(win), 0); 2888 gtk_container_border_width(GTK_CONTAINER(win), 0);
2889 gtk_widget_realize(win); 2889 gtk_widget_realize(win);
2890 gtk_signal_connect(GTK_OBJECT(win), "delete_event", 2890 gtk_signal_connect(GTK_OBJECT(win), "delete_event",
2891 GTK_SIGNAL_FUNC(delete_event_convo), c); 2891 GTK_SIGNAL_FUNC(delete_event_convo), c);