[gq-commit] gq/src util.c,1.82,1.83
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-28 19:03:09
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv7083 Modified Files: util.c Log Message: * fixed some forgotten gtk2 stock items Index: util.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/util.c,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** util.c 23 Oct 2003 05:54:15 -0000 1.82 --- util.c 28 Oct 2003 19:02:41 -0000 1.83 *************** *** 1701,1705 **** --- 1701,1709 ---- gtk_box_pack_start(GTK_BOX(hbox2), hbox0, TRUE, TRUE, 0); + #if GTK_MAJOR >= 2 + button = gtk_button_new_from_stock(GTK_STOCK_YES); + #else button = gq_button_new_with_label(_("_Yes")); + #endif gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(query_ok), comm); *************** *** 1710,1714 **** --- 1714,1722 ---- gtk_widget_show(button); + #if GTK_MAJOR >= 2 + button = gtk_button_new_from_stock(GTK_STOCK_NO); + #else button = gq_button_new_with_label(_("_No")); + #endif gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(query_cancel), |