GNOME Bugzilla – Bug 330525
Magic values for kind of network in the druid
Last modified: 2006-05-18 18:37:54 UTC
Report in french, since it was written like this in my mail, and I want it around for myself to care about : il y a aussi des valeurs magiques dans le druide, pour le type de réseau. Cependant, la valeur est trouvée en regardant le numéro d'ordre d'un choix dans une liste... ce qui me semble fragile. :-/ L'idéal serait de pouvoir associer une valeur à chaque item du choix, et récupérer non pas le numéro d'item, mais cette valeur.
Fixed
No, it isn't fixed : look at kind_of_net_hack_cb's declaration : there is a nice comment that shows magic values are used. I do have send a patch for other magic values, but I opened this bug report because I couldn't fix that one yet, and wanted to keep it in sight :-)
Created attachment 63011 [details] [review] Should fix the problem Not tested yet, but it compiles ;-)
Updated and tested. Doesn't seem to crash: must be good ;-)