Merge from trunk to version ed52f4f469 "Updated make-app-bundle script to use new template for file name"
This commit is contained in:
@@ -504,18 +504,25 @@ void EditorPanel::error (Glib::ustring descr) {
|
||||
|
||||
void EditorPanel::info_toggled () {
|
||||
|
||||
if(!ipc)
|
||||
return;
|
||||
Glib::ustring infoString;
|
||||
|
||||
const rtengine::ImageMetaData* idata = ipc->getInitialImage()->getMetaData();
|
||||
if (idata && idata->hasExif())
|
||||
infoString = Glib::ustring::compose ("%1 %2\nF/%3 %4 sec\n%5: %6\n%7: %8 mm\n",
|
||||
Glib::ustring(idata->getMake()), Glib::ustring(idata->getModel()),
|
||||
Glib::ustring(idata->apertureToString(idata->getFNumber())), Glib::ustring(idata->shutterToString(idata->getShutterSpeed())),
|
||||
// infoString = Glib::ustring::compose ("%1 %2\nF/%3 %4 sec\n%5: %6\n%7: %8 mm\n",
|
||||
// Glib::ustring(idata->getMake()), Glib::ustring(idata->getModel()),
|
||||
// Glib::ustring(idata->apertureToString(idata->getFNumber())), Glib::ustring(idata->shutterToString(idata->getShutterSpeed())),
|
||||
// M("QINFO_ISO"), idata->getISOSpeed(),
|
||||
// M("QINFO_FOCALLENGTH"), idata->getFocalLen())
|
||||
// + Glib::ustring::compose ("%1: %2", M("QINFO_LENS"), Glib::ustring(idata->getLens()));
|
||||
infoString = Glib::ustring::compose (
|
||||
"%1 + %2\n<span size=\"xx-large\">%3</span>s f/<span size=\"xx-large\">%4</span> %5<span size=\"xx-large\">%6</span> f=<span size=\"xx-large\">%7</span>mm",
|
||||
Glib::ustring(idata->getModel()),
|
||||
Glib::ustring(idata->getLens()),
|
||||
Glib::ustring(idata->shutterToString(idata->getShutterSpeed())),
|
||||
Glib::ustring(idata->apertureToString(idata->getFNumber())),
|
||||
M("QINFO_ISO"), idata->getISOSpeed(),
|
||||
M("QINFO_FOCALLENGTH"), idata->getFocalLen())
|
||||
+ Glib::ustring::compose ("%1: %2", M("QINFO_LENS"), Glib::ustring(idata->getLens()));
|
||||
idata->getFocalLen()
|
||||
);
|
||||
else
|
||||
infoString = M("QINFO_NOEXIF");
|
||||
|
||||
@@ -895,8 +902,8 @@ bool EditorPanel::idle_sentToGimp(ProgressConnector<int> *pc,rtengine::IImage16*
|
||||
|
||||
void EditorPanel::saveOptions () {
|
||||
|
||||
options.historyPanelWidth = hpanedl->get_position ();
|
||||
options.toolPanelWidth = vboxright->get_width ();
|
||||
//options.historyPanelWidth = hpanedl->get_position ();//older code
|
||||
//options.toolPanelWidth = vboxright->get_width ();//older code
|
||||
if (options.startupDir==STARTUPDIR_LAST && fCatalog->lastSelectedDir ()!="")
|
||||
options.startupPath = fCatalog->lastSelectedDir ();
|
||||
}
|
||||
@@ -986,4 +993,4 @@ bool EditorPanel::on_expose_event(GdkEventExpose* event)
|
||||
fCatalog->redrawAll();
|
||||
}
|
||||
return Gtk::VBox::on_expose_event(event);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user