Skip to content
Snippets Groups Projects
Commit 20e21afd authored by Enrico Tröger's avatar Enrico Tröger
Browse files

When changing the search method in the main window, put the input focus back to the text entry.

(Old svn revision: 3798)
parent 8d3a828e
No related branches found
No related tags found
No related merge requests found
2008-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* When changing the search method in the main window, put the input
focus back to the text entry.
2008-01-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Add xfce4-popup-dict command to show the main window and/or grad the input
* Add xfce4-popup-dict command to show the main window and/or grab the input
focus to the text field in the panel.
* Change year in copyright notes to 2008.
......
......@@ -1345,21 +1345,30 @@ static void dict_close_button_clicked(GtkWidget *button, DictData *dd)
static void dict_search_mode_dict_toggled(GtkToggleButton *togglebutton, DictData *dd)
{
if (gtk_toggle_button_get_active(togglebutton))
{
dd->mode = DICTMODE_DICT;
gtk_widget_grab_focus(dd->main_entry);
}
}
static void dict_search_mode_web_toggled(GtkToggleButton *togglebutton, DictData *dd)
{
if (gtk_toggle_button_get_active(togglebutton))
{
dd->mode = DICTMODE_WEB;
gtk_widget_grab_focus(dd->main_entry);
}
}
static void dict_search_mode_spell_toggled(GtkToggleButton *togglebutton, DictData *dd)
{
if (gtk_toggle_button_get_active(togglebutton))
{
dd->mode = DICTMODE_SPELL;
gtk_widget_grab_focus(dd->main_entry);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment