~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to unity-private/launcher/scroller-controller.vala

  • Committer: Gord Allott
  • Date: 2010-09-24 14:00:21 UTC
  • mfrom: (548.2.2 unity)
  • Revision ID: gord.allott@canonical.com-20100924140021-vmaoavujw3wqvwzh
fixes favorite loading for didrocks, fixes lp:645835

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
 
219
219
      foreach (string uid in favorites.get_favorites ())
220
220
        {
221
 
          var type = favorites.get_string (uid, "type");
222
 
          if (type != "application")
223
 
            continue;
224
 
 
225
221
          string desktop_file = favorites.get_string (uid, "desktop_file");
226
222
          if (!FileUtils.test (desktop_file, FileTest.EXISTS))
227
223
            {
240
236
              childcontrollers.add (controller);
241
237
              controller.request_removal.connect (on_scroller_controller_closed);
242
238
            }
 
239
          controller.fav_id = uid;
243
240
        }
244
241
 
245
242
      // need to sort the list now