some updater display fixes

This commit is contained in:
guinux 2016-05-04 15:59:42 +02:00
parent 13a043d520
commit 24090fafce
2 changed files with 6 additions and 4 deletions

View File

@ -129,7 +129,7 @@
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
<property name="resizable">True</property>
<property name="sizing">fixed</property>
<property name="fixed_width">40</property>
<property name="fixed_width">50</property>
<property name="min_width">20</property>
<property name="title" translatable="yes">State</property>
<child>

View File

@ -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);
}