241 |
*themecheckbutton, *pathentry, *logsentry, *qthlocatorentry, |
*themecheckbutton, *pathentry, *logsentry, *qthlocatorentry, |
242 |
*callsignentry, *fontentry, *savecheckbutton, *autosavecheckbutton, |
*callsignentry, *fontentry, *savecheckbutton, *autosavecheckbutton, |
243 |
*autosaveframe, *typeaheadfindcheckbutton, *remoteradiobutton1, |
*autosaveframe, *typeaheadfindcheckbutton, *remoteradiobutton1, |
244 |
*remoteradiobutton2, *rigsetconfentry; |
*remoteradiobutton2; |
245 |
gchar *temp; |
gchar *temp; |
246 |
#if WANT_HAMLIB |
#if WANT_HAMLIB |
247 |
GtkWidget *hamlibcheckbutton, *radiocombo, *hamlibframe, *radiocomboentry, |
GtkWidget *hamlibcheckbutton, *radiocombo, *hamlibframe, *radiocomboentry, |
248 |
*devicecomboentry, *frequencycheckbutton, *digitscomboentry, |
*devicecomboentry, *frequencycheckbutton, *digitscomboentry, |
249 |
*smetercheckbutton, *pollingcheckbutton, *pollcomboentry; |
*smetercheckbutton, *pollingcheckbutton, *rigsetconfentry, *pollcomboentry; |
250 |
GList *combolist = NULL; |
GList *combolist = NULL; |
251 |
gint i, numrigs; |
gint i, numrigs; |
252 |
struct rig_caps *rcaps; |
struct rig_caps *rcaps; |
1011 |
gtk_widget_show (dialogsdialog); |
gtk_widget_show (dialogsdialog); |
1012 |
} |
} |
1013 |
|
|
1014 |
|
#if WANT_HAMLIB |
1015 |
/* check if tracefile has changed */ |
/* check if tracefile has changed */ |
1016 |
static int fileupdated(void) |
static int fileupdated(void) |
1017 |
{ |
{ |
|
#if WANT_HAMLIB |
|
1018 |
struct stat s; |
struct stat s; |
1019 |
gint status; |
gint status; |
1020 |
|
|
1024 |
if (finfo.modified != s.st_mtime) |
if (finfo.modified != s.st_mtime) |
1025 |
return 1; |
return 1; |
1026 |
} |
} |
|
#endif |
|
1027 |
return -1; |
return -1; |
1028 |
} |
} |
1029 |
|
#endif |
1030 |
|
|
1031 |
|
|
1032 |
|
#if WANT_HAMLIB |
1033 |
static gint |
static gint |
1034 |
updatetrace (gpointer data) |
updatetrace (gpointer data) |
1035 |
{ |
{ |
|
#if WANT_HAMLIB |
|
1036 |
GtkWidget *tracetextview; |
GtkWidget *tracetextview; |
1037 |
GtkTextBuffer *buffer; |
GtkTextBuffer *buffer; |
1038 |
GtkTextIter start, end; |
GtkTextIter start, end; |
1061 |
fclose (fd); |
fclose (fd); |
1062 |
} |
} |
1063 |
} |
} |
|
#endif |
|
1064 |
return 1; |
return 1; |
1065 |
} |
} |
1066 |
|
#endif |
1067 |
|
|
1068 |
void |
void |
1069 |
on_trace_hamlib_activate(GtkMenuItem * menuitem, gpointer user_data) |
on_trace_hamlib_activate(GtkMenuItem * menuitem, gpointer user_data) |