Changeset 3392


Ignore:
Timestamp:
Oct 13, 2007, 1:51:38 PM (15 years ago)
Author:
charles
Message:

use the same lock icon that the mac client is using.

Location:
trunk/gtk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/Makefile.am

    r3375 r3392  
    1414    io.h \
    1515    ipc.h \
     16    lock.h \
    1617    logo.h \
    1718    makemeta-ui.h \
  • trunk/gtk/actions.c

    r3375 r3392  
    1616#include <libtransmission/transmission.h>
    1717#include "torrent-inspector.h"
     18#include "lock.h"
    1819#include "logo.h"
    1920
     
    121122const BuiltinIconInfo my_builtin_icons [] =
    122123{
    123     { tr_icon_full, "transmission-logo" }
     124    { tr_icon_logo, "transmission-logo" },
     125    { tr_icon_lock, "transmission-lock" }
    124126};
    125127
  • trunk/gtk/logo.h

    r3373 r3392  
    22
    33#ifdef __SUNPRO_C
    4 #pragma align 4 (tr_icon_full)
     4#pragma align 4 (tr_icon_logo)
    55#endif
    66#ifdef __GNUC__
    7 static const guint8 tr_icon_full[] __attribute__ ((__aligned__ (4))) =
     7static const guint8 tr_icon_logo[] __attribute__ ((__aligned__ (4))) =
    88#else
    9 static const guint8 tr_icon_full[] =
     9static const guint8 tr_icon_logo[] =
    1010#endif
    1111{ ""
  • trunk/gtk/torrent-inspector.c

    r3354 r3392  
    339339  g_object_set (renderer, "xalign", (gfloat)0.0,
    340340                          "yalign", (gfloat)0.5,
    341                           "stock-id", (is_encrypted ? GTK_STOCK_DIALOG_AUTHENTICATION : NULL),
     341                          "stock-id", (is_encrypted ? "transmission-lock" : NULL),
    342342                          NULL);
    343343}
     
    491491
    492492  /* TODO: make this configurable? */
    493   int view_columns[] = { PEER_COL_IS_ENCRYPTED,
    494                          PEER_COL_ADDRESS,
     493  int view_columns[] = { PEER_COL_ADDRESS,
    495494                         PEER_COL_CLIENT,
    496495                         PEER_COL_PROGRESS,
     496                         PEER_COL_IS_ENCRYPTED,
    497497                         PEER_COL_UPLOAD_RATE,
    498498                         PEER_COL_DOWNLOAD_RATE };
Note: See TracChangeset for help on using the changeset viewer.