~alexc/gpredict/head

« back to all changes in this revision

Viewing changes to src/gtk-polar-view.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:
725
725
                }
726
726
                else
727
727
                {
728
 
                    sat_log_log(SAT_LOG_LEVEL_BUG,
 
728
                    sat_log_log(SAT_LOG_LEVEL_ERROR,
729
729
                                _("%s: Can not find NEXT satellite."),
730
730
                                __FUNCTION__);
731
731
                    g_object_set(polv->next, "text", _("Next: ERR"), NULL);
1054
1054
    {
1055
1055
        if (obj->pass == NULL)
1056
1056
        {
1057
 
            sat_log_log(SAT_LOG_LEVEL_BUG,
 
1057
            sat_log_log(SAT_LOG_LEVEL_ERROR,
1058
1058
                        _("%s:%d: Failed to get satellite pass."),
1059
1059
                        __FILE__, __LINE__);
1060
1060
            return;
1064
1064
        num = g_slist_length(obj->pass->details);
1065
1065
        if (num == 0)
1066
1066
        {
1067
 
            sat_log_log(SAT_LOG_LEVEL_BUG,
 
1067
            sat_log_log(SAT_LOG_LEVEL_ERROR,
1068
1068
                        _("%s:%d: Pass had no points in it."),
1069
1069
                        __FILE__, __LINE__);
1070
1070
            return;
1185
1185
 
1186
1186
    if (obj == NULL)
1187
1187
    {
1188
 
        sat_log_log(SAT_LOG_LEVEL_BUG,
 
1188
        sat_log_log(SAT_LOG_LEVEL_ERROR,
1189
1189
                    _("%s:%d: Failed to get satellite object."),
1190
1190
                    __FILE__, __LINE__);
1191
1191
        return;
1193
1193
 
1194
1194
    if (obj->pass == NULL)
1195
1195
    {
1196
 
        sat_log_log(SAT_LOG_LEVEL_BUG,
 
1196
        sat_log_log(SAT_LOG_LEVEL_ERROR,
1197
1197
                    _("%s:%d: Failed to get satellite pass."),
1198
1198
                    __FILE__, __LINE__);
1199
1199
        return;
1207
1207
    num = g_slist_length(obj->pass->details);
1208
1208
    if (num == 0)
1209
1209
    {
1210
 
        sat_log_log(SAT_LOG_LEVEL_BUG,
 
1210
        sat_log_log(SAT_LOG_LEVEL_ERROR,
1211
1211
                    _("%s:%d: Pass had no points in it."), __FILE__, __LINE__);
1212
1212
        return;
1213
1213
    }
1525
1525
        }
1526
1526
        else
1527
1527
        {
1528
 
            sat_log_log(SAT_LOG_LEVEL_BUG,
 
1528
            sat_log_log(SAT_LOG_LEVEL_ERROR,
1529
1529
                        _
1530
1530
                        ("%s:%d: Could not find satellite (%d) in hash table"),
1531
1531
                        __FILE__, __LINE__, catnum);
1578
1578
        obj = SAT_OBJ(g_hash_table_lookup(polv->obj, catpoint));
1579
1579
        if (obj == NULL)
1580
1580
        {
1581
 
            sat_log_log(SAT_LOG_LEVEL_BUG,
 
1581
            sat_log_log(SAT_LOG_LEVEL_ERROR,
1582
1582
                        _
1583
1583
                        ("%s:%d: Can not find clicked object (%d) in hash table"),
1584
1584
                        __FILE__, __LINE__, catnum);