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

Improve visibility of buttons in update policy window - issue #170 #176

Merged
merged 1 commit into from Sep 15, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+5 −0
Diff settings

Always

Just for now

@@ -1717,7 +1717,9 @@ def on_configure_finished(self, button):
self.settings.set_boolean("security-updates-are-safe", True)
self.settings.set_boolean("kernel-updates-are-safe", True)

self.builder.get_object("toolbar1").set_visible(True)
self.builder.get_object("toolbar1").set_sensitive(True)
self.builder.get_object("menubar1").set_visible(True)
self.builder.get_object("menubar1").set_sensitive(True)
self.updates_inhibited = False
refresh = RefreshThread(self)
@@ -1738,7 +1740,9 @@ def show_configuration(self, widget=None):
self.set_status(_("Please choose an update policy."), _("Please choose an update policy."), "mintupdate-updates-available", True)
self.set_status_message("")
self.builder.get_object("toolbar1").set_sensitive(False)
self.builder.get_object("toolbar1").set_visible(False)
self.builder.get_object("menubar1").set_sensitive(False)
self.builder.get_object("menubar1").set_visible(False)

######### TREEVIEW/SELECTION FUNCTIONS #######

@@ -16,6 +16,7 @@
<object class="GtkBox" id="configure_page">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="box21">
ProTip! Use n and p to navigate between commits in a pull request.