-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug on displaying Icon in Application #3
Comments
Deleted my previous comment. I know what you mean now. Looks like what I should do is do full path for both icon.png and header.png. Will keep that in mind for the future release. When I run the app with .desktop though, this is not a problem so I never even noticed before. Thanks! |
you're welcome, great app!
…On Sun, Jun 30, 2019, 13:06 hkdb ***@***.***> wrote:
Deleted my previous comment. I know what you mean now. Looks like what I
should do is do full path for both icon.png and header.png. Will keep that
in mind for the future release.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=ALGW2AIBAUCC3KKVUK5OAE3P5BEPZA5CNFSM4GSIJTVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4F5IA#issuecomment-507010720>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALGW2AP44WO7ACH7M2J347TP5BEPZANCNFSM4GSIJTVA>
.
|
I have gone ahead and put in a fix for this in the latest release - v0.3.0. Thanks again! |
I just re-read your issue once again and realized that you might have been moving the script else where but not the png's? Even my latest fix assumes that the png's are always in the same directory as the script. So if you moved the images over to the same directory at the script, it should work. Either that or comment out the lines like you did. Perhaps adding some error handling would be good though. Maybe just dismiss the images altogether if they don't exist automatically? |
Closing due to lack of response. |
Issue:
The app cannot find 'icon.png' ehrn running from different directory. No problem when running from Densify drectory
message:
Traceback (most recent call last):
File "./Densify/densify", line 428, in
win.set_icon_from_file("icon.png") # Set App Icon
GLib.Error: g-file-error-quark: Failed to open file 'icon.png': No such file or directory (4)
quick solution:
I have to exclude lines in app referring to showing icon.png and header.png icons to make it work / runnable from any directory
The text was updated successfully, but these errors were encountered: