dmedvinsky / gsimplecal

Simple and lightweight GTK calendar (BSD license)
http://dmedvinsky.github.io/gsimplecal
Other
197 stars 19 forks source link

close_on_unfocus #12

Closed ghost closed 12 years ago

ghost commented 12 years ago

I recently installed gsimplecal to use as a calendar with tint2 and thought it would be nice if the calendar would automatically close once I clicked on another window, the desktop or something. So I added a configuration option to allow it and updated the man page.

The option I added is close_on_unfocus and there is a little description in the man page. One thing to note is that for me (with openbox) when mainwindow_skip_taskbar is enabled, the calendar window is not given focus upon creation, so in that case the calendar closes after you focus then unfocus the window. Other than that, I did not find any unexpected behavior.

dmedvinsky commented 12 years ago

Hey Ryan,

Thanks a lot for contribution. It looks cool. I'll merge it this evening, I hope.

Also, I must ask you if you don't mind being added to AUTHORS file. I guess you don't, do you? Also, if you want your e-mail there, too, please let me know what it is since there isn't one in your Github profile.

ghost commented 12 years ago

Awesome, I'm glad you like it.

I don't mind being added at all, I've updated my profile information with an email, and just want to say thanks for the great program.

dmedvinsky commented 12 years ago

Pushed it and released new version. It's not really an evening here anymore, but hell, it is in Las Vegas and that's there my soul is right now. :-P

Thanks again!