~alexc/gpredict/head

« back to all changes in this revision

Viewing changes to src/gtk-sat-list.c

  • Committer: Alexandru Csete
  • Date: 2012-01-15 21:02:51 UTC
  • Revision ID: git-v1:e6a70f31be05bc44dd92c084539e58185f9c74dc
Bug 3470664: Simplify debug levels (error, warning, info and debug).

Show diffs side-by-side

added added

removed removed

Lines of Context:
590
590
    /* first, do some sanity checks */
591
591
    if ((satlist == NULL) || !IS_GTK_SAT_LIST (satlist)) {
592
592
        
593
 
        sat_log_log (SAT_LOG_LEVEL_BUG,
 
593
        sat_log_log (SAT_LOG_LEVEL_ERROR,
594
594
                     _("%s: Invalid GtkSatList!"),
595
595
                     __FUNCTION__);
596
596
    }
660
660
 
661
661
    if (sat == NULL) {
662
662
        /* satellite not tracked anymore => remove */
663
 
        sat_log_log (SAT_LOG_LEVEL_MSG,
 
663
        sat_log_log (SAT_LOG_LEVEL_INFO,
664
664
                     _("%s: Failed to get data for #%d."),
665
665
                     __FUNCTION__, *catnum);
666
666
 
667
667
        gtk_list_store_remove (GTK_LIST_STORE (model), iter);
668
668
 
669
 
        sat_log_log (SAT_LOG_LEVEL_BUG,
 
669
        sat_log_log (SAT_LOG_LEVEL_ERROR,
670
670
                     _("%s: Satellite #%d removed from list."),
671
671
                     __FUNCTION__, *catnum);
672
672
    }
1008
1008
            }
1009
1009
        }
1010
1010
        else {
1011
 
            sat_log_log (SAT_LOG_LEVEL_BUG,
 
1011
            sat_log_log (SAT_LOG_LEVEL_ERROR,
1012
1012
                         _("%s:%d: Invalid column: %d"),
1013
1013
                         __FILE__, __LINE__,
1014
1014
                         coli);
1350
1350
    sat = SAT (g_hash_table_lookup (GTK_SAT_LIST (list)->satellites, catnum));
1351
1351
 
1352
1352
    if (sat == NULL) {
1353
 
        sat_log_log (SAT_LOG_LEVEL_MSG,
 
1353
        sat_log_log (SAT_LOG_LEVEL_INFO,
1354
1354
                     _("%s:%d Failed to get data for %d."),
1355
1355
                     __FILE__, __LINE__, *catnum);
1356
1356
    }
1384
1384
        sat = SAT (g_hash_table_lookup (GTK_SAT_LIST (list)->satellites, catnum));
1385
1385
 
1386
1386
        if (sat == NULL) {
1387
 
            sat_log_log (SAT_LOG_LEVEL_MSG,
 
1387
            sat_log_log (SAT_LOG_LEVEL_INFO,
1388
1388
                         _("%s:%d Failed to get data for %d."),
1389
1389
                         __FILE__, __LINE__, *catnum);
1390
1390
 
1397
1397
 
1398
1398
    }
1399
1399
    else {
1400
 
        sat_log_log (SAT_LOG_LEVEL_BUG,
 
1400
        sat_log_log (SAT_LOG_LEVEL_ERROR,
1401
1401
                     _("%s:%d: There is no selection; skip popup."),
1402
1402
                     __FILE__, __LINE__);
1403
1403
    }