aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Work around glib's type initialization deadlockLars Uebernickel2013-10-171-0/+6
|
* src/service.c: also switch to screensaver if there is more than one userMarc Deslauriers2013-09-251-8/+7
|
* src/service.c: don't switch to greeter when locking screen, as thatMarc Deslauriers2013-09-201-1/+1
| | | | | | switches away from the user's audio, power preferences, etc. (LP: #1220201)
* sync with trunkCharles Kerr2013-08-231-14/+30
|\
| * remove debugging stubCharles Kerr2013-08-081-1/+0
| |
| * as discussed with dednick and ted, have a header action state type of a{sv} ↵Charles Kerr2013-08-081-14/+30
| | | | | | | | rather than the obsoleted (sssb)
* | remove deprecated GSimpleActionGroup API use.Charles Kerr2013-08-221-3/+3
|\ \ | | | | | | | | | Approved by PS Jenkins bot, Ted Gould.
| * | don't use deprecated API calls to GSimpleActionGroupCharles Kerr2013-08-221-3/+3
| |/
* | copyediting: remove unnecessary comment that snuck into r406Charles Kerr2013-08-201-1/+0
| |
* | fix minor GCancellable memory leak noticed while fixing 1205273Charles Kerr2013-08-201-1/+1
| |
* | when switching to the guest session, explicitly lock the current users's sessionCharles Kerr2013-08-201-1/+10
|/
* add the online-accounts action and unit tests for itCharles Kerr2013-07-124-10/+39
|
* If the Unity dialogs aren't available (such as in the greeter) but zenity ↵Charles Kerr2013-07-121-53/+261
| | | | | | | | | | is, use it to for confirmation dialogs: - add the implementation in actions.c - add actions.c to the i18n files list - sync the unit tests - suggest zenity in debian/control
* Add a 'can-reboot' property to the Actions class.Charles Kerr2013-07-123-9/+32
| | | | | | | | | This is used for handling a couple of pathological cases where features and states mix and match: 1. unity has the same dialog for 'reboot' and 'power off', so remove the duplicate menuitem, EXCEPT: 2. if the unity prompt isn't available (such as in the greeter), show both menuitems, OR 3. if the user has prompting disabled we need both, OR 4. if the user has the 'power off' button disabled, don't treat 'reboot' as redundant.
* just to be safe, check to see that g_getenv('XDG_SEAT') passes tooCharles Kerr2013-07-101-8/+12
|
* If g_getenv(XDG_SEAT_PATH) fails, don't try to get the DisplayManager seat. ↵Charles Kerr2013-07-101-9/+16
| | | | Fixes the greeter issue reported by seb128
* in the desktop greeter, skip the logout menuitemCharles Kerr2013-07-091-7/+8
|
* make the desktop greeter menu's name consistent across indicators: ↵Charles Kerr2013-07-051-0/+1
| | | | 'desktop_greeter'
* in cmake files, limit scopes by moving single-target properties out of the ↵Charles Kerr2013-07-012-2/+11
| | | | global variables to single-target ones and moving single-use includes into the directories where they're used
* in main.c's on_name_lost(), silence minor 'unused parameter' compiler warningCharles Kerr2013-07-011-1/+1
|
* in our cmake files, rename PROJECT_LIBEXECDIR as CMAKE_INSTALL_LIBEXECDIR ↵Charles Kerr2013-07-011-1/+1
| | | | and CMAKE_INSTALL_FULL_LIBEXECDIR for consistency with the other GNUInstallDirs
* in src/backend-dbus/users.c, use a helper struct for disconnecting the ↵Charles Kerr2013-07-011-49/+45
| | | | signals to the user proxies in our uid-to-user hashtable
* in src/backend-dbus/users.c's object_unref_and_disconnect(), fix an ↵Charles Kerr2013-07-011-1/+2
| | | | unbalanced ref/unref
* in src/backend-dbus/users.c's track_user(), simplify the ref/unref semantics ↵Charles Kerr2013-07-011-5/+6
| | | | of the user argument
* in src/backend-dbus/users.c, use G_DEFINE_QUARK() instead of rolling our own ↵Charles Kerr2013-07-011-13/+4
| | | | quark func
* in src/backend-dbus/users.c's set_logins(), fix ref/unref semantics of the ↵Charles Kerr2013-07-011-1/+2
| | | | hashtable argument
* in src/backend-dbus/guest.c's on_login1_manager_session_list_ready(), remove ↵Charles Kerr2013-07-011-3/+2
| | | | unused variable 'path'
* in backend-dbus/actions.c, create a separate cancellable for dm_seat s.t. ↵Charles Kerr2013-07-011-6/+16
| | | | new calls to set_dm_seat() will cancel any previous async calls pending on the old DisplayManager seat object.
* in backend-dbus/actions.c, create a separate cancellable for login1_manager ↵Charles Kerr2013-07-011-7/+31
| | | | s.t. new calls to set_login1_manager() will cancel any previous async calls pending on the old login1 manager object.
* in backend-dbus/actions.c's set_dm_seat(), since we don't listen to ↵Charles Kerr2013-07-011-9/+2
| | | | displaymanager's signals anymore, remove unnecessary g_signal_handlers_disconnect() call.
* in backend-dbus/actions.c's set_login1_seat(), disconnect from the previous ↵Charles Kerr2013-07-011-2/+7
| | | | seat's signals before unreff'ing it
* when user switching isn't available, don't ellipsize the 'Lock' menuitemCharles Kerr2013-07-011-2/+1
|
* in service.c's add_user(), test for NULL before adding the user struct to ↵Charles Kerr2013-06-281-7/+9
| | | | our collection
* cleanup: put an '.xml' file suffix at the end of the DisplayManager.Seat xml ↵Charles Kerr2013-06-282-1/+1
| | | | file
* update comments & documentation to reflect that we've replaced consolekit ↵Charles Kerr2013-06-283-3/+3
| | | | and login1
* finish up backend-dbus/users.c: fix an unref bug when creating user proxies. ↵Charles Kerr2013-06-281-64/+54
| | | | fix an async race condition where we emitted change events for users before their proxy objects had finished being asynchronously constructed.
* use the unicode '…' directly intead of \342\200\246Charles Kerr2013-06-281-8/+8
|
* in create_guest_switcher_state() and create_user_switcher_state(), don't ↵Charles Kerr2013-06-271-14/+14
| | | | leak GVariantBuilders
* in actions.c's my_can_prompt(), don't leak the string returned by ↵Charles Kerr2013-06-271-3/+10
| | | | g_dbus_proxy_get_name_owner
* in users.c, fix bugs that leaked system accounts into the list of users to ↵Charles Kerr2013-06-271-51/+86
| | | | show in the indicator
* only show the restart or hibernate menuitems if login1 says these features ↵Charles Kerr2013-06-271-4/+2
| | | | are available
* fix regression that displayed the 'restart' button even when prompting was ↵Charles Kerr2013-06-261-1/+3
| | | | enabled and the user was running Unity
* sync text with trunk: make the shutdown menuitem read 'Shut Down' instead of ↵Charles Kerr2013-06-251-1/+1
| | | | 'Shutdown'
* everything in test-guest now passesCharles Kerr2013-06-251-1/+0
|
* test-guest's HelloWorld and Allowed tests now passCharles Kerr2013-06-251-17/+25
|
* all the tests in test-users passCharles Kerr2013-06-251-8/+6
|
* in IndicatorSessionUsers, use the uid as the user's key. Users.ActivateUser ↵Charles Kerr2013-06-254-102/+79
| | | | is now green.
* in backend-dbus/users.c, fix a user proxy leakCharles Kerr2013-06-241-0/+1
|
* get all the tests in test-actions passing again.Charles Kerr2013-06-241-0/+0
|
* migrate from consolekit to login1Charles Kerr2013-06-242-101/+91
|