[gaim-migrate @ 11584]

Tue, 14 Dec 2004 19:36:23 +0000

author
Kevin Stange <kstange@pidgin.im>
date
Tue, 14 Dec 2004 19:36:23 +0000
changeset 10366
feb6a8f58e7d
parent 10365
5b329161c730
child 10367
7bd4802cff7d

[gaim-migrate @ 11584]
(14:32:15) SimGuy: grays the delete button on new pounces
(14:32:39) SimGuy: safe for both HEAD and oldstatus (patch applies cleanly
to both, since the gtkpounce.c file has not been touched since forever
(14:32:44) SimGuy: )

committer: Luke Schierer <lschiere@pidgin.im>

src/gtkpounce.c file | annotate | diff | comparison | revisions
--- a/src/gtkpounce.c	Tue Dec 14 05:16:40 2004 +0000
+++ b/src/gtkpounce.c	Tue Dec 14 19:36:23 2004 +0000
@@ -635,6 +635,8 @@
 	/* 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",

mercurial