Skip to content

Commit

Permalink
Applied patch in ticket #113, with some minor modifications.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5449 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed May 13, 2006
1 parent a477f66 commit afcb258
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions src/gui/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,15 @@ void QgisApp::createActions()
// Digitising Toolbar Items
//

mActionStartEditing = new QAction(QIcon(myIconPath+"/mActionStartEditing.png"), tr("Start Editing"), this);
mActionStartEditing = new QAction(QIcon(myIconPath+"/mActionStartEditing.png"),
tr("Start editing the current layer"), this);
connect(mActionStartEditing, SIGNAL(triggered()), this, SLOT(startEditing()));
mActionStopEditing = new QAction(QIcon(myIconPath+"/mActionStopEditing.png"), tr("Stop Editing"), this);
//
mActionStopEditing = new QAction(QIcon(myIconPath+"/mActionStopEditing.png"),
tr("Stop editing the current layer"), this);
mActionStopEditing->setStatusTip(tr("Stop editing the current layer"));
connect(mActionStopEditing, SIGNAL(triggered()), this, SLOT(stopEditing()));
//
mActionCapturePoint= new QAction(QIcon(myIconPath+"/mActionCapturePoint.png"), tr("Capture Point"), this);
mActionCapturePoint->setShortcut(tr(".","Capture Points"));
mActionCapturePoint->setStatusTip(tr("Capture Points"));
Expand Down Expand Up @@ -4106,7 +4111,7 @@ void QgisApp::openURL(QString url, bool useQgisDocDirectory)
QString myHeading = tr("QGIS Browser Selection");
QString myMessage = tr("Enter the name of a web browser to use (eg. konqueror).\n");
myMessage += tr("Enter the full path if the browser is not in your PATH.\n");
myMessage += tr("You can change this option later by selecting Preferences from the Settings menu.");
myMessage += tr("You can change this option later by selecting Options from the Settings menu (Help Browser tab).");
QString text = QInputDialog::getText(myHeading,
myMessage,
QLineEdit::Normal,
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsabout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void QgsAbout::openUrl(QString url)
tr("Enter the name of a web browser to use (eg. konqueror).\n"
"Enter the full path if the browser is not in your PATH.\n"
"You can change this option later by selection Options from"
" the Tools menu."),
" the Settings menu (Help Browser tab)."),
QLineEdit::Normal,
QString::null, &ok, this);
if (ok && !text.isEmpty())
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgscustomprojectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ void QgsCustomProjectionDialog::on_pbnCalculate_clicked()
if ( wgs84Proj == NULL )
{
QMessageBox::information( this, tr("QGIS Custom Projection"),
tr("Internal Error (source projection invalid?") );
tr("Internal Error (source projection invalid?)") );
projectedX->setText("");
projectedY->setText("");
pj_free(myProj);
Expand Down

0 comments on commit afcb258

Please sign in to comment.