-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Preferences dialog #130
Preferences dialog #130
Conversation
everything is working but the scrollbar
@jecaro This is really great. Thanks for taking the time to do this! It'll probably take me a week or so to really review this, sorry for the delay. |
You're welcome @cdepillabout and no problem for the delay. |
@jecaro I added some small commits with minor cleanup. 2dbe69d just removes whitespace on the ends of lines. ab916db changes the format of some of the code to be more consistent with the surrounding code. c0b6bab simplifies a few functions. Could you review this commit? Once you sign off on this, it should be good to merge in. |
Let me try to answer the one question you had as well.
The difference here is that most of the things in the termonad/src/Termonad/Types.hs Lines 103 to 109 in 4543140
http://hackage.haskell.org/package/gi-pango-1.0.22/docs/GI-Pango-Structs-FontDescription.html However, the stuff in termonad/src/Termonad/Types.hs Lines 363 to 389 in 4543140
I made this split so that At some point I'd like to send a PR actually doing this. Or if you're interested, you could have a go at this. |
Ok. It makes sense. Thanks for the clarification. I think a plain config file is a good idea as well. Before I learned Haskell, I've tried a few times to use xmonad, but the config file in Haskell was a huge pain for me. I had no clue about what was trying to tell me the compiler. So yes, using a plain file would ease the adoption of termonad for the non-haskeller. This is the kind of work I could do. I was thinking about working on #12 now. So maybe after it ? I'll see how it goes. |
Here is my take for a basic preference dialog #82
I did not spend much time trying to make the dialog looks good. I've focused on making the feature works.
I was confused to see the settings related to the current font in
tmStateFontDesc
and intmStateConfig/options/fontConfig
. It is not clear to me why it needs to be that way.Anyway, so when the user validates the dialog, I decided to update the information at both places. Note that it is not the case when the font size is changed using the menu. In this case only
tmStateFontDesc
seems to be updated.I'm quite happy how it went, tell me what you think about it.