diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-04-30 02:03:01 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-04-30 02:03:01 -0700 |
commit | 8a3739a78623be0434da75e890ea07d54fd3f208 (patch) | |
tree | fc799adbed9aba5a0713c897afd0281497df4138 /remote_plot.c | |
parent | 7c86c3921d26788e7a01f4215b098d7e8f31579e (diff) |
add comment
Diffstat (limited to 'remote_plot.c')
-rw-r--r-- | remote_plot.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |