<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,6 +29,7 @@
 // KDE
 #include &lt;KConfigGroup&gt;
 #include &lt;KService&gt;
+#include &lt;KIcon&gt;
 #include &lt;kdebug.h&gt;
 
 // Local
@@ -42,6 +43,7 @@ public:
     Private(FavoritesModel *parent)
             : q(parent) {
         headerItem = new QStandardItem(i18n(&quot;Favorites&quot;));
+        headerItem-&gt;setIcon(KIcon(&quot;rating&quot;));
         q-&gt;appendRow(headerItem);
     }
 </diff>
      <filename>engine/kickoff/favoritesmodel.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -122,7 +122,11 @@ void Breadcrumb::mousePressEvent(QGraphicsSceneMouseEvent *event)
 {
     foreach (BreadcrumbItem *item, m_items) {
         if (item-&gt;rect().contains(event-&gt;pos()) || item-&gt;textRect().contains(event-&gt;pos())) {
-            emit changedRootIndex(item-&gt;index());
+            if (item-&gt;isMainMenu()) {
+                emit rootMenuRequested();
+            } else {
+                emit changedRootIndex(item-&gt;index());
+            }
             return;
         }
     }</diff>
      <filename>view/breadcrumb.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -44,6 +44,8 @@ signals:
      */
     void changedRootIndex(const QModelIndex &amp;);
 
+    void rootMenuRequested();
+
 private:
     RaptorGraphicsView *m_view;
     QList&lt;BreadcrumbItem*&gt; m_items;</diff>
      <filename>view/breadcrumb.h</filename>
    </modified>
    <modified>
      <diff>@@ -183,6 +183,7 @@ RaptorGraphicsWidget::RaptorGraphicsWidget(QGraphicsItem *parent, const KConfigG
 
     connect(d-&gt;view, SIGNAL(enteredItem(const QModelIndex &amp;)), d-&gt;breadCrumb, SLOT(setCurrentItem(const QModelIndex &amp;)));
     connect(d-&gt;breadCrumb, SIGNAL(changedRootIndex(const QModelIndex&amp;)), d-&gt;view, SLOT(setRootIndex(const QModelIndex &amp;)));
+    connect(d-&gt;breadCrumb, SIGNAL(rootMenuRequested()), SLOT(refineModel()));
     connect(d-&gt;favoritesIcon, SIGNAL(clicked()), SLOT(setFavoritesModel()));
 //     connect(d-&gt;breadCrumb, SIGNAL(bottomLevelReached()), d-&gt;model, SLOT(slotReloadMenu()));
 // 
@@ -260,6 +261,8 @@ void RaptorGraphicsWidget::refineModel()
 
         if (d-&gt;view-&gt;model() != d-&gt;model) {
             d-&gt;view-&gt;setModel(d-&gt;model);
+        } else {
+            d-&gt;view-&gt;setRootIndex(QModelIndex());
         }
         return;
     }</diff>
      <filename>view/raptorgraphicswidget.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5be4a3063a55d9e08cb1b21b26553fc09f20e9b1</id>
    </parent>
  </parents>
  <author>
    <name>Lukas Appelhans</name>
    <email>l.appelhans@gmx.de</email>
  </author>
  <url>http://github.com/ruphy/raptor/commit/e0d32f99a085801d08b00f9896bf6a1eecea249a</url>
  <id>e0d32f99a085801d08b00f9896bf6a1eecea249a</id>
  <committed-date>2009-03-05T11:58:58-08:00</committed-date>
  <authored-date>2009-03-05T11:58:58-08:00</authored-date>
  <message>Make the favorites stuff work even nicer!</message>
  <tree>dc5e3afe28fc4dd8abe1746a7f91816743cc2a35</tree>
  <committer>
    <name>Lukas Appelhans</name>
    <email>l.appelhans@gmx.de</email>
  </committer>
</commit>
