diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-22 08:08:44 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-22 08:08:44 -0600 |
commit | 6e447b7bdb1273048dbaf9ead0eea629e73042e3 (patch) | |
tree | 407b55a7ee16b325552c5d23d14bab0c4178d7b0 /src/main.cpp | |
parent | bf30d05fa9220b3369734c74197ac149c3290af7 (diff) | |
download | ayatana-indicator-datetime-6e447b7bdb1273048dbaf9ead0eea629e73042e3.tar.gz ayatana-indicator-datetime-6e447b7bdb1273048dbaf9ead0eea629e73042e3.tar.bz2 ayatana-indicator-datetime-6e447b7bdb1273048dbaf9ead0eea629e73042e3.zip |
plug in the greeter menus
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 50d5241..2c4f160 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,7 +54,8 @@ main(int /*argc*/, char** /*argv*/) // create the menus std::vector<std::shared_ptr<Menu>> menus; - menus.push_back(factory.buildMenu(Menu::Desktop)); + for(int i=0, n=Menu::NUM_PROFILES; i<n; i++) + menus.push_back(factory.buildMenu(Menu::Profile(i))); // export them & run until we lose the busname auto loop = g_main_loop_new(nullptr, false); |