Comments (4)
The two above examples are actually separate. in the first one the icon file can't be found. Something to do with your installation and/or how the root dir is found. Would be great if you could add some printouts to Application._load_application_icon
and have a look at where it attempts to find the file, and then we can figure out what the error is.
The second I presume has something to do with SVG support on OS X, will search around some for that one.
from howl.
If I put a print in application.moon
here:
for dir in *{ @root_dir.parent, @root_dir }
print "icon: #{dir}"
icon = dir\join('share/icons/hicolor/scalable/apps/howl.svg')
if icon.exists
status, err = pcall Gtk.Window.set_default_icon_from_file, icon.path
log.error "Failed to load application icon: #{err}" unless status
return
It prints:
icon: /usr/local/share
icon: /usr/local/share/howl
I'm guessing either:
- Howl should also search
@root_dir.parent.parent
. - The line
icon = dir\join('share/icons/hicolor/scalable/apps/howl.svg')
should be changed toicon = dir\join('icons/hicolor/scalable/apps/howl.svg')
.
from howl.
I went for a variant of 1
. 2
wouldn't work, since we want to support both running it from a globally installed version and running it directly from the checkout.
from howl.
@nilnor Thanks!
from howl.
Related Issues (20)
- Buffer list can be cluttered by outputs. HOT 4
- Pasting from clipboards managers don't work correctly HOT 11
- js syntax highlighting: string delimeters in regex
- bundle access to outside lib HOT 1
- Allow selection of file with mouse click/doubleclick on dialogs like search results to open it
- Feature request: Multi line edit
- Unable to set vi-on as default at startup HOT 2
- save_current_session HOT 1
- New view above or below always split the whole window.
- Impossible to see if a buffer is saved at the first glance (unlike most editors). HOT 4
- Plan to be arm64 compatible? HOT 3
- How to turn off autocompletions? HOT 2
- Missing "gtk+-3.0.pc" for building.
- Autocleaning the buffer list on quit.
- Go bundle fails to detect gocode
- Feature request: sudo save
- Successfully configured Howl to detect indentation from opened file - next steps?
- Font size not applied to the console
- Source does not build on macOS Ventura M1
- Next Release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from howl.