[rkward-cvs] SF.net SVN: rkward:[2397] trunk/rkward/rkward/misc/rkstandardicons.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Nov 24 14:00:35 UTC 2008


Revision: 2397
          http://rkward.svn.sourceforge.net/rkward/?rev=2397&view=rev
Author:   tfry
Date:     2008-11-24 14:00:35 +0000 (Mon, 24 Nov 2008)

Log Message:
-----------
Some icon names have changed in the oxygen theme. Adjust to that.

Modified Paths:
--------------
    trunk/rkward/rkward/misc/rkstandardicons.cpp

Modified: trunk/rkward/rkward/misc/rkstandardicons.cpp
===================================================================
--- trunk/rkward/rkward/misc/rkstandardicons.cpp	2008-11-24 13:59:43 UTC (rev 2396)
+++ trunk/rkward/rkward/misc/rkstandardicons.cpp	2008-11-24 14:00:35 UTC (rev 2397)
@@ -50,10 +50,10 @@
 	icons[ActionAddRight] = KIcon ("arrow-right");
 	icons[ActionRemoveLeft] = KIcon ("arrow-left");
 
-	icons[ActionMoveLeft] = KIcon("go-previous");
-	icons[ActionMoveRight] = KIcon("go-next");
-	icons[ActionMoveUp] = KIcon("go-up");
-	icons[ActionMoveDown] = KIcon("go-down");
+	icons[ActionMoveLeft] = KIcon ("go-previous");
+	icons[ActionMoveRight] = KIcon ("go-next");
+	icons[ActionMoveUp] = KIcon ("go-up");
+	icons[ActionMoveDown] = KIcon ("go-down");
 
 	icons[ActionDetachWindow] = KIcon ("view-fullscreen");
 	icons[ActionAttachWindow] = KIcon ("view-restore");
@@ -66,28 +66,36 @@
 	icons[ObjectEnvironment] = KIcon ("konqueror");
 	icons[ObjectPackageEnvironment] = KIcon ("ark");
 	icons[ObjectMatrix] = QIcon (rkward_icon_base + "matrix.png");
-	icons[ObjectDataFrame] = KIcon ("table");
+	icons[ObjectDataFrame] = KIcon ("x-office-spreadsheet");
 	icons[ObjectDataNumeric] = QIcon (rkward_icon_base + "data-numeric.png");
 	icons[ObjectDataFactor] = QIcon (rkward_icon_base + "data-factor.png");
-	icons[ObjectDataCharacter] = KIcon ("text");
+	icons[ObjectDataCharacter] = KIcon ("draw-text");
 	icons[ObjectDataLogical] = QIcon (rkward_icon_base + "data-logical.png");
 	icons[ObjectDataUnknown] = KIcon ("unknown");
 	icons[ObjectDataOther] = icons[ActionDeleteRow];
-	icons[ObjectObjectList] = KIcon ("view-tree");
+	icons[ObjectObjectList] = KIcon ("view-list-tree");
 
 	// windows
 	icons[WindowDataFrameEditor] = icons[ObjectDataFrame];
-	icons[WindowCommandEditor] = KIcon ("make");	// this may not be the most obvious choice, but it is not quite as awfully close to the data.frame editor icons as most other text icons
+	icons[WindowCommandEditor] = KIcon ("text-x-makefile");	// this may not be the most obvious choice, but it is not quite as awfully close to the data.frame editor icons as most other text icons
 	icons[WindowOutput] = KIcon ("xclipboard");
 	icons[WindowHelp] = KIcon ("help-contents");
 	icons[WindowX11] = KIcon ("x");
 	icons[WindowObject] = KIcon ("zoom-best-fit");
 	icons[WindowConsole] = KIcon ("konsole");
 	icons[WindowCommandLog] = KIcon ("format-justify-left");
-	icons[WindowWorkspaceBrowser] = KIcon("fileview-detailed");
+	icons[WindowWorkspaceBrowser] = icons[ObjectObjectList];
 	icons[WindowSearchHelp] = KIcon ("help-contents");
 	icons[WindowPendingJobs] = KIcon ("system-run");
 	icons[WindowFileBrowser] = KIcon ("document-open");
+
+/*	This does not work, as the icons are not really Null in this case, but some default icon. Any way to really test this?
+	RK_DO ({
+		for (int i = ActionRunAll; i < Last; ++i) {
+			if (icons[i].isNull ()) qDebug ("Icon %d could not be loaded", i);
+		}
+	}, MISC, DL_ERROR);
+*/
 }
 
 QIcon RKStandardIcons::iconForObject (const RObject* object) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list