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

Treebrowser fixes #3

Merged
merged 5 commits into from
Dec 30, 2011
Merged

Treebrowser fixes #3

merged 5 commits into from
Dec 30, 2011

Conversation

ndbroadbent
Copy link
Contributor

Fixed four issues for the Treebrowser plugin. See the commits in parantheses for details.

  1. When right-clicking on a file or directory, that file or directory should become selected before the context menu is shown. Previously, the user had to left-click first, before right-clicking. (46e40edc + 67c7ad1f)
  2. When renaming a file, you should not show the 'do you really want to replace it?' warning message if the filename has not changed. (d8059a4d)
  3. If I create an empty directory, then highlight '(Empty)' and right click it, the 'Create new directory' and 'Create new file' commands do nothing. (7c55f34)
  4. Files were created with 0755 (-rwxr-xr-x) permissions when they should be 0644 (-rw-r--r--). (f2e9232e)

Here are the corresponding SourceForge tickets:

Cheers,
Nathan

@ndbroadbent
Copy link
Contributor Author

Please note: After I submitted the pull request, I found a bug in my 'right-click' fix that broke directory collapse/expand. I've just added a new commit to fix this (67c7ad1).

…g an '(Empty)' item in a directory. '(Empty)' rows have a NULL uri, so 'g_path_get_dirname(uri)' didn't work. This was replaced with a call to 'gtk_tree_model_get', so that it updates the uri from the parent node.
… on all clicks. Otherwise collapse/expand on a directory doesn't work properly.
@ndbroadbent
Copy link
Contributor Author

I've rebased my commits onto the new master revision, after my gitignore branch was merged

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.

None yet

2 participants