Author: post
Date: 2010-12-05 18:13:58 +0100 (Sun, 05 Dec 2010)
New Revision: 3665

Modified:
   trunk/src/rs-store.c
Log:
Add camera make and model to icon tooltip.

Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c        2010-12-05 16:22:20 UTC (rev 3664)
+++ trunk/src/rs-store.c        2010-12-05 17:13:58 UTC (rev 3665)
@@ -591,6 +591,11 @@
                                        default:
                                                
g_string_printf(store->tooltip_text, _("<big>%s</big>\n\n"), name);
 
+                                               if (metadata->make_ascii != 
NULL)
+                                                       
g_string_append_printf(store->tooltip_text, _("<b>Make</b>: %s\n"), 
metadata->make_ascii);
+                                               if (metadata->model_ascii != 
NULL)
+                                                       
g_string_append_printf(store->tooltip_text, _("<b>Model</b>: %s\n"), 
metadata->model_ascii);
+
                                                if (metadata->focallength > 0)
                                                        
g_string_append_printf(store->tooltip_text, _("<b>Focal length</b>: %dmm\n"), 
metadata->focallength);
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to