aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* we don't need a login1 session proxy, so don't generate code for one.Charles Kerr2013-06-242-53/+0
|
* use login1's terminology 'power off', 'reboot'Charles Kerr2013-06-243-22/+22
|
* in IndicatorSessionUsers, update to login1Charles Kerr2013-06-242-451/+370
|
* in IndicatorSessionGuest, update to login1Charles Kerr2013-06-242-316/+164
|
* update which proxies the dbus utils helper createsCharles Kerr2013-06-243-338/+96
|
* add replace consolekit xml files with login1; update build filesCharles Kerr2013-06-249-1273/+337
|
* add icon support to user menuitemsCharles Kerr2013-06-231-0/+10
|
* install .schema.xml and indicator-session-service in the right places.Charles Kerr2013-06-201-3/+4
|
* merge lp:~larsu/indicator-session/ng-with-types to add x-canonical-type ↵Lars Uebernickel2013-06-201-1/+10
|\ | | | | | | support for the user and guest menuitems
| * Set x-canonical-type for user and guest menu itemsLars Uebernickel2013-05-231-1/+10
| |
* | remove the --replace command-line argument and property as we're using ↵Charles Kerr2013-06-203-76/+9
| | | | | | | | upstart for that
* | use the production dbus nameCharles Kerr2013-06-191-2/+1
| |