Skip to content

Commit

Permalink
remove references to Extract projection tool which was pushed by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Dec 22, 2011
1 parent 902c31d commit cfb35b7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions python/plugins/GdalTools/GdalTools.py
Expand Up @@ -115,11 +115,7 @@ def initGui( self ):
self.projection.setStatusTip( QCoreApplication.translate( "GdalTools", "Add projection info to the raster" ) )
QObject.connect( self.projection, SIGNAL( "triggered()" ), self.doProjection )

self.extractProj = QAction( QIcon( ":icons/projection-export.png" ), QCoreApplication.translate( "GdalTools", "Extract projection" ), self.iface.mainWindow() )
self.extractProj.setStatusTip( QCoreApplication.translate( "GdalTools", "Extract projection information from raster(s)" ) )
QObject.connect( self.extractProj, SIGNAL( "triggered()" ), self.doExtractProj )

self.projectionsMenu.addActions( [ self.warp, self.projection, self.extractProj ] )
self.projectionsMenu.addActions( [ self.warp, self.projection ] )

# conversion menu (Rasterize (Vector to raster), Polygonize (Raster to vector), Translate, RGB to PCT, PCT to RGB)
self.conversionMenu = QMenu( QCoreApplication.translate( "GdalTools", "Conversion" ) )
Expand Down Expand Up @@ -345,11 +341,6 @@ def doTileIndex( self ):
d = TileIndex( self.iface )
self.runToolDialog( d )

def doExtractProj( self ):
from tools.doExtractProj import GdalToolsDialog as ExtractProj
d = ExtractProj( self.iface )
d.exec_()

def doDEM( self ):
from tools.doDEM import GdalToolsDialog as DEM
d = DEM( self.iface )
Expand Down
Binary file removed python/plugins/GdalTools/icons/projection-export.png
Binary file not shown.
1 change: 0 additions & 1 deletion python/plugins/GdalTools/resources.qrc
Expand Up @@ -19,7 +19,6 @@
<file>icons/tileindex.png</file>
<file>icons/about.png</file>
<file>icons/dem.png</file>
<file>icons/projection-export.png</file>
<file>icons/24-to-8-bits.png</file>
<file>icons/8-to-24-bits.png</file>
<file>icons/edit.png</file>
Expand Down

0 comments on commit cfb35b7

Please sign in to comment.