Please, don't hardcode GUI

From: Hubert Figuiere (
Date: Tue Jan 06 2004 - 18:46:17 EST

  • Next message: Nathan Bullock: "Question about dialog code"


    Please don't hardcode GUI too much. Even more: avoid doing that in
    platform code.

    One recent example in class AP_UnixDialog_FormatTable and
    Thickness strings are hardcoded into the .glade file, and then they
    are repeated in the *platform code*. So if you want to change them,
    you need to change 2 files, and it changes only in one platform.

    This is wrong !!!

    This should be in the XP class, and even more, these values should be
    in the text/ sub-tree....

    I'm might change that soon, at the risk of breaking non UNIX
    platforms. You'll be warned one more time.


    AbiWord maintainer - Lille, France 
    GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433  239A 5FEE 05E6 A56E 15A3

    This archive was generated by hypermail 2.1.4 : Tue Jan 06 2004 - 18:45:40 EST