Re: top 10 gruesome gnome2 bug list



Luis Villa <louie ximian com> writes: 
> 10) Menu editing still reeks like French cheese. If George doesn't
> seriously tackle this soon, someone else with 1337 hacking skillz needs
> to think about taking this on as a pet project RSN. [Sorry, George :/
> 	*http://bugzilla.gnome.org/show_bug.cgi?id=72715 and blocking/dependent
> family: http://bugzilla.gnome.org/showdependencytree.cgi?id=72715
> 

George if you look at this I had some comments about it, in addition
to fixing the bugs:

 - XML is not case-insensitive. Should probably not use strcasecmp()
   when parsing it.

 - we don't have any way that I see to give different menus to
   different users, or lock down the menus. These are hugely popular
   sysadmin requests. Suggest maybe storing the URI of a user's menu
   query in gconf, so if the key isn't writable you can't switch over
   to a URI in your home dir.

 - is there any way to avoid copying the system query and 
   modifying it in order to do edits? right now if I add
   a menu item, I'll never see changes to the system query,
   right?

   A possible solution is to basically store the user changes as a
   diff (just adds/removes) rather than as a query.  So to load the
   menus you'd run the system query, then process the log of
   removals/additions and ignore errors. Or something.  Maybe a bad
   idea to complicate things this way, I guess.

Havoc



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