prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

Clarify that the function focus_widget is only used to focus the "staged" and "unstaged" widgets #12

Open prati0100 opened 4 years ago

prati0100 commented 4 years ago

I was the person who suggested focus_widget, but in hindsight, it is probably not a very good name. A reader might think it can be used to focus any widget. So, it is a good idea to clarify that it is only used for the "staged" and "unstaged" widgets by either renaming it to something clearer, or adding a comment to clarify. I personally would prefer a rename.