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

PR: add "Save copy as..." to file menu #3362

Closed
wants to merge 7 commits into from
Closed

Conversation

ahed87
Copy link
Contributor

@ahed87 ahed87 commented Aug 18, 2016

Just for convenience.
Changes are working on a local install, but could very well be messed up, since the commits are done with copy/paste on web.
I suppose github and I will be better friends in the future...

if editorstack.save_copy_as():
fname = editorstack.get_current_filename()
if CONF.get('workingdir', 'editor/save/auto_set_to_basedir'):
self.emit(SIGNAL("open_dir(QString)"), osp.dirname(fname))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support the old style of signals and slots anymore because it's incompatible with PyQt5. You need to change this instead to:

self.open_dir.emit(osp.dirname(fname))

@ccordoba12 ccordoba12 added this to the v3.0beta6 milestone Aug 22, 2016
@ccordoba12
Copy link
Member

Thanks a lot for your contribution!! This looks good to me, except for the comments I left.

Once you do those changes, I can give a live try to your work to see if it's working correctly :-)

@ccordoba12 ccordoba12 modified the milestones: v3.1, v3.0beta6 Aug 22, 2016
@goanpeca
Copy link
Member

@ahed87 thanks for the contribution, could you rebase or merge to resolve conflicts?

@goanpeca goanpeca changed the title ENH: add "Save copy as..." to file menu PR: add "Save copy as..." to file menu Oct 26, 2016
@ahed87
Copy link
Contributor Author

ahed87 commented Oct 31, 2016

hm, git and I are still not friends.
It's now green, but I cannot tell if it's really OK.

@ccordoba12 ccordoba12 modified the milestones: v3.2, v3.1 Jan 7, 2017
@ahed87
Copy link
Contributor Author

ahed87 commented Feb 12, 2017

If this last "assigned" means that I should do something please give me a hint of what to do.
I'm in the belief that the conflict is resolved, and I hope that a member can do the final check so everything is OK.

@ccordoba12 ccordoba12 modified the milestones: v3.2, v3.3 Feb 14, 2017
@rlaverde
Copy link
Member

Closed in favor of #4523

@rlaverde rlaverde closed this May 31, 2017
@ccordoba12 ccordoba12 removed this from the v3.2 milestone May 31, 2017
@ccordoba12
Copy link
Member

@ahed87, thanks a lot for your work (and sorry for the big delay in review it). It'll be part of Spyder 3.2.

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.

4 participants