<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>icons/oxygen/16x16/application-exit.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/document-new.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/games-config-options.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/games-highscores.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/games-hint.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/help-about.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/media-playback-pause.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/zoom-in.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/16x16/zoom-out.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/application-exit.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/document-new.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/games-config-options.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/games-highscores.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/games-hint.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/help-about.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/media-playback-pause.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/zoom-in.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/22x22/zoom-out.png</filename>
    </added>
    <added>
      <filename>icons/oxygen/LGPL</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/application-exit.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/document-new.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/games-config-options.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/games-highscores.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/games-hint.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/help-about.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/media-playback-pause.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/zoom-in.svgz</filename>
    </added>
    <added>
      <filename>icons/oxygen/scalable/zoom-out.svgz</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,5 @@
 2009-09-18 Graeme Gott &lt;graeme@gottcode.org&gt;
+	* Add proper Oxygen attribution.
 	* Save and restore window position.
 
 2009-09-17 Graeme Gott &lt;graeme@gottcode.org&gt;</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -2,22 +2,24 @@
 &lt;qresource&gt;
 	&lt;file&gt;cutemaze.png&lt;/file&gt;
 
-	&lt;file&gt;16x16/application-exit.png&lt;/file&gt;
-	&lt;file&gt;16x16/document-new.png&lt;/file&gt;
-	&lt;file&gt;16x16/games-config-options.png&lt;/file&gt;
-	&lt;file&gt;16x16/games-highscores.png&lt;/file&gt;
-	&lt;file&gt;16x16/games-hint.png&lt;/file&gt;
-	&lt;file&gt;16x16/media-playback-pause.png&lt;/file&gt;
-	&lt;file&gt;16x16/zoom-in.png&lt;/file&gt;
-	&lt;file&gt;16x16/zoom-out.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/application-exit.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/document-new.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/games-config-options.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/games-highscores.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/games-hint.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/help-about.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/media-playback-pause.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/zoom-in.png&lt;/file&gt;
+	&lt;file&gt;oxygen/16x16/zoom-out.png&lt;/file&gt;
 
-	&lt;file&gt;22x22/application-exit.png&lt;/file&gt;
-	&lt;file&gt;22x22/document-new.png&lt;/file&gt;
-	&lt;file&gt;22x22/games-config-options.png&lt;/file&gt;
-	&lt;file&gt;22x22/games-highscores.png&lt;/file&gt;
-	&lt;file&gt;22x22/games-hint.png&lt;/file&gt;
-	&lt;file&gt;22x22/media-playback-pause.png&lt;/file&gt;
-	&lt;file&gt;22x22/zoom-in.png&lt;/file&gt;
-	&lt;file&gt;22x22/zoom-out.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/application-exit.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/document-new.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/games-config-options.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/games-highscores.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/games-hint.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/help-about.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/media-playback-pause.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/zoom-in.png&lt;/file&gt;
+	&lt;file&gt;oxygen/22x22/zoom-out.png&lt;/file&gt;
 &lt;/qresource&gt;
 &lt;/RCC&gt;</diff>
      <filename>icons/icons.qrc</filename>
    </modified>
    <modified>
      <diff>@@ -46,6 +46,15 @@
 
 // ============================================================================
 
+static QIcon fetchIcon(const QString&amp; name)
+{
+	QIcon icon(QString(&quot;:/oxygen/22x22/%1.png&quot;).arg(name));
+	icon.addFile(QString(&quot;:/oxygen/16x16/%1.png&quot;).arg(name));
+	return icon;
+}
+
+// ============================================================================
+
 Window::Window()
 {
 	setWindowIcon(QIcon(&quot;:/cutemaze.png&quot;));
@@ -122,54 +131,31 @@ void Window::initActions()
 	game_menu-&gt;addAction(tr(&quot;New Game&quot;), m_board, SLOT(newGame()));
 #else
 	// Create menubar
-	QMenu* game_menu = menuBar()-&gt;addMenu(tr(&quot;Game&quot;));
-
-	QIcon new_icon(QPixmap(&quot;:/22x22/document-new.png&quot;));
-	new_icon.addPixmap(QPixmap(&quot;:/16x16/document-new.png&quot;));
-	QAction* new_action = game_menu-&gt;addAction(new_icon, tr(&quot;New&quot;), m_board, SLOT(newGame()), tr(&quot;Ctrl+N&quot;));
+#if defined(Q_OS_MAC)
+	qApp-&gt;setAttribute(Qt::AA_DontShowIconsInMenus);
+#endif
 
-	QIcon pause_icon(QPixmap(&quot;:/22x22/media-playback-pause.png&quot;));
-	pause_icon.addPixmap(QPixmap(&quot;:/16x16/media-playback-pause.png&quot;));
-	m_pause_action = game_menu-&gt;addAction(pause_icon, tr(&quot;Pause&quot;));
+	QMenu* game_menu = menuBar()-&gt;addMenu(tr(&quot;Game&quot;));
+	QAction* new_action = game_menu-&gt;addAction(fetchIcon(&quot;document-new&quot;), tr(&quot;New&quot;), m_board, SLOT(newGame()), tr(&quot;Ctrl+N&quot;));
+	m_pause_action = game_menu-&gt;addAction(fetchIcon(&quot;media-playback-pause&quot;), tr(&quot;Pause&quot;));
 	m_pause_action-&gt;setShortcut(tr(&quot;P&quot;));
-
-	QIcon hint_icon(QPixmap(&quot;:/22x22/games-hint.png&quot;));
-	hint_icon.addPixmap(QPixmap(&quot;:/16x16/games-hint.png&quot;));
-	m_hint_action = game_menu-&gt;addAction(hint_icon, tr(&quot;Hint&quot;), m_board, SLOT(hint()), tr(&quot;H&quot;));
-
+	m_hint_action = game_menu-&gt;addAction(fetchIcon(&quot;games-hint&quot;), tr(&quot;Hint&quot;), m_board, SLOT(hint()), tr(&quot;H&quot;));
 	game_menu-&gt;addSeparator();
-
-	QIcon scores_icon(QPixmap(&quot;:/22x22/games-highscores.png&quot;));
-	scores_icon.addPixmap(QPixmap(&quot;:/16x16/games-highscores.png&quot;));
-	game_menu-&gt;addAction(scores_icon, tr(&quot;High Scores&quot;), m_scores, SLOT(exec()));
-
+	game_menu-&gt;addAction(fetchIcon(&quot;games-highscores&quot;), tr(&quot;High Scores&quot;), m_scores, SLOT(exec()));
 	game_menu-&gt;addSeparator();
-
-	QIcon config_icon(QPixmap(&quot;:/22x22/games-config-options.png&quot;));
-	config_icon.addPixmap(QPixmap(&quot;:/16x16/games-config-options.png&quot;));
-	game_menu-&gt;addAction(config_icon, tr(&quot;Settings&quot;), m_settings, SLOT(exec()));
-
+	game_menu-&gt;addAction(fetchIcon(&quot;games-config-options&quot;), tr(&quot;Settings&quot;), m_settings, SLOT(exec()));
 	game_menu-&gt;addSeparator();
-
-	QIcon quit_icon(QPixmap(&quot;:/22x22/application-exit.png&quot;));
-	quit_icon.addPixmap(QPixmap(&quot;:/16x16/application-exit.png&quot;));
-	game_menu-&gt;addAction(quit_icon, tr(&quot;Quit&quot;), this, SLOT(close()), tr(&quot;Ctrl+Q&quot;));
+	game_menu-&gt;addAction(fetchIcon(&quot;application-exit&quot;), tr(&quot;Quit&quot;), this, SLOT(close()), tr(&quot;Ctrl+Q&quot;));
 
 	QMenu* view_menu = menuBar()-&gt;addMenu(tr(&quot;View&quot;));
-
-	QIcon zoom_in_icon(QPixmap(&quot;:/22x22/zoom-in.png&quot;));
-	zoom_in_icon.addPixmap(QPixmap(&quot;:/16x16/zoom-in.png&quot;));
-	QAction* zoom_in_action = view_menu-&gt;addAction(zoom_in_icon, tr(&quot;Zoom In&quot;), m_board, SLOT(zoomIn()), tr(&quot;Ctrl++&quot;));
+	QAction* zoom_in_action = view_menu-&gt;addAction(fetchIcon(&quot;zoom-in&quot;), tr(&quot;Zoom In&quot;), m_board, SLOT(zoomIn()), tr(&quot;Ctrl++&quot;));
 	connect(m_board, SIGNAL(zoomInAvailable(bool)), zoom_in_action, SLOT(setEnabled(bool)));
-
-	QIcon zoom_out_icon(QPixmap(&quot;:/22x22/zoom-out.png&quot;));
-	zoom_out_icon.addPixmap(QPixmap(&quot;:/16x16/zoom-out.png&quot;));
-	QAction* zoom_out_action = view_menu-&gt;addAction(zoom_out_icon, tr(&quot;Zoom Out&quot;), m_board, SLOT(zoomOut()), tr(&quot;Ctrl+-&quot;));
+	QAction* zoom_out_action = view_menu-&gt;addAction(fetchIcon(&quot;zoom-out&quot;), tr(&quot;Zoom Out&quot;), m_board, SLOT(zoomOut()), tr(&quot;Ctrl+-&quot;));
 	connect(m_board, SIGNAL(zoomOutAvailable(bool)), zoom_out_action, SLOT(setEnabled(bool)));
 
 	QMenu* help_menu = menuBar()-&gt;addMenu(tr(&quot;Help&quot;));
-	help_menu-&gt;addAction(tr(&quot;About&quot;), this, SLOT(about()));
-	help_menu-&gt;addAction(tr(&quot;About &amp;Qt&quot;), qApp, SLOT(aboutQt()));
+	help_menu-&gt;addAction(fetchIcon(&quot;help-about&quot;), tr(&quot;About&quot;), this, SLOT(about()));
+	help_menu-&gt;addAction(QIcon(&quot;:/trolltech/qmessagebox/images/qtlogo-64.png&quot;), tr(&quot;About &amp;Qt&quot;), qApp, SLOT(aboutQt()));
 
 	// Create toolbar
 	QToolBar* toolbar = new QToolBar(this);
@@ -193,12 +179,12 @@ void Window::initActions()
 void Window::about()
 {
 	QMessageBox::about(this, tr(&quot;About CuteMaze&quot;), tr(
-		&quot;&lt;center&gt;&quot;
-		&quot;&lt;big&gt;&lt;b&gt;CuteMaze 1.0.2&lt;/b&gt;&lt;/big&gt;&lt;br/&gt;&quot;
+		&quot;&lt;p&gt;&lt;center&gt;&lt;big&gt;&lt;b&gt;CuteMaze 1.0.2&lt;/b&gt;&lt;/big&gt;&lt;br/&gt;&quot;
 		&quot;A top-down maze game&lt;br/&gt;&quot;
-		&quot;&lt;small&gt;Copyright &amp;copy; 2007-2009 Graeme Gott&lt;/small&gt;&lt;br/&gt;&lt;br/&gt;&quot;
-		&quot;Toolbar icons are from &lt;a href=\&quot;http://www.oxygen-icons.org/\&quot;&gt;Oyxgen&lt;/a&gt;&quot;
-		&quot;&lt;/center&gt;&quot;
+		&quot;&lt;small&gt;Copyright &amp;copy; 2007-2009 Graeme Gott&lt;/small&gt;&lt;br/&gt;&quot;
+		&quot;&lt;small&gt;Released under the &lt;a href=\&quot;http://www.gnu.org/licenses/gpl.html\&quot;&gt;GPL 3&lt;/a&gt; license&lt;/small&gt;&lt;/center&gt;&lt;/p&gt;&quot;
+		&quot;&lt;p&gt;&lt;center&gt;Icons are from the &lt;a href=\&quot;http://www.oxygen-icons.org/\&quot;&gt;Oxygen&lt;/a&gt; theme&lt;br/&gt;&quot;
+		&quot;&lt;small&gt;Used under the &lt;a href=\&quot;http://www.gnu.org/licenses/lgpl.html\&quot;&gt;LGPL 3&lt;/a&gt; license&lt;/small&gt;&lt;/center&gt;&lt;/p&gt;&quot;
 	));
 }
 </diff>
      <filename>src/window.cpp</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>icons/16x16/application-exit.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/document-new.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/games-config-options.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/games-highscores.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/games-hint.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/media-playback-pause.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/zoom-in.png</filename>
    </removed>
    <removed>
      <filename>icons/16x16/zoom-out.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/application-exit.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/document-new.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/games-config-options.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/games-highscores.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/games-hint.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/media-playback-pause.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/zoom-in.png</filename>
    </removed>
    <removed>
      <filename>icons/22x22/zoom-out.png</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>276d4609dd21bd9858f3377a7c4d06466f5eed0b</id>
    </parent>
  </parents>
  <author>
    <name>Graeme Gott</name>
    <email>graeme@gottcode.org</email>
  </author>
  <url>http://github.com/gottcode/cutemaze/commit/971563ea4a9269d2b9fc7eef5c2b24541ffbe1bf</url>
  <id>971563ea4a9269d2b9fc7eef5c2b24541ffbe1bf</id>
  <committed-date>2009-09-21T08:23:53-07:00</committed-date>
  <authored-date>2009-09-18T10:46:12-07:00</authored-date>
  <message>Add proper Oxygen attribution.</message>
  <tree>16b3492a99e253d3e3e6376ee2d350e27fea5b02</tree>
  <committer>
    <name>Graeme Gott</name>
    <email>graeme@gottcode.org</email>
  </committer>
</commit>
