]> git.pld-linux.org Git - packages/kde4-kdeplasma-addons.git/blobdiff - kde4-kdeplasma-addons-pastebinpld.patch
- up to 4.7.3
[packages/kde4-kdeplasma-addons.git] / kde4-kdeplasma-addons-pastebinpld.patch
index 50bed71fd0bd10c5c4e41b7c7ecf8f2bb40c3d74..637e4442f17eed09ce82be67a6f2d013faf1a2f5 100644 (file)
@@ -1,11 +1,58 @@
---- kdeplasma-addons-4.1.81/applets/pastebin/backends/pastebincom.cpp~ 2008-10-23 02:04:10.000000000 +0300
-+++ kdeplasma-addons-4.1.81/applets/pastebin/backends/pastebincom.cpp  2008-12-07 02:09:15.544630827 +0200
-@@ -24,7 +24,7 @@
- PastebinCOMServer::PastebinCOMServer()
-     : PastebinServer(),
--      m_server("http://pastebin.com")
-+      m_server("http://pld.pastebin.com")
+diff -ur kdeplasma-addons-4.3.90/applets/pastebin/pastebin.cpp kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.cpp
+--- kdeplasma-addons-4.3.90/applets/pastebin/pastebin.cpp      2009-12-17 17:38:19.000000000 +0100
++++ kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.cpp  2010-01-13 13:09:05.205990344 +0100
+@@ -466,7 +466,7 @@
+             break;
+         case Pastebin::PASTEBINCOM:
+-           serverAddress = cg.readEntry("pastebincom", "http://pastebin.com");
++           serverAddress = cg.readEntry("pastebincom", "http://pld.pastebin.com");
+            break;
+     }
+@@ -818,7 +818,7 @@
+                 break;
+             case Pastebin::PASTEBINCOM:
+-                ops.writeEntry("server", cg.readEntry("pastebincom", "http://pastebin.com"));
++                ops.writeEntry("server", cg.readEntry("pastebincom", "http://pld.pastebin.com"));
+                 break;
+         }
+diff -ur kdeplasma-addons-4.3.90/applets/pastebin/pastebin.h kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.h
+--- kdeplasma-addons-4.3.90/applets/pastebin/pastebin.h        2009-12-05 00:09:42.000000000 +0100
++++ kdeplasma-addons-4.3.90.new/applets/pastebin/pastebin.h    2010-01-13 13:28:15.798996766 +0100
+@@ -80,7 +80,7 @@
+         Sending = 8      /* Sending data to the server, waiting for reply */
+     };
+-    enum textServers { PASTEBINCA, PASTEBINCOM };
++    enum textServers { PASTEBINCOM, PASTEBINCA };
+     enum imageServers { IMAGEBINCA, IMAGESHACK, SIMPLESTIMAGEHOSTING, IMGUR };
+ public slots:
+diff -ur kdeplasma-addons-4.3.90/dataengines/pastebin/backends/pastebincom.h kdeplasma-addons-4.3.90.new/dataengines/pastebin/backends/pastebincom.h
+--- kdeplasma-addons-4.3.90/dataengines/pastebin/backends/pastebincom.h        2009-09-04 13:31:16.000000000 +0200
++++ kdeplasma-addons-4.3.90.new/dataengines/pastebin/backends/pastebincom.h    2010-01-13 13:10:03.552445605 +0100
+@@ -27,7 +27,7 @@
+ #include <kio/global.h>
+ #include <kio/job.h>
+-#define PASTEBINCOM_SERVER "http://pastebin.com"
++#define PASTEBINCOM_SERVER "http://pld.pastebin.com"
+ class PastebinCOMServer : public PastebinServer
  {
- }
+diff -ur kdeplasma-addons-4.3.90/dataengines/pastebin/pastebinservice.h kdeplasma-addons-4.3.90.new/dataengines/pastebin/pastebinservice.h
+--- kdeplasma-addons-4.3.90/dataengines/pastebin/pastebinservice.h     2009-10-15 18:34:11.000000000 +0200
++++ kdeplasma-addons-4.3.90.new/dataengines/pastebin/pastebinservice.h 2010-01-13 13:28:35.522328387 +0100
+@@ -34,7 +34,7 @@
+     Q_OBJECT
+ public:
+-    enum textServers { PASTEBINCA, PASTEBINCOM };
++    enum textServers { PASTEBINCOM, PASTEBINCA };
+     enum imageServers { IMAGEBINCA, IMAGESHACK, SIMPLESTIMAGEHOSTING, IMGUR };
  
+     PastebinService(PastebinEngine *engine);
+
This page took 0.07822 seconds and 4 git commands to generate.