Changeset 1517 for trunk/gtk/dialogs.c


Ignore:
Timestamp:
Feb 27, 2007, 4:00:38 AM (15 years ago)
Author:
joshe
Message:

Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/dialogs.c

    r1516 r1517  
    279279  INFOSEP(table, ii);
    280280
    281   if(80 == sb->trackerPort)
     281  if(80 == sb->tracker->port)
    282282    INFOLINEA(table, ii, _("Tracker:"), g_strdup_printf("http://%s",
    283               sb->trackerAddress));
     283              sb->tracker->address));
    284284  else
    285285    INFOLINEA(table, ii, _("Tracker:"), g_strdup_printf("http://%s:%i",
    286               sb->trackerAddress, sb->trackerPort));
    287   INFOLINE(table, ii, _("Announce:"), sb->trackerAnnounce);
     286              sb->tracker->address, sb->tracker->port));
     287  INFOLINE(table, ii, _("Announce:"), sb->tracker->announce);
    288288  INFOLINEA(table, ii, _("Piece Size:"), readablesize(in->pieceSize));
    289289  INFOLINEF(table, ii, "%i", _("Pieces:"), in->pieceCount);
Note: See TracChangeset for help on using the changeset viewer.