Icon tweaks and fixes, #4469

Ticks, used for edited image, are now theme-colored.
Missing ticks and missing CD-ROM icons fixed.
This commit is contained in:
Morgan Hardwood
2018-07-17 00:00:32 +02:00
parent 591d3aa667
commit a0021d3348
18 changed files with 134 additions and 24 deletions

View File

@@ -123,7 +123,7 @@ void DirBrowser::fillDirTree ()
openfolder = RTImage::createFromFile ("folder-open-small.png");
closedfolder = RTImage::createFromFile ("folder-closed-small.png");
icdrom = RTImage::createFromFile ("drive-optical.png");
icdrom = RTImage::createFromFile ("device-optical.png");
ifloppy = RTImage::createFromFile ("device-floppy.png");
ihdd = RTImage::createFromFile ("device-hdd.png");
iremovable = RTImage::createFromFile ("device-usb.png");

View File

@@ -56,7 +56,7 @@ FileBrowserEntry::FileBrowserEntry (Thumbnail* thm, const Glib::ustring& fname)
scale = 1;
if (!iconsLoaded) {
editedIcon = RTImage::createFromFile ("tick-green-large");
editedIcon = RTImage::createFromFile ("tick-small.png");
recentlySavedIcon = RTImage::createFromFile ("save-small.png");
enqueuedIcon = RTImage::createFromFile ("gears.png");
hdr = RTImage::createFromFile ("filetype-hdr.png");

View File

@@ -243,10 +243,10 @@ FileCatalog::FileCatalog (CoarsePanel* cp, ToolBar* tb, FilePanel* filepanel) :
// TODO The "g" variant was the more transparent variant of the icon, used
// when the button was not toggled. Simplify this, change to ordinary
// togglebutton, use CSS for opacity change.
iEdited[0] = new RTImage ("tick-green-hollow-small.png");
igEdited[0] = new RTImage ("tick-green-hollow-small.png");
iEdited[1] = new RTImage ("tick-green-small.png");
igEdited[1] = new RTImage ("tick-green-small.png");
iEdited[0] = new RTImage ("tick-hollow-small.png");
igEdited[0] = new RTImage ("tick-hollow-small.png");
iEdited[1] = new RTImage ("tick-small.png");
igEdited[1] = new RTImage ("tick-small.png");
for (int i = 0; i < 2; i++) {
iEdited[i]->show ();