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

Diff of /xlog/src/callbacks_qsoframe.c

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

revision 1.20 by pa4tu, Mon Mar 3 15:34:42 2003 UTC revision 1.21 by pa4tu, Fri Mar 7 18:24:56 2003 UTC
# Line 135  updateb4dialog_and_typeaheadfind (gchar Line 135  updateb4dialog_and_typeaheadfind (gchar
135    GtkTreeModel *model, *b4model = NULL;    GtkTreeModel *model, *b4model = NULL;
136    GtkTreeViewColumn *column;    GtkTreeViewColumn *column;
137    
138    if (GTK_WIDGET_VISIBLE (b4dialog))    if (b4dialog && GTK_WIDGET_VISIBLE (b4dialog))
139    {    {
140    /* clear the list */    /* clear the list */
141      b4treeview = lookup_widget (b4dialog, "b4treeview");      b4treeview = lookup_widget (b4dialog, "b4treeview");
# Line 150  updateb4dialog_and_typeaheadfind (gchar Line 150  updateb4dialog_and_typeaheadfind (gchar
150    }    }
151    
152    /* search all logs, if there is a match display it */    /* search all logs, if there is a match display it */
153    if (GTK_WIDGET_VISIBLE (b4dialog)|| preferences.typeaheadfind == 1)    if ((b4dialog && GTK_WIDGET_VISIBLE (b4dialog))||
154              preferences.typeaheadfind == 1)
155    {    {
156      for (i = 0; i < g_list_length (logwindowlist); i++)      for (i = 0; i < g_list_length (logwindowlist); i++)
157      {      {
# Line 194  updateb4dialog_and_typeaheadfind (gchar Line 195  updateb4dialog_and_typeaheadfind (gchar
195              }              }
196              found = TRUE; /* lookup only once */              found = TRUE; /* lookup only once */
197            }            }
198                  if (GTK_WIDGET_VISIBLE (b4dialog) &&                  if (b4dialog && GTK_WIDGET_VISIBLE (b4dialog) &&
199                          !g_ascii_strncasecmp (callsign, logcallsign, strlen (callsign)))                          !g_ascii_strncasecmp (callsign, logcallsign, strlen (callsign)))
200              {  /* worked b4 */              {  /* worked b4 */
201                b4[0] = g_strdup (logw->logname);                b4[0] = g_strdup (logw->logname);
# Line 215  updateb4dialog_and_typeaheadfind (gchar Line 216  updateb4dialog_and_typeaheadfind (gchar
216      }      }
217    }    }
218    
219    if (GTK_WIDGET_VISIBLE (b4dialog))    if (b4dialog && GTK_WIDGET_VISIBLE (b4dialog))
220    {    {
221      for (j = 0; j < QSO_FIELDS + 1; j++)      for (j = 0; j < QSO_FIELDS + 1; j++)
222        g_free (b4[j]);        g_free (b4[j]);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

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