222 |
*exampleframe, *examplelabel, *autosavecomboentry, *notebook, |
*exampleframe, *examplelabel, *autosavecomboentry, *notebook, |
223 |
*themecheckbutton, *pathentry, *logsentry, *qthlocatorentry, |
*themecheckbutton, *pathentry, *logsentry, *qthlocatorentry, |
224 |
*callsignentry, *fontentry, *savecheckbutton, *autosavecheckbutton, |
*callsignentry, *fontentry, *savecheckbutton, *autosavecheckbutton, |
225 |
*autosaveframe; |
*autosaveframe, *typeaheadfindcheckbutton; |
226 |
gchar *temp; |
gchar *temp; |
227 |
#if WANT_HAMLIB |
#if WANT_HAMLIB |
228 |
GtkWidget *hamlibcheckbutton, *radiocombo, *hamlibframe, *radiocomboentry, |
GtkWidget *hamlibcheckbutton, *radiocombo, *hamlibframe, *radiocomboentry, |
235 |
|
|
236 |
preferencesdialog = create_preferencesdialog (); |
preferencesdialog = create_preferencesdialog (); |
237 |
|
|
238 |
|
/* type ahead find */ |
239 |
|
typeaheadfindcheckbutton = lookup_widget |
240 |
|
(preferencesdialog, "typeaheadfindcheckbutton"); |
241 |
|
if (preferences.typeaheadfind == 1) |
242 |
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON |
243 |
|
(typeaheadfindcheckbutton), TRUE); |
244 |
|
else |
245 |
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON |
246 |
|
(typeaheadfindcheckbutton), FALSE); |
247 |
|
|
248 |
/* path for the logs */ |
/* path for the logs */ |
249 |
pathentry = lookup_widget (preferencesdialog, "pathentry"); |
pathentry = lookup_widget (preferencesdialog, "pathentry"); |
250 |
temp = g_strconcat (preferences.savedir, G_DIR_SEPARATOR_S, NULL); |
temp = g_strconcat (preferences.savedir, G_DIR_SEPARATOR_S, NULL); |