Export to GitHub

gsql - issue #20

Return key does not work on mysql logon dialog


Posted on Dec 18, 2008 by Massive Bear

What steps will reproduce the problem? 1. Start gsql 2. Click [New Session] button on toolbar 3. Enter logon information at the dialog 4. Press Return key to log on

What is the expected output? What do you see instead?

It is expected that logon proceeds by pressing Return key, but nothing happens.

What version of the product are you using? On what operating system?

Trunk version on Ubuntu 8.10

Please provide any additional information below.

The problem seems to be caused by missing gtk_entry_set_activates_default() call for each entry in the dialog. And I believe gtk_widget_grab_default() can be replaced with gtk_dialog_set_default_response(). Please have a look at the attached patch for details.

Attachments

Comment #1

Posted on Dec 20, 2008 by Quick Monkey

Approved. Thanx a lot!

Comment #2

Posted on Dec 21, 2008 by Massive Bear

:-)

Status: Fixed

Labels:
Type-Defect Priority-Medium