Removed hammond-cli crate, as it not longer needed.

This commit is contained in:
Jordan Petridis
2017-10-22 09:12:12 +03:00
parent 6accae0fbe
commit 14484f6128
8 changed files with 1 additions and 399 deletions
-1
View File
@@ -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>
+1 -4
View File
@@ -45,10 +45,7 @@ pub fn get_headerbar(db: &Arc<Mutex<SqliteConnection>>, stack: &gtk::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();
-3
View File
@@ -61,9 +61,6 @@ fn build_ui(app: &gtk::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();