[rkward-cvs] SF.net SVN: rkward:[3706] trunk/rkward/rkward
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sun Jul 31 14:33:08 UTC 2011
Revision: 3706
http://rkward.svn.sourceforge.net/rkward/?rev=3706&view=rev
Author: tfry
Date: 2011-07-31 14:33:08 +0000 (Sun, 31 Jul 2011)
Log Message:
-----------
Better icon for vignettes.
Modified Paths:
--------------
trunk/rkward/rkward/misc/rkstandardicons.cpp
trunk/rkward/rkward/misc/rkstandardicons.h
trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp
Modified: trunk/rkward/rkward/misc/rkstandardicons.cpp
===================================================================
--- trunk/rkward/rkward/misc/rkstandardicons.cpp 2011-07-31 14:24:20 UTC (rev 3705)
+++ trunk/rkward/rkward/misc/rkstandardicons.cpp 2011-07-31 14:33:08 UTC (rev 3706)
@@ -107,6 +107,8 @@
icons[WindowPendingJobs] = KIcon ("system-run");
icons[WindowFileBrowser] = KIcon ("folder");
+ icons[DocumentPDF] = KIcon ("application-pdf");
+
/* 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) {
Modified: trunk/rkward/rkward/misc/rkstandardicons.h
===================================================================
--- trunk/rkward/rkward/misc/rkstandardicons.h 2011-07-31 14:24:20 UTC (rev 3705)
+++ trunk/rkward/rkward/misc/rkstandardicons.h 2011-07-31 14:33:08 UTC (rev 3706)
@@ -103,6 +103,8 @@
WindowPendingJobs,
WindowFileBrowser,
+ DocumentPDF,
+
Last /**< not really an item, only the count of items available. Do not use. */
};
Modified: trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp 2011-07-31 14:24:20 UTC (rev 3705)
+++ trunk/rkward/rkward/windows/rkhelpsearchwindow.cpp 2011-07-31 14:33:08 UTC (rev 3706)
@@ -317,7 +317,7 @@
} else if ((col == 0) && (role == Qt::DecorationRole)) {
if (types[col] == "help") return RKStandardIcons::getIcon (RKStandardIcons::WindowHelp);
if (types[col] == "demo") return RKStandardIcons::getIcon (RKStandardIcons::WindowCommandEditor);
- if (types[col] == "vignette") return RKStandardIcons::getIcon (RKStandardIcons::WindowFileBrowser); // TODO: find a better icon
+ if (types[col] == "vignette") return RKStandardIcons::getIcon (RKStandardIcons::DocumentPDF);
}
} else {
RK_ASSERT (false);
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