Mercurial > pidgin.yaz
comparison pidgin/gtkmedia.c @ 26186:d780894d7022
Make there be no default action for the media request.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 05 Feb 2009 22:30:27 +0000 |
parents | ee3f63fbd071 |
children | cb3c6ec9291e |
comparison
equal
deleted
inserted
replaced
26185:f44b5f61d4b7 | 26186:d780894d7022 |
---|---|
785 g_object_get(G_OBJECT(media), "initiator", &initiator, NULL); | 785 g_object_get(G_OBJECT(media), "initiator", &initiator, NULL); |
786 if (initiator == FALSE) { | 786 if (initiator == FALSE) { |
787 gchar *message = g_strdup_printf("%s wishes to start a " | 787 gchar *message = g_strdup_printf("%s wishes to start a " |
788 "media session with you\n", alias); | 788 "media session with you\n", alias); |
789 purple_request_accept_cancel(gtkmedia, "Media invitation", | 789 purple_request_accept_cancel(gtkmedia, "Media invitation", |
790 message, NULL, 1, (void*)pc, screenname, | 790 message, NULL, PURPLE_DEFAULT_ACTION_NONE, |
791 NULL, media, purple_media_accept, | 791 (void*)pc, screenname, NULL, media, |
792 purple_media_reject); | 792 purple_media_accept, purple_media_reject); |
793 g_free(message); | 793 g_free(message); |
794 } else | 794 } else |
795 gtk_widget_show(GTK_WIDGET(gtkmedia)); | 795 gtk_widget_show(GTK_WIDGET(gtkmedia)); |
796 | 796 |
797 return TRUE; | 797 return TRUE; |