Skip to content
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

Extensions #39

Merged
merged 7 commits into from
Jun 9, 2021
Merged

Extensions #39

merged 7 commits into from
Jun 9, 2021

Conversation

cajfisher
Copy link
Contributor

Add menu shortcuts (including DEL for selection delete and INS for colour editor, no. of selected atoms info display in upper righthand corner of model window, and About dialog with clickable link.

Shortcuts for main menu commands added, including Del for delete and Ins for colour editor, as well as about dialog with clickable URL link and text in model window reporting number of selected atoms (when non-zero).
@ovhpa
Copy link
Collaborator

ovhpa commented Jun 6, 2021

Hello,

Thank you for your contribution!

Unfortunately, I can't review it right now.
But there seems to be a problem in the commit 52818f0
Did you by any chance delete the file gui_main.c and then copy it again (possibly from another system)?
It seems to me that this commit is suspiciously big as the whole gui_main.c file is changed and I can't see any reason for that.

Anyway, I will review the changes tomorrow or later this week only, sorry for the delay.

Best,

@cajfisher
Copy link
Contributor Author

cajfisher commented Jun 7, 2021 via email

@arohl
Copy link
Owner

arohl commented Jun 7, 2021

No idea when/how that happened but I can confirm that file does have DOS line breaks

@ovhpa
Copy link
Collaborator

ovhpa commented Jun 9, 2021

Hello,

I'm finally back to GDIS after a few very long days ^^'
Anyway, I didn't find much problems with the pull request.
The DOS line breaks are surprizing, especially since I haven't get a PC with DOS/windows operating system since at least a decade. But it could be a github problem (I remember hearing about something similar some times ago).
Anyway, I have just a little complain with the static analysis:

Bug reported by the clang static analyzer.

Description: Access to field 'code' results in a dereference of a null pointer (loaded from variable 'error')
File: /home/hubertokadomevalencia/git/diff/gdis/src/gui_help.c
Line: 59

But I'm gonna take care of it later: it is a bug in the error hadling that would very unlikely impact any user.
I plan to do a little BUG hunting later, while clearing a few memory leaks (I found a few new ones, related to GTK object).

Best,

@ovhpa ovhpa merged commit d8ee7a8 into arohl:master Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants