Revision: 5067 http://geany.svn.sourceforge.net/geany/?rev=5067&view=rev Author: ntrel Date: 2010-06-28 13:47:14 +0000 (Mon, 28 Jun 2010)
Log Message: ----------- Restore tabbing past Find in Files combo box drop down menus.
Modified Paths: -------------- trunk/ChangeLog trunk/src/search.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-06-27 18:04:28 UTC (rev 5066) +++ trunk/ChangeLog 2010-06-28 13:47:14 UTC (rev 5067) @@ -1,3 +1,9 @@ +2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/search.c: + Restore tabbing past Find in Files combo box drop down menus. + + 2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
Modified: trunk/src/search.c =================================================================== --- trunk/src/search.c 2010-06-27 18:04:28 UTC (rev 5066) +++ trunk/src/search.c 2010-06-28 13:47:14 UTC (rev 5067) @@ -577,8 +577,7 @@ ui_hookup_widget(replace_dlg.dialog, entry_replace, "entry_replace"); replace_dlg.replace_entry = GTK_BIN(entry_replace)->child;
- /* catch tab key to set the focus to the replace entry instead of - * setting it to the combo box drop down */ + /* tab from find to the replace entry */ g_signal_connect(gtk_bin_get_child(GTK_BIN(entry_find)), "key-press-event", G_CALLBACK(on_widget_key_pressed_set_focus), gtk_bin_get_child(GTK_BIN(entry_replace))); @@ -742,6 +741,10 @@ gtk_button_set_focus_on_click(GTK_BUTTON(check), FALSE); gtk_size_group_add_widget(size_group, check);
+ /* tab from search to the files checkbox */ + g_signal_connect(entry, "key-press-event", + G_CALLBACK(on_widget_key_pressed_set_focus), check); + fcombo = gtk_combo_box_entry_new_text(); gtk_widget_set_sensitive(fcombo, FALSE); entry = gtk_bin_get_child(GTK_BIN(fcombo)); @@ -770,6 +773,10 @@ gtk_entry_set_width_chars(GTK_ENTRY(entry), 50); fif_dlg.dir_combo = dir_combo;
+ /* tab from files to the dir entry */ + g_signal_connect(gtk_bin_get_child(GTK_BIN(fcombo)), "key-press-event", + G_CALLBACK(on_widget_key_pressed_set_focus), entry); + dbox = ui_path_box_new(NULL, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_ENTRY(entry)); gtk_box_pack_start(GTK_BOX(dbox), label1, FALSE, FALSE, 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.