En 12/07/10 15:42, Stephen Paul Weber escribiu: > Hello, > > I am working on OpenPGP integration for modest (probably by tying to gpgme > or executing gpg) and am looking for the best way to modify the message view > UI for signed messages. Ideally there would either be an extra header > lines(s) added that stated good/bad signature from X or (maybe) a toolbar > button with a yes/no valid signature icon and a new window for information > about it (that seems suboptimal).
I'd personally use something similar to what firefox or epiphany do when they ask users to remember passwords, which is to show a toolbar with accept/cancel buttons that is hidden once the user selects one option. > I've been poking around modest-msg-view-window.c and related files trying to > figure out (a) where the message view is set up on opening a message and (b) > can I alter the view of headers from modest source easily, or do I have to > hack the (oh so ugly and evil) ui components of tinymail? Regarding (a) I don't know exactly what you mean but that modest-msg-view-window.c is indeed the window that shows emails. I don't know if you're using master or one of the branches we set up for maemo releases, that changes several things because in the master we did a big refactoring some time ago when we updated the pure gtk+ modest version. The widget that renders the contents of the email is modest-msg-view.c and the one that shows the headers is modest-compact-mail-header-view.c. Regarding (b) yes you can easily add more lines to the headers widget and no, you don't have to touch the ui components of tinymail, which BTW are not evil nor ugly. They're just mostly interfaces. BR _______________________________________________ Modest-devel mailing list Modest-devel@garage.maemo.org https://garage.maemo.org/mailman/listinfo/modest-devel