655 |
|
|
656 |
/* ----------------- cache settings ------------------- */ |
/* ----------------- cache settings ------------------- */ |
657 |
|
|
658 |
table = gtk_table_new(2, 2, FALSE); |
table = gtk_table_new(2, 3, FALSE); |
659 |
|
|
660 |
hbox = gtk_hbox_new(FALSE,2); |
hbox = gtk_hbox_new(FALSE,2); |
661 |
gtk_box_pack_start_defaults(GTK_BOX(hbox), |
gtk_box_pack_start_defaults(GTK_BOX(hbox), |
672 |
|
|
673 |
gtk_table_attach(GTK_TABLE(table), hbox, 0, 2, 0, 1, GTK_FILL | GTK_EXPAND, 0, 0, 0); |
gtk_table_attach(GTK_TABLE(table), hbox, 0, 2, 0, 1, GTK_FILL | GTK_EXPAND, 0, 0, 0); |
674 |
|
|
675 |
|
GtkWidget *cbox_gcvote = gtk_check_button_new_with_label( |
676 |
|
_("Use GCVote service")); |
677 |
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cbox_gcvote), |
678 |
|
!appdata->disable_gcvote); |
679 |
|
gtk_table_attach(GTK_TABLE(table), cbox_gcvote, 0, 2, 1, 2, GTK_FILL, 0, 2, 0); |
680 |
|
|
681 |
#ifdef USE_MAEMO |
#ifdef USE_MAEMO |
682 |
GtkWidget *cbox_goto_dss = gtk_check_button_new_with_label( |
GtkWidget *cbox_goto_dss = gtk_check_button_new_with_label( |
683 |
_("Disable screen saver in \"goto\" view")); |
_("Disable screen saver in \"goto\" view")); |
684 |
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cbox_goto_dss), |
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cbox_goto_dss), |
685 |
appdata->goto_disable_screensaver); |
appdata->goto_disable_screensaver); |
686 |
gtk_table_attach(GTK_TABLE(table), cbox_goto_dss, 0, 2, 1, 2, GTK_FILL, 0, 2, 0); |
gtk_table_attach(GTK_TABLE(table), cbox_goto_dss, 0, 2, 2, 3, GTK_FILL, 0, 2, 0); |
687 |
#endif |
#endif |
688 |
|
|
689 |
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table, |
gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table, |
732 |
appdata->cachelist_update = gtk_toggle_button_get_active( |
appdata->cachelist_update = gtk_toggle_button_get_active( |
733 |
GTK_TOGGLE_BUTTON(cbox_update)); |
GTK_TOGGLE_BUTTON(cbox_update)); |
734 |
|
|
735 |
|
appdata->disable_gcvote = !gtk_toggle_button_get_active( |
736 |
|
GTK_TOGGLE_BUTTON(cbox_gcvote)); |
737 |
|
|
738 |
/* build some additional flags that are used to decide whether a */ |
/* build some additional flags that are used to decide whether a */ |
739 |
/* redraw is necessary */ |
/* redraw is necessary */ |
740 |
int flags = CHANGE_FLAG_POS; |
int flags = CHANGE_FLAG_POS; |