8000 removing unused DialogLineprops from gtk3 by fariza · Pull Request #6415 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

removing unused DialogLineprops from gtk3 #6415

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

Merged
merged 1 commit into from
May 13, 2016

Conversation

fariza
Copy link
Member
@fariza fariza commented May 12, 2016

The class DialogLineprops was copied from gtk2 to Gtk3 but it doesn't work.
Also it is not used anywhere.

@tacaswell
Copy link
Member

should this be backported to 2,x?

@fariza
Copy link
Member Author
fariza commented May 12, 2016

It doesn't fix anything, just removes dead code. It depends on the policy/criteria for back-porting stuff

@tacaswell tacaswell merged commit a1dbdc1 into matplotlib:master May 13, 2016
tacaswell added a commit that referenced this pull request May 13, 2016
CLN: removing unused DialogLineprops from gtk3
@tacaswell
Copy link
Member

backported to v2.x as 25bdedd

Why ship code we know is broken and unused?

@QuLogic QuLogic added this to the 2.0 (style change major release) milestone May 13, 2016
@fariza fariza deleted the remove-gtk-linepropsdialog branch May 17, 2016 22:09
@OceanWolf
Copy link
Member

Just rebasing MEP27 and noticed this had gone... as it exists as a Qt tool, I had thought about rewriting this as a generic tool for all backends, i.e. replacing the native widgets with matplotlib versions of the widgets, making it a backend independant tool like subplots tool becomes in MEP27.

Not really super keen on spending time doing that, but otherwise we would either have to write code that only adds that tool for Qt, or loose it together, which may well see lots of complaints...

@tacaswell
Copy link
Member

Losing the Qt version is a non-starter

@OceanWolf
Copy link
Member

I thought so ;)... just that with the new toolbar, we have a default list of tools which get applied independent of backend. Without a nasty hack, implement lineprops as a backend independent tool would probably look the nicest, no nasty hacking.

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.

5 participants
0