326 |
g_signal_connect (G_OBJECT (mainnotebook), "switch_page", |
g_signal_connect (G_OBJECT (mainnotebook), "switch_page", |
327 |
G_CALLBACK (on_mainnotebook_switch_page), NULL); |
G_CALLBACK (on_mainnotebook_switch_page), NULL); |
328 |
|
|
329 |
|
/* set the menu strings for the bandoption menu */ |
330 |
|
makebandoptionmenu (preferences.bands); |
331 |
|
/* set the menu strings for the modeoption menu */ |
332 |
|
makemodeoptionmenu (preferences.modes); |
333 |
|
|
334 |
/* first page has focus */ |
/* first page has focus */ |
335 |
if (lp && i > 0) |
if (lp && i > 0) |
336 |
logwindow = g_list_nth_data (logwindowlist, 0); |
logwindow = g_list_nth_data (logwindowlist, 0); |
347 |
temp = g_strdup_printf (_("%d QSO's loaded"), state.qsos); |
temp = g_strdup_printf (_("%d QSO's loaded"), state.qsos); |
348 |
update_statusbar (temp); |
update_statusbar (temp); |
349 |
|
|
|
/* set the menu strings for the bandoption menu */ |
|
|
makebandoptionmenu (preferences.bands); |
|
|
/* set the menu strings for the modeoption menu */ |
|
|
makemodeoptionmenu (preferences.modes); |
|
|
|
|
|
|
|
350 |
/* either hide the editbox or the optionmenu */ |
/* either hide the editbox or the optionmenu */ |
351 |
modeoptionmenu = lookup_widget (mainwindow, "modeoptionmenu"); |
modeoptionmenu = lookup_widget (mainwindow, "modeoptionmenu"); |
352 |
if (preferences.modeseditbox == 0) |
if (preferences.modeseditbox == 0) |