diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 40dd6ab..92e3e50 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -348,6 +348,16 @@ void on_inspector_update(GtkWidget *self, inspector_window *window){ GtkTextIter titer,titerend; config_str output; if (!strcmp(window->journal_name,"journald")){ + if(self!=window->UpdateButton){ + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowKernelButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->NewMessagesButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowAllBootsButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowAllUnitsButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowInitTreeButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowPriorityButton),"boxInfoMessOK"); + gtk_style_context_remove_class(gtk_widget_get_style_context(window->ShowSinceBootButton),"boxInfoMessOK"); + gtk_style_context_add_class(gtk_widget_get_style_context(self),"boxInfoMessOK"); + } GtkWidget *terminal = (GtkWidget*)window->terminals->first->data; gtk_widget_hide(window->LoggingNotebook); gtk_widget_show(gtk_widget_get_parent(window->JournaldTree));