From 8a3739a78623be0434da75e890ea07d54fd3f208 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 30 Apr 2025 02:03:01 -0700 Subject: add comment --- remote_plot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/remote_plot.c b/remote_plot.c index bd0c503..ae50612 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -627,6 +627,7 @@ static void activate (GtkApplication *app, gpointer user_data) data->to_entry = gtk_entry_new(); // TODO: gtk_entry_set_placeholder_text() //gtk_entry_set_placeholder_text(GTK_ENTRY(data->from_entry),"..."); + // unix time now is about 10 char gtk_entry_set_max_length(GTK_ENTRY(data->from_entry),10); gtk_entry_set_max_length(GTK_ENTRY(data->to_entry),10); gtk_box_append(GTK_BOX(from_box), data->from_entry); -- cgit v1.2.3-70-g09d2