Skip to content

Commit 6dd53c9

Browse files
Add second tray icon and update references
Add new tray icon assets (icons/icon2.ico, icons/icon2.png, icons/icon2.svg) and update example and tests to use icon2.png as TRAY_ICON2. Also replace/refresh existing icon.ico and icon.png binaries. This enables using a distinct second icon in the example and unit tests.
1 parent 7e90956 commit 6dd53c9

7 files changed

Lines changed: 8 additions & 2 deletions

File tree

icons/icon.ico

-353 KB
Binary file not shown.

icons/icon.png

-360 KB
Loading

icons/icon2.ico

11.3 KB
Binary file not shown.

icons/icon2.png

1.29 KB
Loading

icons/icon2.svg

Lines changed: 6 additions & 0 deletions
Loading

src/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "tray.h"
1111

1212
#define TRAY_ICON1 "icon.png" ///< Path to first icon.
13-
#define TRAY_ICON2 "icon.png" ///< Path to second icon.
13+
#define TRAY_ICON2 "icon2.png" ///< Path to second icon.
1414

1515
static struct tray tray;
1616

tests/unit/test_tray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "tests/screenshot_utils.h"
1717

1818
constexpr const char *TRAY_ICON1 = "icon.png";
19-
constexpr const char *TRAY_ICON2 = "icon.png";
19+
constexpr const char *TRAY_ICON2 = "icon2.png";
2020
constexpr const char *TRAY_ICON_SVG = "icon.svg";
2121
constexpr const char *TRAY_ICON_THEMED = "mail-message-new";
2222

0 commit comments

Comments
 (0)