]> git.pld-linux.org Git - packages/kde4-kdeplasma-addons.git/blob - kde4-kdeplasma-addons-pastebinpld.patch
- 4.4.5
[packages/kde4-kdeplasma-addons.git] / kde4-kdeplasma-addons-pastebinpld.patch
1 diff -ur kdeplasma-addons-4.3.90/applets/pastebin/pastebin.cpp kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.cpp
2 --- kdeplasma-addons-4.3.90/applets/pastebin/pastebin.cpp       2009-12-17 17:38:19.000000000 +0100
3 +++ kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.cpp   2010-01-13 13:09:05.205990344 +0100
4 @@ -466,7 +466,7 @@
5              break;
6  
7          case Pastebin::PASTEBINCOM:
8 -           serverAddress = cg.readEntry("pastebincom", "http://pastebin.com");
9 +           serverAddress = cg.readEntry("pastebincom", "http://pld.pastebin.com");
10             break;
11      }
12  
13 @@ -818,7 +818,7 @@
14                  break;
15  
16              case Pastebin::PASTEBINCOM:
17 -                ops.writeEntry("server", cg.readEntry("pastebincom", "http://pastebin.com"));
18 +                ops.writeEntry("server", cg.readEntry("pastebincom", "http://pld.pastebin.com"));
19                  break;
20          }
21  
22 diff -ur kdeplasma-addons-4.3.90/applets/pastebin/pastebin.h kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.h
23 --- kdeplasma-addons-4.3.90/applets/pastebin/pastebin.h 2009-12-05 00:09:42.000000000 +0100
24 +++ kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.h     2010-01-13 13:28:15.798996766 +0100
25 @@ -70,7 +70,7 @@
26          Sending = 8      /* Sending data to the server, waiting for reply */
27      };
28  
29 -    enum textServers { PASTEBINCA, PASTEBINCOM };
30 +    enum textServers { PASTEBINCOM, PASTEBINCA };
31      enum imageServers { IMAGEBINCA, IMAGESHACK, SIMPLESTIMAGEHOSTING };
32  
33  public slots:
34 diff -ur kdeplasma-addons-4.3.90/dataengines/pastebin/backends/pastebincom.h kdeplasma-addons-4.3.90.new/dataengines/pastebin/backends/pastebincom.h
35 --- kdeplasma-addons-4.3.90/dataengines/pastebin/backends/pastebincom.h 2009-09-04 13:31:16.000000000 +0200
36 +++ kdeplasma-addons-4.3.90.new/dataengines/pastebin/backends/pastebincom.h     2010-01-13 13:10:03.552445605 +0100
37 @@ -27,7 +27,7 @@
38  #include <kio/global.h>
39  #include <kio/job.h>
40  
41 -#define PASTEBINCOM_SERVER "http://pastebin.com"
42 +#define PASTEBINCOM_SERVER "http://pld.pastebin.com"
43  
44  class PastebinCOMServer : public PastebinServer
45  {
46 diff -ur kdeplasma-addons-4.3.90/dataengines/pastebin/pastebinservice.h kdeplasma-addons-4.3.90.new/dataengines/pastebin/pastebinservice.h
47 --- kdeplasma-addons-4.3.90/dataengines/pastebin/pastebinservice.h      2009-10-15 18:34:11.000000000 +0200
48 +++ kdeplasma-addons-4.3.90.new/dataengines/pastebin/pastebinservice.h  2010-01-13 13:28:35.522328387 +0100
49 @@ -38,7 +38,7 @@
50      Q_OBJECT
51  
52  public:
53 -    enum textServers { PASTEBINCA, PASTEBINCOM };
54 +    enum textServers { PASTEBINCOM, PASTEBINCA };
55      enum imageServers { IMAGEBINCA, IMAGESHACK, SIMPLESTIMAGEHOSTING };
56  
57      PastebinService(PastebinEngine *engine);
This page took 0.139556 seconds and 3 git commands to generate.