From: Jason Bodnar <jason@sh...> - 2004-07-22 04:07:46
Below is a patch against Jan's bidwatcher-1.3.15-jan-7 that makes the enter
key in the bid amount text entry activate the bid/snipe dialog as if the ok
button was pressed. This way you can type in an amount and hit enter to submit
the bid/snipe without having to use the mouse.
*** bidwatcher.cpp 2004-07-21 22:57:56.000000000 -0500
--- bidwatcher.cpp.orig 2004-07-21 22:56:41.000000000 -0500
*** 2030,2037 ****
bidlabel = gtk_label_new("Your MAXIMUM bid");
bidtext = gtk_entry_new();
- gtk_signal_connect(GTK_OBJECT(bidtext), "activate",
- (gpointer) this);
bidbox = gtk_hbox_new(FALSE, 0);
gtk_box_pack_start(GTK_BOX(bidbox), bidtext, FALSE, FALSE, 0);
gtk_box_pack_end(GTK_BOX(bidbox), bidlabel, FALSE, FALSE, 0);
--- 2030,2035 ----
"You want free speech? Let's see you acknowledge a man whose words make
your blood boil who is standing center stage advocating at the top of
his lungs that which you would spend a lifetime opposing at the top of
yours." -- President Andrew Shephard, "The American President"
Get latest updates about Open Source Projects, Conferences and News.