From 215438c9e674b642cc757b2c1ec04700c8a1141a Mon Sep 17 00:00:00 2001 From: Mike Massonnet Date: Sun, 2 Nov 2014 13:47:04 +0100 Subject: [PATCH] Do not enforce max length for text/device entries (bug #9869) --- panel-plugin/netload.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index a5f55d9..7acb676 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -992,8 +992,6 @@ static void monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *gl gtk_size_group_add_widget(sg, global->monitor->opt_use_label); global->monitor->opt_entry = gtk_entry_new(); - gtk_entry_set_max_length(GTK_ENTRY(global->monitor->opt_entry), - MAX_LENGTH); gtk_entry_set_text(GTK_ENTRY(global->monitor->opt_entry), global->monitor->options.label_text); gtk_widget_show(global->monitor->opt_entry); @@ -1024,8 +1022,6 @@ static void monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *gl global->monitor->net_entry = gtk_entry_new(); gtk_label_set_mnemonic_widget(GTK_LABEL(device_label), global->monitor->net_entry); - gtk_entry_set_max_length(GTK_ENTRY(global->monitor->net_entry), - MAX_LENGTH); gtk_entry_set_text(GTK_ENTRY(global->monitor->net_entry), global->monitor->options.network_device); gtk_widget_show(global->monitor->opt_entry);