comparison src/gtkpounce.c @ 10366:fbb78553cae1

[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: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 14 Dec 2004 19:36:23 +0000
parents 5879593a6a10
children dc4475bf718f
comparison
equal deleted inserted replaced
10365:d2f999970f91 10366:fbb78553cae1
633 gtk_widget_show(bbox); 633 gtk_widget_show(bbox);
634 634
635 /* Delete button */ 635 /* Delete button */
636 button = gtk_button_new_from_stock(GTK_STOCK_DELETE); 636 button = gtk_button_new_from_stock(GTK_STOCK_DELETE);
637 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0); 637 gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
638 if (cur_pounce == NULL)
639 gtk_widget_set_sensitive(button, FALSE);
638 gtk_widget_show(button); 640 gtk_widget_show(button);
639 641
640 g_signal_connect(G_OBJECT(button), "clicked", 642 g_signal_connect(G_OBJECT(button), "clicked",
641 G_CALLBACK(delete_cb), dialog); 643 G_CALLBACK(delete_cb), dialog);
642 644