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 and da-liii committed Oct 16, 2023
1 parent 33d1d4c commit 9906480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mogan/Research/research.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ main (int argc, char** argv) {
#endif
init_texmacs_path (argc, argv);
#ifdef QTTEXMACS
if (!headless_mode) qtmapp->set_window_icon ("/misc/images/texmacs-512.png");
if (!headless_mode)
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 9906480

Please sign in to comment.