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

1243260: Make proxy config dialog work. #1236

Merged
merged 1 commit into from Jul 30, 2015

Conversation

alikins
Copy link
Contributor

@alikins alikins commented Jul 30, 2015

The behaviour of widget.get_names() isn't neccasarily
the same name used for the widget/object 'id' in the
ui builder xml. And with Gtk.Builder, it usually
is not.

The proxy dialog init would try to set the state of the
dialog based on the widget names, but would fail because
of above mentioned change. So the state of the buttons
is incorrect.

To fix it, widgets.SubManBaseWidget's pull_widget() method
was changed to set the expected widget name, as well as
to elevate the widget name to the objects attributes.

The behaviour of widget.get_names() isn't neccasarily
the same name used for the widget/object 'id' in the
ui builder xml. And with Gtk.Builder, it usually
is not.

The proxy dialog init would try to set the state of the
dialog based on the widget names, but would fail because
of above mentioned change. So the state of the buttons
is incorrect.

To fix it, widgets.SubManBaseWidget's pull_widget() method
was changed to set the expected widget name, as well as
to elevate the widget name to the objects attributes.
@wottop wottop self-assigned this Jul 30, 2015
@wottop
Copy link
Member

wottop commented Jul 30, 2015

ack

wottop added a commit that referenced this pull request Jul 30, 2015
…fixes

1243260: Make proxy config dialog work.
@wottop wottop merged commit 4f252d0 into master Jul 30, 2015
@wottop wottop deleted the alikins/1243260_proxy_dialog_fixes branch July 30, 2015 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants