Changeset cf1cf9e7


Ignore:
Timestamp:
Jan 22, 2011 2:28:53 PM (9 years ago)
Author:
mathiasdm <mathiasdm@…>
Branches:
master
Children:
a440358
Parents:
587dd30
Message:

New trayicon image (thanks, dr|z3d).

Location:
apps/desktopgui
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/src/net/i2p/desktopgui/TrayManager.java

    r587dd30 rcf1cf9e7  
    6363            tray = SystemTray.getSystemTray();
    6464            trayIcon = new TrayIcon(getTrayImage(), "I2P", getMainMenu());
     65            trayIcon.setImageAutoSize(true); //Resize image to fit the system tray
    6566            try {
    6667                tray.add(trayIcon);
     
    8687     */
    8788    private Image getTrayImage() {
    88         URL url = getClass().getResource("/desktopgui/resources/images/logo.jpg");
     89        URL url = getClass().getResource("/desktopgui/resources/images/logo.png");
    8990        Image image = Toolkit.getDefaultToolkit().getImage(url);
    9091        return image;
Note: See TracChangeset for help on using the changeset viewer.