diff --git a/resources/manager_window.ui b/resources/manager_window.ui index 93c3152..455b644 100644 --- a/resources/manager_window.ui +++ b/resources/manager_window.ui @@ -700,117 +700,22 @@ vertical 6 - - True - True - False - start - - - - True - False - go-previous-symbolic - 1 - - - - - - False - True - 0 - - - - + True False vertical 6 - + True False - vertical - 6 - - - True - False - start - 6 - 6 - 6 - 6 - 6 - 6 - True - - - False - True - 0 - - - - - True - False - start - 6 - 6 - 6 - 6 - 6 - 6 - True - - - False - True - 1 - - - - - True - False - start - 6 - 6 - 6 - 6 - 6 - 6 - - - False - True - 2 - - - - - True - False - start - 6 - 6 - 6 - 6 - 6 - 6 - True - - - False - True - 3 - - + start + 6 + 6 + 6 + 6 + 6 + 6 False @@ -819,10 +724,16 @@ - + True False - properties_stack + start + 6 + 6 + 6 + 6 + 6 + 6 False @@ -831,142 +742,190 @@ - + True False + start + 6 + 6 + 6 + 6 + 6 + 6 + + + False + True + 2 + + + + + True + False + start + 6 + 6 + 6 + 6 + 6 + 6 + + + False + True + 3 + + + + + False + True + 0 + + + + + True + False + properties_stack + + + False + True + 1 + + + + + True + False + + + True + True + in - + True True - in + False + False + False + 0 + False + + + none + + - - True - True - False - False - False - 0 - False - - - none - - + + autosize - - autosize - - - 0 - word - - - 0 - - + + 0 + word + + 0 + + + + + + autosize - - autosize - - - word - - - 1 - - + + word + + 1 + - - details - Details - - - - - True - True - in - - - True - True - False - False - False - False - True - - - - - - - autosize - - - 0 - - - 0 - - - - - - - autosize - - - - 1 - - - - - - - - - deps - Dependencies - 1 - - - - - True - True - in - - - True - True - 3 - False - 6 - 6 - False - name - - - - - files - Files - 2 - - True - True + details + Details + + + + + True + True + in + + + True + True + False + False + False + False + True + + + + + + + autosize + + + 0 + + + 0 + + + + + + + autosize + + + + 1 + + + + + + + + + deps + Dependencies + 1 + + + + + True + True + in + + + True + True + 3 + False + 6 + 6 + False + name + + + + + files + Files 2 @@ -991,6 +950,26 @@ True False True + + + True + True + False + start + + + + True + False + go-previous-symbolic + 1 + + + + + True diff --git a/src/manager_window.vala b/src/manager_window.vala index 4c72ea4..5198cd3 100644 --- a/src/manager_window.vala +++ b/src/manager_window.vala @@ -49,6 +49,8 @@ namespace Pamac { [GtkChild] Gtk.Stack main_stack; [GtkChild] + Gtk.Button button_back; + [GtkChild] Gtk.TreeView packages_treeview; [GtkChild] Gtk.TreeViewColumn packages_state_column; @@ -140,6 +142,7 @@ namespace Pamac { Object (application: application); support_aur (false, false); + button_back.visible = false; transaction_infobox.visible = false;; refreshing = false; transaction_running = false; @@ -1396,10 +1399,12 @@ namespace Pamac { void on_main_stack_visible_child_changed () { switch (main_stack.visible_child_name) { case "browse": + button_back.visible = false; filters_stackswitcher.visible = true; break; case "details": filters_stackswitcher.visible = false; + button_back.visible = true; break; default: break;