mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
[PR #339] [MERGED] CtrlCore: Cocoa always use bundled icon #325
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#325
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/339
Author: @klugier
Created: 1/3/2026
Status: ✅ Merged
Merged: 1/12/2026
Merged by: @mirek-fidler
Base:
master← Head:klugier/cocoa-always-use-bundled-icon📝 Commits (4)
82a76f8CtrlCore: Cocoa always use bundled icon.9833a48Reworkedd9cedcf.cosmetics9b4b2ae.simplified📊 Changes
7 files changed (+38 additions, -9 deletions)
View changed files
📝
uppsrc/CtrlCore/CocoCtrl.h(+10 -5)📝
uppsrc/CtrlCore/CocoTop.h(+2 -0)📝
uppsrc/CtrlCore/CocoTop.mm(+11 -3)📝
uppsrc/CtrlCore/CocoWin.mm(+5 -0)📝
uppsrc/CtrlCore/CtrlCore.upp(+1 -1)📝
uppsrc/ide/ide.cpp(+6 -0)📝
uppsrc/ide/main.cpp(+3 -0)📄 Description
This PR introduces SetAlwaysUseBundledIcon method for Cocoa. It supposed to globaly disable SyncAppIcon operation. Thanks to that the app that uses this function is more consistent with the macos feeling. Here is the samples:
Before


After


For 'After' the app icon in the dock during the runtime scales to the os settings. Without this option it does not.
Please feel free to rename the funcionality to whatever you want. I just tried to use your notation, but maybe we can name it better.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.