Lines Matching refs:frdp

2080 		SharedFindReplace *frdp)  in find_key_press_event()  argument
2090 gtk_widget_hide(frdp->dialog); in find_key_press_event()
2210 SharedFindReplace *frdp; in find_replace_dialog_create() local
2217 frdp = (do_replace) ? (&repl_widgets) : (&find_widgets); in find_replace_dialog_create()
2232 if (frdp->dialog) in find_replace_dialog_create()
2236 gtk_entry_set_text(GTK_ENTRY(frdp->what), (char *)entry_text); in find_replace_dialog_create()
2237 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(frdp->wword), in find_replace_dialog_create()
2239 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(frdp->mcase), in find_replace_dialog_create()
2242 gtk_window_present(GTK_WINDOW(frdp->dialog)); in find_replace_dialog_create()
2247 gtk_widget_grab_focus(frdp->what); in find_replace_dialog_create()
2248 if (do_replace && entry_get_text_length(GTK_ENTRY(frdp->what)) > 0) in find_replace_dialog_create()
2249 gtk_widget_grab_focus(frdp->with); in find_replace_dialog_create()
2255 frdp->dialog = gtk_dialog_new(); in find_replace_dialog_create()
2259 gtk_dialog_set_has_separator(GTK_DIALOG(frdp->dialog), FALSE); in find_replace_dialog_create()
2261 gtk_window_set_transient_for(GTK_WINDOW(frdp->dialog), GTK_WINDOW(gui.mainwin)); in find_replace_dialog_create()
2262 gtk_window_set_destroy_with_parent(GTK_WINDOW(frdp->dialog), TRUE); in find_replace_dialog_create()
2266 gtk_window_set_title(GTK_WINDOW(frdp->dialog), in find_replace_dialog_create()
2271 gtk_window_set_title(GTK_WINDOW(frdp->dialog), in find_replace_dialog_create()
2285 = gtk_dialog_get_content_area(GTK_DIALOG(frdp->dialog)); in find_replace_dialog_create()
2289 gtk_container_add(GTK_CONTAINER(GTK_DIALOG(frdp->dialog)->vbox), hbox); in find_replace_dialog_create()
2334 frdp->what = gtk_entry_new(); in find_replace_dialog_create()
2337 gtk_entry_set_text(GTK_ENTRY(frdp->what), (char *)entry_text); in find_replace_dialog_create()
2338 g_signal_connect(G_OBJECT(frdp->what), "changed", in find_replace_dialog_create()
2339 G_CALLBACK(entry_changed_cb), frdp->dialog); in find_replace_dialog_create()
2340 g_signal_connect_after(G_OBJECT(frdp->what), "key-press-event", in find_replace_dialog_create()
2342 (gpointer) frdp); in find_replace_dialog_create()
2344 gtk_grid_attach(GTK_GRID(table), frdp->what, 2, 0, 5, 1); in find_replace_dialog_create()
2346 gtk_table_attach(GTK_TABLE(table), frdp->what, 1, 1024, 0, 1, in find_replace_dialog_create()
2379 frdp->with = gtk_entry_new(); in find_replace_dialog_create()
2380 g_signal_connect(G_OBJECT(frdp->with), "activate", in find_replace_dialog_create()
2383 g_signal_connect_after(G_OBJECT(frdp->with), "key-press-event", in find_replace_dialog_create()
2385 (gpointer) frdp); in find_replace_dialog_create()
2387 gtk_grid_attach(GTK_GRID(table), frdp->with, 2, 1, 5, 1); in find_replace_dialog_create()
2389 gtk_table_attach(GTK_TABLE(table), frdp->with, 1, 1024, 1, 2, in find_replace_dialog_create()
2397 g_signal_connect(G_OBJECT(frdp->what), "activate", in find_replace_dialog_create()
2398 G_CALLBACK(entry_activate_cb), frdp->with); in find_replace_dialog_create()
2405 g_signal_connect(G_OBJECT(frdp->what), "activate", in find_replace_dialog_create()
2411 frdp->wword = gtk_check_button_new_with_label(CONV(_("Match whole word only"))); in find_replace_dialog_create()
2412 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(frdp->wword), in find_replace_dialog_create()
2416 gtk_grid_attach(GTK_GRID(table), frdp->wword, 0, 2, 5, 1); in find_replace_dialog_create()
2418 gtk_table_attach(GTK_TABLE(table), frdp->wword, 0, 1023, 2, 3, in find_replace_dialog_create()
2423 gtk_grid_attach(GTK_GRID(table), frdp->wword, 0, 3, 5, 1); in find_replace_dialog_create()
2425 gtk_table_attach(GTK_TABLE(table), frdp->wword, 0, 1023, 1, 2, in find_replace_dialog_create()
2430 frdp->mcase = gtk_check_button_new_with_label(CONV(_("Match case"))); in find_replace_dialog_create()
2431 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(frdp->mcase), in find_replace_dialog_create()
2435 gtk_grid_attach(GTK_GRID(table), frdp->mcase, 0, 3, 5, 1); in find_replace_dialog_create()
2437 gtk_table_attach(GTK_TABLE(table), frdp->mcase, 0, 1023, 3, 4, in find_replace_dialog_create()
2442 gtk_grid_attach(GTK_GRID(table), frdp->mcase, 0, 4, 5, 1); in find_replace_dialog_create()
2444 gtk_table_attach(GTK_TABLE(table), frdp->mcase, 0, 1023, 2, 3, in find_replace_dialog_create()
2473 frdp->up = gtk_radio_button_new_with_label(NULL, CONV(_("Up"))); in find_replace_dialog_create()
2474 gtk_box_pack_start(GTK_BOX(vbox), frdp->up, TRUE, TRUE, 0); in find_replace_dialog_create()
2475 frdp->down = gtk_radio_button_new_with_label( in find_replace_dialog_create()
2476 gtk_radio_button_get_group(GTK_RADIO_BUTTON(frdp->up)), in find_replace_dialog_create()
2478 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(frdp->down), TRUE); in find_replace_dialog_create()
2480 gtk_box_pack_start(GTK_BOX(vbox), frdp->down, TRUE, TRUE, 0); in find_replace_dialog_create()
2493 frdp->find = create_image_button(NULL, _("Find Next")); in find_replace_dialog_create()
2495 frdp->find = create_image_button(GTK_STOCK_FIND, _("Find Next")); in find_replace_dialog_create()
2497 gtk_widget_set_sensitive(frdp->find, sensitive); in find_replace_dialog_create()
2499 g_signal_connect(G_OBJECT(frdp->find), "clicked", in find_replace_dialog_create()
2504 gtk_widget_set_can_default(frdp->find, TRUE); in find_replace_dialog_create()
2505 gtk_box_pack_start(GTK_BOX(actionarea), frdp->find, FALSE, FALSE, 0); in find_replace_dialog_create()
2506 gtk_widget_grab_default(frdp->find); in find_replace_dialog_create()
2512 frdp->replace = create_image_button(NULL, _("Replace")); in find_replace_dialog_create()
2514 frdp->replace = create_image_button(GTK_STOCK_CONVERT, _("Replace")); in find_replace_dialog_create()
2516 gtk_widget_set_sensitive(frdp->replace, sensitive); in find_replace_dialog_create()
2517 gtk_widget_set_can_default(frdp->find, TRUE); in find_replace_dialog_create()
2518 gtk_box_pack_start(GTK_BOX(actionarea), frdp->replace, FALSE, FALSE, 0); in find_replace_dialog_create()
2519 g_signal_connect(G_OBJECT(frdp->replace), "clicked", in find_replace_dialog_create()
2525 frdp->all = create_image_button(NULL, _("Replace All")); in find_replace_dialog_create()
2527 frdp->all = create_image_button(GTK_STOCK_CONVERT, _("Replace All")); in find_replace_dialog_create()
2529 gtk_widget_set_sensitive(frdp->all, sensitive); in find_replace_dialog_create()
2530 gtk_widget_set_can_default(frdp->all, TRUE); in find_replace_dialog_create()
2531 gtk_box_pack_start(GTK_BOX(actionarea), frdp->all, FALSE, FALSE, 0); in find_replace_dialog_create()
2532 g_signal_connect(G_OBJECT(frdp->all), "clicked", in find_replace_dialog_create()
2547 G_OBJECT(frdp->dialog)); in find_replace_dialog_create()
2548 g_signal_connect_swapped(G_OBJECT(frdp->dialog), in find_replace_dialog_create()
2550 G_OBJECT(frdp->dialog)); in find_replace_dialog_create()
2562 gtk_widget_hide(gtk_dialog_get_action_area(GTK_DIALOG(frdp->dialog))); in find_replace_dialog_create()
2565 gtk_widget_hide(GTK_DIALOG(frdp->dialog)->action_area); in find_replace_dialog_create()
2568 gtk_widget_show(frdp->dialog); in find_replace_dialog_create()