[PATCH] Complete move of icons in KPilot

Adriaan de Groot groot at kde.org
Wed Feb 23 23:16:57 GMT 2005


On Wed, 23 Feb 2005 a.degroot at science.ru.nl wrote:
> Like a complete d00fus, I forgot to commit the other half of this, which
> is to make KPilot look in the right place for the icons; patch is
> attached. OK to commit? The alternative is a KPilot with no icons and no

Like a complete doofus, you forgot to attach the patch (what, you're not 
using KMail right now?). I've invented one for you.
-------------- next part --------------
Index: kpilot/kpilot/kpilot.cc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/kpilot.cc,v
retrieving revision 1.164
diff -u -3 -p -r1.164 kpilot.cc
--- kpilot/kpilot/kpilot.cc	13 Jan 2005 15:52:41 -0000	1.164
+++ kpilot/kpilot/kpilot.cc	23 Feb 2005 20:21:26 -0000
@@ -298,29 +298,29 @@ void KPilotInstaller::initComponents()
 	w = getManagingWidget()->addVBoxPage(a,QString::null, \
 		(pixfile.isEmpty() ? QPixmap() : QPixmap(pixfile))) ;
 
-	ADDICONPAGE(i18n("HotSync"),CSL1("kpilot/kpilot-bhotsync.png"));
+	ADDICONPAGE(i18n("HotSync"),CSL1("kpilot/icons/kpilot-bhotsync.png"));
 	fLogWidget = new LogWidget(w);
 	addComponentPage(fLogWidget, i18n("HotSync"));
 	fLogWidget->setShowTime(true);
 
-	ADDICONPAGE(i18n("To-do Viewer"),CSL1("kpilot/kpilot-todo.png"));
+	ADDICONPAGE(i18n("To-do Viewer"),CSL1("kpilot/icons/kpilot-todo.png"));
 	addComponentPage(new TodoWidget(w,defaultDBPath),
 		i18n("To-do Viewer"));
 
-	ADDICONPAGE(i18n("Address Viewer"),CSL1("kpilot/kpilot-address.png"));
+	ADDICONPAGE(i18n("Address Viewer"),CSL1("kpilot/icons/kpilot-address.png"));
 	addComponentPage(new AddressWidget(w,defaultDBPath),
 		i18n("Address Viewer"));
 
-	ADDICONPAGE(i18n("Memo Viewer"),CSL1("kpilot/kpilot-knotes.png"));
+	ADDICONPAGE(i18n("Memo Viewer"),CSL1("kpilot/icons/kpilot-knotes.png"));
 	addComponentPage(new MemoWidget(w, defaultDBPath),
 		i18n("Memo Viewer"));
 
-	ADDICONPAGE(i18n("File Installer"),CSL1("kpilot/kpilot-fileinstaller.png"));
+	ADDICONPAGE(i18n("File Installer"),CSL1("kpilot/icons/kpilot-fileinstaller.png"));
 	fFileInstallWidget = new FileInstallWidget(
 		w,defaultDBPath);
 	addComponentPage(fFileInstallWidget, i18n("File Installer"));
 
-	ADDICONPAGE(i18n("Generic DB Viewer"),CSL1("kpilot/kpilot-db.png"));
+	ADDICONPAGE(i18n("Generic DB Viewer"),CSL1("kpilot/icons/kpilot-db.png"));
 	addComponentPage(new GenericDBWidget(w,defaultDBPath),
 		i18n("Generic DB Viewer"));
 


More information about the kde-core-devel mailing list