Removed hammond-cli crate, as it not longer needed.
This commit is contained in:
@@ -165,7 +165,6 @@
|
||||
<property name="valign">center</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="search-button-image">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="icon_name">edit-find-symbolic</property>
|
||||
<property name="icon_size">1</property>
|
||||
|
||||
@@ -45,10 +45,7 @@ pub fn get_headerbar(db: &Arc<Mutex<SqliteConnection>>, stack: >k::Stack) -> g
|
||||
// TODO: make it a back arrow button, that will hide when appropriate,
|
||||
// and add a StackSwitcher when more views are added.
|
||||
let stack_clone = stack.clone();
|
||||
home_button.connect_clicked(move |_| {
|
||||
let grid = stack_clone.get_child_by_name("pd_grid").unwrap();
|
||||
stack_clone.set_visible_child(&grid)
|
||||
});
|
||||
home_button.connect_clicked(move |_| stack_clone.set_visible_child_name("pd_grid"));
|
||||
|
||||
let stack_clone = stack.clone();
|
||||
let db_clone = db.clone();
|
||||
|
||||
@@ -61,9 +61,6 @@ fn build_ui(app: >k::Application) {
|
||||
app.connect_activate(move |_| ());
|
||||
}
|
||||
|
||||
// Copied from:
|
||||
// https://github.com/GuillaumeGomez/process-viewer/blob/ \
|
||||
// ddcb30d01631c0083710cf486caf04c831d38cb7/src/process_viewer.rs#L367
|
||||
fn main() {
|
||||
// TODO: make the the logger a cli -vv option
|
||||
loggerv::init_with_level(LogLevel::Info).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user