12 changes: 0 additions & 12 deletions build.xml

This file was deleted.

7 changes: 4 additions & 3 deletions python/console_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self):
QtGui.QDialog.__init__(self)
self.setModal(True)
self.setupUi()

def setupUi(self):
self.setMaximumSize(500, 300)
self.webView = QtWebKit.QWebView()
Expand All @@ -58,15 +58,16 @@ def setupUi(self):
qgisDataDir = QgsApplication.pkgDataPath()
listFile = os.listdir(qgisDataDir + "/python/console_help/i18n")
localeFullName = QSettings().value( "locale/userLocale", QVariant( "" ) ).toString()
locale = "en_US"
for i in listFile:
lang = i[0:5]
if localeFullName in (lang[0:2], lang):
locale = lang

filename = qgisDataDir + "/python/console_help/help.htm? \
lang=" + locale \
+ "&pkgDir=" + qgisDataDir

url = QtCore.QUrl(filename)
self.webView.load(url)

Expand Down
3 changes: 0 additions & 3 deletions python/plugins/sextante/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
SET (SEXTANTE_PLUGIN_DIR ${QGIS_DATA_DIR}/python/plugins/sextante)

ADD_SUBDIRECTORY(about)
ADD_SUBDIRECTORY(algs)
ADD_SUBDIRECTORY(core)
ADD_SUBDIRECTORY(ftools)
Expand All @@ -27,6 +26,4 @@ FILE(GLOB PY_FILES *.py)

PYQT4_ADD_RESOURCES(PYRC_FILES resources.qrc)



PLUGIN_INSTALL(sextante . ${PY_FILES} ${OTHER_FILES} ${PYRC_FILES})
10 changes: 0 additions & 10 deletions python/plugins/sextante/SextantePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@ def initGui(self):
QObject.connect(self.helpAction, SIGNAL("triggered()"), self.openHelp)
self.menu.addAction(self.helpAction)

self.aboutAction = QAction(QIcon(":/sextante/images/info.png"),
QCoreApplication.translate("SEXTANTE", "&About SEXTANTE"),
self.iface.mainWindow())
QObject.connect(self.aboutAction, SIGNAL("triggered()"), self.openAbout)
self.menu.addAction(self.aboutAction)

menuBar = self.iface.mainWindow().menuBar()
menuBar.insertMenu(menuBar.actions()[-1], self.menu)

Expand Down Expand Up @@ -145,9 +139,5 @@ def openConfig(self):
dlg = ConfigDialog(self.toolbox)
dlg.exec_()

def openAbout(self):
dlg = AboutDialog()
dlg.exec_()

def openHelp(self):
QDesktopServices.openUrl(QUrl(os.path.dirname(__file__) + "/help/index.html"))
71 changes: 0 additions & 71 deletions python/plugins/sextante/about/AboutDialog.py

This file was deleted.

6 changes: 0 additions & 6 deletions python/plugins/sextante/about/CMakeLists.txt

This file was deleted.

Empty file.
86 changes: 0 additions & 86 deletions python/plugins/sextante/about/aboutdialogbase.ui

This file was deleted.

Binary file removed python/plugins/sextante/images/info.png
Binary file not shown.
1 change: 0 additions & 1 deletion python/plugins/sextante/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<file>images/grass.png</file>
<file>images/help.png</file>
<file>images/history.gif</file>
<file>images/info.png</file>
<file>images/input.png</file>
<file>images/iterate.png</file>
<file>images/model.png</file>
Expand Down