|
|
|
@ -1952,9 +1952,10 @@ void on_log_edit(GtkWidget *self,main_window *widgets){
|
|
|
|
gtk_widget_set_sensitive(RemoveButton,0);
|
|
|
|
gtk_widget_set_sensitive(RemoveButton,0);
|
|
|
|
gtk_widget_set_sensitive(entry,0);
|
|
|
|
gtk_widget_set_sensitive(entry,0);
|
|
|
|
gtk_widget_set_sensitive(SearchButton,0);
|
|
|
|
gtk_widget_set_sensitive(SearchButton,0);
|
|
|
|
|
|
|
|
protected++;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
g_signal_connect(G_OBJECT(RemoveButton),"clicked",G_CALLBACK(on_log_path_remove),window);
|
|
|
|
g_signal_connect(G_OBJECT(RemoveButton),"clicked",G_CALLBACK(on_log_path_remove),window);
|
|
|
|
g_signal_connect(G_OBJECT(SearchButton),"clicked",G_CALLBACK(on_log_path_choose),window);
|
|
|
|
g_signal_connect(G_OBJECT(SearchButton),"clicked",G_CALLBACK(on_log_path_choose),window);
|
|
|
|
protected++;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!strcmp(name,"journald")) {
|
|
|
|
if (!strcmp(name,"journald")) {
|
|
|
|
gtk_widget_hide(AppendButton);
|
|
|
|
gtk_widget_hide(AppendButton);
|
|
|
|
|