pidgin/pidgin

192a8112562f
Parents 0b9b81b6ff18
Children 905bc2694da8
Remove the send-file action from PidginDisplayWindow

This isn't in a menu and we need to figure out the user interface for this
going forward.

Testing Done:
Ran with the turtles.

Reviewed at https://reviews.imfreedom.org/r/3079/
--- a/pidgin/pidgindisplaywindow.c Wed Apr 10 22:19:38 2024 -0500
+++ b/pidgin/pidgindisplaywindow.c Thu Apr 11 02:02:19 2024 -0500
@@ -163,25 +163,6 @@
}
}
-static void
-pidgin_display_window_send_file(G_GNUC_UNUSED GSimpleAction *simple,
- G_GNUC_UNUSED GVariant *parameter,
- gpointer data)
-{
- PidginDisplayWindow *window = data;
- PurpleConversation *selected = NULL;
-
- selected = pidgin_display_window_get_selected(window);
- if(PURPLE_IS_IM_CONVERSATION(selected)) {
- PurpleConnection *connection = NULL;
-
- connection = purple_conversation_get_connection(selected);
- purple_serv_send_file(connection,
- purple_conversation_get_name(selected),
- NULL);
- }
-}
-
static GActionEntry win_entries[] = {
{
.name = "close",
@@ -189,9 +170,6 @@
}, {
.name = "get-info",
.activate = pidgin_display_window_get_info
- }, {
- .name = "send-file",
- .activate = pidgin_display_window_send_file
}
};