changeset 13707:1e6de7b949d4

[gaim-migrate @ 16111] SF Patch #1479113 from sanmarcos- This removes the Delete button from the buddy pounce editing window. Now that we have the buddy pounce manager, it seems more fitting to handle deletions from there. Having a Delete button in the editing window feels wrong. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 01 May 2006 18:27:54 +0000
parents 3eb7a5f0de82
children 76d8b0032f50
files src/gtkpounce.c
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkpounce.c	Mon May 01 01:22:18 2006 +0000
+++ b/src/gtkpounce.c	Mon May 01 18:27:54 2006 +0000
@@ -129,14 +129,6 @@
 }
 
 static void
-delete_cb(GtkWidget *w, GaimGtkPounceDialog *dialog)
-{
-	gaim_pounce_destroy(dialog->pounce);
-
-	delete_win_cb(NULL, NULL, dialog);
-}
-
-static void
 cancel_cb(GtkWidget *w, GaimGtkPounceDialog *dialog)
 {
 	delete_win_cb(NULL, NULL, dialog);
@@ -789,16 +781,6 @@
 	gtk_box_pack_end(GTK_BOX(vbox1), bbox, FALSE, FALSE, 0);
 	gtk_widget_show(bbox);
 
-	/* Delete button */
-	button = gtk_button_new_from_stock(GTK_STOCK_DELETE);
-	gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
-	if (cur_pounce == NULL)
-		gtk_widget_set_sensitive(button, FALSE);
-	gtk_widget_show(button);
-
-	g_signal_connect(G_OBJECT(button), "clicked",
-					 G_CALLBACK(delete_cb), dialog);
-
 	/* Cancel button */
 	button = gtk_button_new_from_stock(GTK_STOCK_CANCEL);
 	gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);