>>>>> "Rene" == Rene Huber <[email protected]> writes:

    Rene> I have followed instructions properly this time, the patch should
    Rene> contain proper information now.

Indeed !

    Rene> # Bazaar merge directive format 2 (Bazaar 0.90)
    Rene> # revision_id: rhu...@ubuntu-20090703214625-hdi83fta48zwq88t
    Rene> # target_branch: lp:bzr-gtk
    Rene> # testament_sha1: 0a80f578dc82e4fc08f7c24942ca64fc0e3b2a08
    Rene> # timestamp: 2009-07-03 17:47:35 -0400
    Rene> # base_revision_id: [email protected]\
    Rene> #   rjqsdruojz6ca0r5
    Rene> # 
    Rene> # Begin patch
    Rene> === modified file 'diff.py'
    Rene> --- diff.py   2009-06-12 14:22:05 +0000
    Rene> +++ diff.py   2009-07-03 21:46:25 +0000
    Rene> @@ -66,7 +66,12 @@
    Rene>          if have_gtksourceview:
    Rene>              self.buffer = gtksourceview2.Buffer()
    Rene>              slm = gtksourceview2.LanguageManager()
    Rene> -            gsl = slm.guess_language(content_type="text/x-patch")
    Rene> +            gsl = None
    Rene> +            for lang_id in slm.get_language_ids():
    Rene> +                lang = slm.get_language(lang_id)
    Rene> +                if "text/x-patch" in lang.get_mime_types():
    Rene> +                    gsl = lang
    Rene> +                    break
    Rene>              if have_gconf:
    Rene>                  self.apply_gedit_colors(self.buffer)
    Rene>              self.apply_colordiff_colors(self.buffer)

BB:approve

That sounds trivial enough to not require further testing.

     Vincent

-- 
bzr-gtk mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.canonical.com/mailman/listinfo/bzr-gtk

Reply via email to