Skip to content

Commit

Permalink
remove all binary trace from Icons, use directly SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored and fperez committed Oct 17, 2011
1 parent 0c9f556 commit 51ebc86
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 30 deletions.
21 changes: 0 additions & 21 deletions IPython/frontend/qt/console/application_rc.py

This file was deleted.

8 changes: 4 additions & 4 deletions IPython/frontend/qt/console/qtconsoleapp.py
Expand Up @@ -49,8 +49,6 @@
from IPython.zmq.session import Session, default_secure
from IPython.zmq.zmqshell import ZMQInteractiveShell

import application_rc

#-----------------------------------------------------------------------------
# Network Constants
#-----------------------------------------------------------------------------
Expand Down Expand Up @@ -881,8 +879,10 @@ def create_tab_attached_to_current_tab_kernel(self):
def init_qt_elements(self):
# Create the widget.
self.app = QtGui.QApplication([])
pixmap=QtGui.QPixmap(':/icon/IPythonConsole.png')
icon=QtGui.QIcon(pixmap)

base_path = os.path.abspath(os.path.dirname(__file__))
icon_path = os.path.join(base_path, 'resources', 'icon', 'IPythonConsole.svg')
icon = QtGui.QIcon(icon_path)
QtGui.QApplication.setWindowIcon(icon)

local_kernel = (not self.existing) or self.ip in LOCAL_IPS
Expand Down
5 changes: 0 additions & 5 deletions IPython/frontend/qt/console/resources/application.qrc

This file was deleted.

Binary file not shown.
Binary file not shown.

0 comments on commit 51ebc86

Please sign in to comment.