From: Jens Axboe Date: Wed, 14 Mar 2012 19:19:49 +0000 (+0100) Subject: gfio: remove stale comment, hiding menu items DOES work now X-Git-Tag: gfio-0.1~143 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=3b30a7a18f7641400bd83473b40981a42ca49348 gfio: remove stale comment, hiding menu items DOES work now Signed-off-by: Jens Axboe --- diff --git a/gfio.c b/gfio.c index 2d28ca8f..03d25e19 100644 --- a/gfio.c +++ b/gfio.c @@ -454,10 +454,6 @@ static void update_button_states(struct gui *ui, struct gui_entry *ge) gtk_widget_set_sensitive(ge->button[START_JOB_BUTTON], start_state); gtk_button_set_label(GTK_BUTTON(ge->button[CONNECT_BUTTON]), connect_str); - /* - * So the below doesn't work at all, how to set those menu items - * invisibible... - */ w = gtk_ui_manager_get_widget(ui->uimanager, "/MainMenu/JobMenu/Connect"); gtk_widget_set_sensitive(w, connect_state); gtk_menu_item_set_label(GTK_MENU_ITEM(w), connect_str);