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

Fix CDN button visibility (Backport to RHEL to fix CentOS stream) #3020

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyanaconda/ui/gui/spokes/installation_source.glade
Expand Up @@ -633,9 +633,9 @@
<child>
<object class="GtkRadioButton" id="cdnRadioButton">
<property name="label" translatable="yes" context="GUI|Software Source">Red Hat _CDN</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="no_show_all">True</property>
<property name="margin_left">12</property>
<property name="use_underline">True</property>
<property name="xalign">0</property>
Expand Down
4 changes: 2 additions & 2 deletions pyanaconda/ui/gui/spokes/installation_source.py
Expand Up @@ -854,9 +854,9 @@ def _initialize_closest_mirror(self):
def _initialize(self):
threadMgr.wait(constants.THREAD_PAYLOAD)

# If there is no Subscriptiopn DBus module, disable the CDN radio button
# If there is the Subscriptiopn DBus module, make the CDN radio button visible
if is_module_available(SUBSCRIPTION):
gtk_call_once(self._cdn_button.set_no_show_all, True)
gtk_call_once(self._cdn_button.set_no_show_all, False)

# Get the current source.
source_proxy = self.payload.get_source_proxy()
Expand Down