# HG changeset patch
# User Chris Cannam
# Date 1294058113 0
# Node ID 2afac743acdfd3f387f40ed40ba67ce3a8e90b49
# Parent dbc8d97caaf408af4d8bc32f059926a96222f1c1
* Add (rather crappy) program icon. Still lacks platform icon support on OS/X and Linux/X11
diff -r dbc8d97caaf4 -r 2afac743acdf easyhg-icon.ico
Binary file easyhg-icon.ico has changed
diff -r dbc8d97caaf4 -r 2afac743acdf easyhg.pro
--- a/easyhg.pro Fri Dec 24 13:16:12 2010 +0000
+++ b/easyhg.pro Mon Jan 03 12:35:13 2011 +0000
@@ -87,10 +87,9 @@
LIBS += -lSecur32
}
-# ! [0]
RESOURCES = easyhg.qrc
-#win32 {
-# RC_FILE = easyhg.rc
-#}
+win32 {
+ RC_FILE = easyhg.rc
+}
QT += network
diff -r dbc8d97caaf4 -r 2afac743acdf easyhg.qrc
--- a/easyhg.qrc Fri Dec 24 13:16:12 2010 +0000
+++ b/easyhg.qrc Mon Jan 03 12:35:13 2011 +0000
@@ -22,6 +22,7 @@
images/hdd_unmount.png
images/hdd_unmount-64.png
images/fileopen.png
+ images/easyhg-icon.png
easyhg.py
easyhg_en.qm
diff -r dbc8d97caaf4 -r 2afac743acdf easyhg.rc
--- a/easyhg.rc Fri Dec 24 13:16:12 2010 +0000
+++ b/easyhg.rc Mon Jan 03 12:35:13 2011 +0000
@@ -1,1 +1,1 @@
-IDI_ICON1 ICON DISCARDABLE "hgexplorer.ico"
+IDI_ICON1 ICON DISCARDABLE "easyhg-icon.ico"
diff -r dbc8d97caaf4 -r 2afac743acdf images/crappy-icon-design.xcf
Binary file images/crappy-icon-design.xcf has changed
diff -r dbc8d97caaf4 -r 2afac743acdf images/crappy-icon.png
Binary file images/crappy-icon.png has changed
diff -r dbc8d97caaf4 -r 2afac743acdf images/easyhg-icon.png
Binary file images/easyhg-icon.png has changed
diff -r dbc8d97caaf4 -r 2afac743acdf mainwindow.cpp
--- a/mainwindow.cpp Fri Dec 24 13:16:12 2010 +0000
+++ b/mainwindow.cpp Mon Jan 03 12:35:13 2011 +0000
@@ -45,6 +45,8 @@
MainWindow::MainWindow(QString myDirPath) :
m_myDirPath(myDirPath)
{
+ setWindowIcon(QIcon(":images/easyhg-icon.png"));
+
QString wndTitle;
fsWatcher = 0;