Re: [PATCH] Expense conduit



On Tue, 9 Nov 1999, Eskil Heyn Olsen wrote:

> On Mon, 8 Nov 1999, Patrick Decowski wrote:
> 
> > 	- what is the default Sync directory if the user does not 
> > 	specify where? i chose ~/pilot/Expense - the 'pilot' coming
> > 	from the backup conduit. 
> 
> Probably quite ok for now, but perhaps I should add a get_pilot_dir call
> for the conduits, that returns whatever the user wants, and conduits then
> place directories there unless the user has specified an absolute path.

that is exactly the type of functionality that i was thinking of. 

> 
> > 	- do we just use g_error and g_warning if errors occur inside
> > 	the conduit while syncing? shouldn't there be a more uniform 
> > 	dialog box, so that it is absolutely clear that the error has 
> > 	to do with gnome-pilot?
> 
> The error dialog (I presume you mean the sigsegv error box) is a
> GnomeThing, not gpilotd. You should not use g_error unlesss extremely
> absolutely muymuy important. Muymuy important is eg. mallocing 10 bytes
> and failing.
> 

well, i hope that we don't have to display the SEGV box too often ;->!
i was more thinking of an error like 'can't open file' due to some
cause that can occur during Syncing. do we just use the standard gnome
dialog boxes or shouldn't there be a general gpilotd_error box, that
clearly identifies that the error occured during a sync and in which
conduit specifically? i agree that g_error (-> abort) is kind of
harsh... 

> > 	- can anyone think of a nicer 'filepermissions' interface than
> > 	numeric values? 
> 
> Start gmc, rightclick one of the icons, choose properties and choose
> permissions. Thats an ok interface, perhaps you can rip it from gmc.

hmmm, i had the same idea and i looked at it and found it kind of 
clunky... something about the buttons being too big or so... 

> 
> > 	- some other stuff, but i forgot... time for bed? 
> 
> Most likely, it always is.
> 
> > anyway, below is the patch. the patch modifies the configure.in and
> > conduits/Makefile.am files and has the new conduits/expense
> > directory.
> 
> Excellente. I've the whole thing to CVS. If you want to maintain/expand 
> it, you should get CVS access. Mail me a login and an encrypted password
> (like the ones in /etc/passwd, but not the one you use, for security
> reasons), and I can ask Miguel to open a CVS account for you.

i'll mail you a login, meanwhile it seems that configure.in didn't get
patched with the patch i sent you, therefore it will not create the
Makefile in expense - and the overall make will stop... 

> 
> > have fun and don't spend too much money trying it - if you do, you 
> 
> Luckily I've only used the pilots expense to track company money :)

same here - using it at this moment while i am at beautiful brookhaven
national lab... 

patrick.

-------------------------------------------o-------------------------------
Patrick Decowski                           |
24-507                                     |    Home:      (617)625-9352
Massachusetts Institute of Technology      |    Cell:      (617)308-6737
77 Massachusetts Ave                       |    Office:    (617)253-1779
Cambridge, MA 02139-4307                   |    Fax:       (617)253-1755
-------------------------------------------o-------------------------------
http://web.mit.edu/decowski/www/home.html  |    e-mail: decowski@mit.edu
-------------------------------------------o-------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]