Skip to content

Commit

Permalink
Fix the icon in the Dock for Mac (#505)
Browse files Browse the repository at this point in the history
There is a strange line in `texmacs.cpp` which reset the icon. I've now
fixed it to point to the new icon. I do not understand why this is
necessary. I guess we can remove that line since the application icon
should be specified in the metadata and not in the code (unless one what
to change it programmatically)
  • Loading branch information
mgubi authored Jan 21, 2023
1 parent bdcbb77 commit 4af2b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Texmacs/Texmacs/texmacs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ main (int argc, char **argv) {
#endif
TeXmacs_init_paths (argc, argv);
#ifdef QTTEXMACS
qtmapp->set_window_icon ("/misc/images/xmacs-512.png");
qtmapp->set_window_icon ("/misc/images/new-mogan-512.png"); // it this really necessary? Should be set in the metadata.
#endif
// cout << "Bench ] Started TeXmacs\n";
the_et = tuple ();
Expand Down

0 comments on commit 4af2b95

Please sign in to comment.