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

Diff of /xlog/src/callbacks_mainwindow_toolbar.c

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

revision 1.3 by pa4tu, Sat Oct 16 11:12:49 2004 UTC revision 1.4 by pa4tu, Thu Dec 9 13:41:55 2004 UTC
# Line 84  on_abutton_clicked (GtkButton * button, Line 84  on_abutton_clicked (GtkButton * button,
84                  if (preferences.bandseditbox == 0)                  if (preferences.bandseditbox == 0)
85                  {                  {
86                          bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu));                          bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu));
87                          qso[BAND] = lookup_band (bandsplit[bandindex]);                          qso[BAND] = lookup_band (bandindex);
88                  }                  }
89                  else                  else
90                          qso[BAND] = gtk_editable_get_chars (GTK_EDITABLE (bandentry), 0, -1);                          qso[BAND] = gtk_editable_get_chars (GTK_EDITABLE (bandentry), 0, -1);
91                  if (preferences.modeseditbox == 0)                  if (preferences.modeseditbox == 0)
92                  {                  {
93                          modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu));                          modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu));
94                          qso[MODE] = lookup_mode (modesplit[modeindex]);                          qso[MODE] = lookup_mode (modeindex);
95                  }                  }
96                  else                  else
97                          qso[MODE] = gtk_editable_get_chars (GTK_EDITABLE (modeentry), 0, -1);                          qso[MODE] = gtk_editable_get_chars (GTK_EDITABLE (modeentry), 0, -1);
# Line 380  on_ubutton_clicked (GtkButton * button, Line 380  on_ubutton_clicked (GtkButton * button,
380                          else                          else
381                          {                          {
382                                  bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu));                                  bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu));
383                                  qso[BAND] = lookup_band (bandsplit[bandindex]);                                  qso[BAND] = lookup_band (bandindex);
384                          }                          }
385    
386                          if (preferences.modeseditbox == 1)                          if (preferences.modeseditbox == 1)
# Line 390  on_ubutton_clicked (GtkButton * button, Line 390  on_ubutton_clicked (GtkButton * button,
390                          else                          else
391                          {                          {
392                                  modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu));                                  modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu));
393                                  qso[MODE] = lookup_mode (modesplit[modeindex]);                                  qso[MODE] = lookup_mode (modeindex);
394                          }                          }
395    
396                          powerhbox = lookup_widget (mainwindow, "powerhbox");                          powerhbox = lookup_widget (mainwindow, "powerhbox");

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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