Mercurial > pidgin.yaz
comparison pidgin/gtkconv.c @ 21099:51cf02dbdb0e
disapproval of revision 'c484d979c4fda4433a9633ff8b69bd8a395c9479'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 16 Nov 2007 23:30:03 +0000 |
parents | cab348e39751 |
children | fcb848b2d669 |
comparison
equal
deleted
inserted
replaced
21095:cab348e39751 | 21099:51cf02dbdb0e |
---|---|
1027 for (c = buf ; *c ; c++) | 1027 for (c = buf ; *c ; c++) |
1028 { | 1028 { |
1029 if (*c == '/' || *c == '\\') | 1029 if (*c == '/' || *c == '\\') |
1030 *c = ' '; | 1030 *c = ' '; |
1031 } | 1031 } |
1032 purple_request_file_with_hint(PIDGIN_CONVERSATION(conv), _("Save Conversation"), | 1032 purple_request_file(PIDGIN_CONVERSATION(conv), _("Save Conversation"), |
1033 buf, | 1033 buf, |
1034 TRUE, G_CALLBACK(savelog_writefile_cb), NULL, | 1034 TRUE, G_CALLBACK(savelog_writefile_cb), NULL, |
1035 NULL, NULL, conv, | 1035 NULL, NULL, conv, |
1036 "conversation", conv); | 1036 conv); |
1037 | 1037 |
1038 g_free(buf); | 1038 g_free(buf); |
1039 } | 1039 } |
1040 | 1040 |
1041 static void | 1041 static void |
1079 for (cur = buddies; cur != NULL; cur = cur->next) | 1079 for (cur = buddies; cur != NULL; cur = cur->next) |
1080 { | 1080 { |
1081 PurpleBlistNode *node = cur->data; | 1081 PurpleBlistNode *node = cur->data; |
1082 if ((node != NULL) && ((node->prev != NULL) || (node->next != NULL))) | 1082 if ((node != NULL) && ((node->prev != NULL) || (node->next != NULL))) |
1083 { | 1083 { |
1084 pidgin_log_show_contact_with_parent(GTK_WINDOW(win->window), (PurpleContact *)node->parent); | 1084 pidgin_log_show_contact((PurpleContact *)node->parent); |
1085 g_slist_free(buddies); | 1085 g_slist_free(buddies); |
1086 gdk_window_set_cursor(gtkblist->window->window, NULL); | 1086 gdk_window_set_cursor(gtkblist->window->window, NULL); |
1087 gdk_window_set_cursor(win->window->window, NULL); | 1087 gdk_window_set_cursor(win->window->window, NULL); |
1088 return; | 1088 return; |
1089 } | 1089 } |
1090 } | 1090 } |
1091 g_slist_free(buddies); | 1091 g_slist_free(buddies); |
1092 | 1092 |
1093 pidgin_log_show_with_parent(GTK_WINDOW(win->window), type, name, account); | 1093 pidgin_log_show(type, name, account); |
1094 | 1094 |
1095 gdk_window_set_cursor(gtkblist->window->window, NULL); | 1095 gdk_window_set_cursor(gtkblist->window->window, NULL); |
1096 gdk_window_set_cursor(win->window->window, NULL); | 1096 gdk_window_set_cursor(win->window->window, NULL); |
1097 } | 1097 } |
1098 | 1098 |
1234 PidginWindow *win = data; | 1234 PidginWindow *win = data; |
1235 PurpleConversation *conv; | 1235 PurpleConversation *conv; |
1236 | 1236 |
1237 conv = pidgin_conv_window_get_active_gtkconv(win)->active_conv; | 1237 conv = pidgin_conv_window_get_active_gtkconv(win)->active_conv; |
1238 | 1238 |
1239 pidgin_pounce_editor_show_with_parent(GTK_WINDOW(win->window), purple_conversation_get_account(conv), | 1239 pidgin_pounce_editor_show(purple_conversation_get_account(conv), |
1240 purple_conversation_get_name(conv), NULL); | 1240 purple_conversation_get_name(conv), NULL); |
1241 } | 1241 } |
1242 | 1242 |
1243 static void | 1243 static void |
1244 menu_insert_link_cb(gpointer data, guint action, GtkWidget *widget) | 1244 menu_insert_link_cb(gpointer data, guint action, GtkWidget *widget) |
2716 | 2716 |
2717 ext = purple_buddy_icon_get_extension(purple_conv_im_get_icon(PURPLE_CONV_IM(conv))); | 2717 ext = purple_buddy_icon_get_extension(purple_conv_im_get_icon(PURPLE_CONV_IM(conv))); |
2718 | 2718 |
2719 buf = g_strdup_printf("%s.%s", purple_normalize(conv->account, conv->name), ext); | 2719 buf = g_strdup_printf("%s.%s", purple_normalize(conv->account, conv->name), ext); |
2720 | 2720 |
2721 purple_request_file_with_hint(gtkconv, _("Save Icon"), buf, TRUE, | 2721 purple_request_file(gtkconv, _("Save Icon"), buf, TRUE, |
2722 G_CALLBACK(saveicon_writefile_cb), NULL, | 2722 G_CALLBACK(saveicon_writefile_cb), NULL, |
2723 conv->account, NULL, conv, | 2723 conv->account, NULL, conv, |
2724 "conversation", gtkconv); | 2724 gtkconv); |
2725 | 2725 |
2726 g_free(buf); | 2726 g_free(buf); |
2727 } | 2727 } |
2728 | 2728 |
2729 static void | 2729 static void |