From 24090fafce8ca7138cc5ebe5aa914165fa8e3bd9 Mon Sep 17 00:00:00 2001 From: guinux Date: Wed, 4 May 2016 15:59:42 +0200 Subject: [PATCH] some updater display fixes --- resources/updater_window.ui | 2 +- src/updater_window.vala | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/resources/updater_window.ui b/resources/updater_window.ui index bba78cf..8daca80 100644 --- a/resources/updater_window.ui +++ b/resources/updater_window.ui @@ -129,7 +129,7 @@ True fixed - 40 + 50 20 State diff --git a/src/updater_window.vala b/src/updater_window.vala index 99d8bce..bf3c969 100644 --- a/src/updater_window.vala +++ b/src/updater_window.vala @@ -63,9 +63,7 @@ namespace Pamac { bottom_label.visible = false; apply_button.get_style_context ().add_class (Gtk.STYLE_CLASS_SUGGESTED_ACTION); - details_button.visible = false; - cancel_button.visible = false; - transaction_infobox.visible = false; + apply_button.visible = false; stackswitcher.visible = false; aur_scrolledwindow.visible = false; transaction_running = false; @@ -169,6 +167,10 @@ namespace Pamac { [GtkCallback] void on_refresh_button_clicked () { this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH)); + transaction_infobox.visible = true; + apply_button.visible = false; + details_button.visible = true; + cancel_button.visible = true; transaction.start_refresh (false); }