--- trunk/src/settings.c 2009/11/08 20:34:22 166 +++ trunk/src/settings.c 2009/11/09 07:50:37 167 @@ -655,7 +655,7 @@ /* ----------------- cache settings ------------------- */ - table = gtk_table_new(2, 2, FALSE); + table = gtk_table_new(2, 3, FALSE); hbox = gtk_hbox_new(FALSE,2); gtk_box_pack_start_defaults(GTK_BOX(hbox), @@ -672,12 +672,18 @@ gtk_table_attach(GTK_TABLE(table), hbox, 0, 2, 0, 1, GTK_FILL | GTK_EXPAND, 0, 0, 0); + GtkWidget *cbox_gcvote = gtk_check_button_new_with_label( + _("Use GCVote service")); + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cbox_gcvote), + !appdata->disable_gcvote); + gtk_table_attach(GTK_TABLE(table), cbox_gcvote, 0, 2, 1, 2, GTK_FILL, 0, 2, 0); + #ifdef USE_MAEMO GtkWidget *cbox_goto_dss = gtk_check_button_new_with_label( _("Disable screen saver in \"goto\" view")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cbox_goto_dss), appdata->goto_disable_screensaver); - 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); #endif gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table, @@ -726,6 +732,9 @@ appdata->cachelist_update = gtk_toggle_button_get_active( GTK_TOGGLE_BUTTON(cbox_update)); + appdata->disable_gcvote = !gtk_toggle_button_get_active( + GTK_TOGGLE_BUTTON(cbox_gcvote)); + /* build some additional flags that are used to decide whether a */ /* redraw is necessary */ int flags = CHANGE_FLAG_POS;