// unneeded at this time. disabled to silence cppcheck. void gui_commentary_dialog_sync_toggled(GtkToggleButton *button, DIALOG_DATA *d) { if (d == NULL) d = cur_d; if (gtk_toggle_button_get_active(button)) { sync_with_main(d); d->sync = TRUE; } else d->sync = FALSE; }
void gui_undock_parallel_page(void) { ApplyChangeBook = FALSE; parallel_UnDock_Dialog = create_parallel_dialog(); gtk_notebook_set_show_tabs(GTK_NOTEBOOK(widgets.notebook_bible_parallel), FALSE); gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets.notebook_bible_parallel), 0); gtk_widget_show(parallel_UnDock_Dialog); //main_update_parallel_page_detached(); //g_free(settings.cvparallel); settings.dockedInt = FALSE; ApplyChangeBook = TRUE; sync_with_main(); }
void gui_keep_parallel_dialog_in_sync(void) { if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(navbar_parallel.button_sync))) sync_with_main(); }
void gui_parallel_tab_sync(const gchar *key) { sync_with_main(key); }