[Xfce4-commits] <xfce4-wavelan-plugin:master> Remove the size limit on the name of the interface

Florian Rivoal noreply at xfce.org
Sun Nov 7 12:58:01 CET 2010


Updating branch refs/heads/master
         to 46c1f02c04bc910275603f4c278883363c8131fe (commit)
       from 3844bf462a93793c41efc54617d4d834cf372192 (commit)

commit 46c1f02c04bc910275603f4c278883363c8131fe
Author: Florian Rivoal <frivoal at xfce.org>
Date:   Sun Nov 7 20:49:15 2010 +0900

    Remove the size limit on the name of the interface
    
    The limitation to 10, then 16 was arbitrary, so isn't really worth
    having. Without the limit, users can enter names for interfaces that
    can't possibly exist on the system, but that's not really a drawback,
    as this just means the interface won't be detected. Fix bug 3867.

 panel-plugin/wavelan.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 7ff6856..4b3b735 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -521,7 +521,6 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
   gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 1);
 
   interface = GTK_COMBO (combo)->entry;
-  gtk_entry_set_max_length(GTK_ENTRY(interface), 16);
   if (wavelan->interface != NULL)
     gtk_entry_set_text(GTK_ENTRY(interface), wavelan->interface);
   g_signal_connect(interface, "changed", G_CALLBACK(wavelan_interface_changed),



More information about the Xfce4-commits mailing list