~ricotz/plank/consolidate-api

« back to all changes in this revision

Viewing changes to lib/Factories/ItemFactory.vala

  • Committer: Rico Tzschichholz
  • Date: 2015-11-03 12:01:51 UTC
  • Revision ID: ricotz@ubuntu.com-20151103120151-quhr0ezghugjhnfx
Keep existing theme and dockitem-files working and update them

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
                                unowned string group_name = typeof (DockItemPreferences).name ();
141
141
                                if (keyfile.has_group (group_name))
142
142
                                        return keyfile.get_string (group_name, "Launcher");
 
143
                                
 
144
                                // 0.10.1 > 0.10.9/0.11.x
 
145
                                if (keyfile.has_group ("PlankItemsDockItemPreferences"))
 
146
                                        return keyfile.get_string ("PlankItemsDockItemPreferences", "Launcher");
143
147
                        } catch (Error e) {
144
148
                                warning ("%s (%s)", e.message, file.get_basename ());
145
149
                        }