/[xlog]/xlog/src/callbacks_menu.c
ViewVC logotype

Diff of /xlog/src/callbacks_menu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33 by pa4tu, Sun Aug 17 10:03:47 2003 UTC revision 1.34 by pa4tu, Sun Aug 17 10:25:42 2003 UTC
# Line 241  on_menu_preferences_activate (GtkMenuIte Line 241  on_menu_preferences_activate (GtkMenuIte
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;
# Line 1011  on_menu_dialogs_activate(GtkMenuItem * m Line 1011  on_menu_dialogs_activate(GtkMenuItem * m
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    
# Line 1024  static int fileupdated(void) Line 1024  static int fileupdated(void)
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;
# Line 1061  updatetrace (gpointer data) Line 1061  updatetrace (gpointer data)
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)

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26