Changeset 23

Show
Ignore:
Timestamp:
01/08/06 17:42:57 (3 years ago)
Author:
edmanm
Message:

Add a Vidalia application icon based on tor_logo.
Use Justin's new icons.

Location:
trunk/src/gui
Files:
2 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/gui.pri

    r18 r23  
    2828RESOURCES += $$PWD/res/vidalia.qrc 
    2929 
    30 # Uncomment the following when we have the right icons made 
    31 # 
    3230#macx { 
    33 #  ICON = $$PWD/res/vidalia.icns 
     31  ICON = $$PWD/res/vidalia.icns 
    3432#} 
    35 #win32 { 
    36 #  RC_FILE = $$PWD/res/vidalia.rc 
    37 #} 
     33win32 { 
     34  RC_FILE = $$PWD/res/vidalia.rc 
     35} 
    3836 
    3937include($$PWD/trayicon/trayicon.pri) 
  • trunk/src/gui/mainwindow.cpp

    r16 r23  
    2929{ 
    3030  /* Set Vidalia's application icon */ 
    31   setWindowIcon(QIcon(":/images/tor_on.png")); 
     31  setWindowIcon(QIcon(":/images/tor_on32.png")); 
    3232   
    3333  /* Put an icon in the system tray to indicate the status of Tor */ 
    34   _trayIcon = new TrayIcon(QPixmap(":/images/tor_on.png"), 
     34  _trayIcon = new TrayIcon(QPixmap(":/images/tor_on32.png"), 
    3535                           tr("Vidalia"), 0, this); 
    3636  _trayIcon->show(); 
  • trunk/src/gui/res/vidalia.qrc

    r16 r23  
    11<!DOCTYPE RCC><RCC version="1.0"> 
    22  <qresource prefix="/images"> 
    3     <file>tor_on.png</file> 
    4     <file>tor_off.png</file> 
     3    <file>vidalia.ico</file> 
     4    <file>vidalia.icns</file> 
     5    <file>tor_logo32.ico</file> 
     6    <file>tor_off32.png</file> 
     7    <file>tor_off48.png</file> 
     8    <file>tor_off128.png</file> 
     9    <file>tor_on32.png</file> 
     10    <file>tor_on48.png</file> 
     11    <file>tor_on128.png</file> 
    512  </qresource> 
    613</RCC>