desktop-shell: move panel_add_clock call to panel_create function
authorRafal Mielniczuk <rafal.mielniczuk2@gmail.com>
Sat, 9 Jun 2012 18:33:29 +0000 (20:33 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 11 Jun 2012 13:37:46 +0000 (09:37 -0400)
commitb9e513c6780fc07e80f6627cf8087afdef02f56a
tree713f480e3162169e84b8ade95597662a9f351ebb
parent6e0a7d82b7bd99407aef87a0a266150ec3124336
desktop-shell: move panel_add_clock call to panel_create function

Putting panel_add_clock in launcher_section_done handler
will cause clock to be created multiple times with every launcher.
Fix is to move the call to panel_create function.
clients/desktop-shell.c