CVSROOT: /cvs/gnome Module name: gedit Changes by: paolo 06/08/23 09:42:01
Modified files: . : ChangeLog gedit : gedit-document.c gedit-languages-manager.c gedit-languages-manager.h Log message: 2006-08-23 Paolo Maggi <[EMAIL PROTECTED]> Fixes bug #324191 [http://bugzilla.gnome.org/show_bug.cgi?id=324191] â the xml.lang syntax file should include application/vnd.mozilla.xul+xml * gedit/gedit-languages-manager.c (gedit_languages_manager_get_available_languages_sorted) (get_languages_cache) (get_language_from_cache) (add_language_to_cache) (gedit_languages_manager_get_language_from_mime_type): get the language associated to a given mime-type. It takes care for mime-types inheritance. It also uses a cache of already matched mime-type in order to improve performace for frequently used mime-types. * gedit/gedit-languages-manager.h: new prototype for function gedit_languages_manager_get_language_from_mime_type * gedit/gedit-document.c (set_uri): uses the new function gedit_languages_manager_get_language_from_mime_type URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gedit&who=paolo&date=explicit&mindate=2006-08-23%2009:41&maxdate=2006-08-23%2009:43
_______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list