~ubuntu-branches/ubuntu/raring/konversation/raring

« back to all changes in this revision

Viewing changes to debian/patches/debian/dbug_autoreplace.diff

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-06-07 16:24:06 UTC
  • Revision ID: james.westby@ubuntu.com-20100607162406-vflxoc1nfhxd9t7v
Tags: 1.3-0ubuntu1
* New upstream release:
  - Drop backport_aa233e3_close_buttons_fix.diff, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Modestas Vainius <modestas@vainius.eu>
 
2
Subject: [PATCH] debian/dbug_autoreplace
 
3
 
 
4
Add a default autoreplace which replaces dbug:bugnumber with
 
5
the respective Debian BTS URL.
 
6
 
 
7
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
 
8
 
 
9
---
 
10
 src/config/preferences.cpp |    1 +
 
11
 1 files changed, 1 insertions(+), 0 deletions(-)
 
12
 
 
13
diff --git a/src/config/preferences.cpp b/src/config/preferences.cpp
 
14
index 0371bc2..27bdacd 100644
 
15
--- a/src/config/preferences.cpp
 
16
+++ b/src/config/preferences.cpp
 
17
@@ -121,6 +121,7 @@ const QList<QStringList> Preferences::defaultAutoreplaceList()
 
18
     QList<QStringList> defaultList;
 
19
     defaultList.append(QStringList() << "1" << "o" << "\\[\\[([^\\s]+)\\]\\]" << "http://en.wikipedia.org/wiki/Special:Search?go=Go&search=%1");
 
20
     defaultList.append(QStringList() << "1" << "o" << "(BUG:|bug:)([0-9]+)" << "https://bugs.kde.org/show_bug.cgi?id=%2");
 
21
+    defaultList.append(QStringList() << "1" << "o" << "([Dd][Bb][Uu][Gg]:)(\\w+)" << "http://bugs.debian.org/%2");
 
22
     return defaultList;
 
23
 }
 
24
 
 
25
-- 
 
26
tg: (704a89b..) debian/dbug_autoreplace (depends on: upstream)