Commit c4274748 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

librem5: storage-view: Hide the action bar

parent d2c54544
......@@ -18,6 +18,7 @@
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="no-show-all">True</property>
<property name="orientation">vertical</property>
<child>
<object class="HdyLeaflet" id="leaflet">
......@@ -38,7 +39,7 @@
</child>
<child>
<object class="GtkRevealer" id="revealer">
<property name="visible">True</property>
<property name="visible">False</property>
<property name="transition-type">slide-up</property>
<property name="transition-duration">400</property>
</object>
......
......@@ -52,6 +52,7 @@ namespace Usage
graph.hexpand = true;
graph.vexpand = true;
graph.width_request = 300;
graph.show();
leaflet.add(graph);
action_bar = new StorageActionBar();
......@@ -85,8 +86,6 @@ namespace Usage
public void show_action_bar(bool show)
{
revealer.set_reveal_child(show);
action_bar.hide_all();
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment