aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* src/backend-dbus/actions.c: Show warnings if no web browser is installed ↵Mike Gabriel2018-03-211-0/+8
| | | | (for distro help and XFCE desktop help).
* rebase code duplicationMike Gabriel2018-03-211-1/+1
|
* my_desktop_help(): Don't always fallback to empty yelp call, rather show a ↵Mike Gabriel2018-03-211-2/+19
| | | | warning that we don't know how to access the currently running desktop's user guide or help center.
* src/utils.(c|h): Reduce code duplications in desktop env detection code.Mike Gabriel2018-03-212-50/+20
|
* src/service.c: Type-cast assignment from g_object_ref() to avoid ↵Mike Gabriel2018-03-211-1/+1
| | | | incompatible pointer type compiler warning.
* Add XFCE Support.Mike Gabriel2018-03-213-9/+78
| | | | | | | | | | | | * Check if XDG_CURRENT_DESKTOP is set to XFCE. * Use xfce4-session-logout as logout/reboot/shutdown prompt. * Use xfce4-settings-manager for 'Settings...'. * Use xflock4 to attept a session lock. * Use xfce4-about for info about this computer (not fully appropriate but XFCE does not have any appropriate equivalent as found in GNOME or MATE). Fixes AyatanaIndicators/ayatana-indicator-session#1.
* Rename GNOMELOCALEDIR -> LOCALEDIR.Mike Gabriel2017-12-062-2/+2
|
* src/backend-dbus/actions.c: Use is_mate() from src/utils.c to check if we ↵Mike Gabriel2017-07-211-8/+3
| | | | are running inside a MATE desktop session.
* my_distro_help(): Be less Debian-centric and detect other browser, if ↵Mike Gabriel2017-07-211-1/+38
| | | | x-www-browser does not exist.
* Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.Mike Gabriel2017-07-186-93/+159
|
* Add full MATE session support.Martin Wimpress2017-07-171-46/+60
| | | | | | | | | | | | | | | This changeset adds the remaining support for MATE Desktop. When MATE is the desktop session: * "About This Computer" launches `mate-system-monitor --show-system-tab` * "<distro> Help..." launches the MATE User Guide. * "System Settings..." launches `mate-control-center` * "Lock/Switch Account..." invokes `mate-screensaver-command --lock` `have_mate_program()` checks that the active session is MATE and the required program exists, making this a safe mechanism to launch `"yelp help:mate-user-guide` specifically for MATE and fall through the just `yelp` on the other desktop environments.
* Revert "DBus actions: Add support for logging out via GNOME/MATE session ↵Mike Gabriel2017-07-171-15/+0
| | | | | | manager." This reverts commit 938988360da9c79a1c2904bca1249c16a59cfe3f.
* DBus actions: Add support for logging out via GNOME/MATE session manager.Mike Gabriel2017-06-091-0/+15
|
* backend-dbus/actions.c: Mention MATE session proxy in error msg.Mike Gabriel2017-05-301-1/+1
|
* backend-dbus/actions.c: Improve comment.Mike Gabriel2017-05-301-1/+1
|
* src/utils.[ch]: Make desktop env checks available globally, load MSD media ↵Mike Gabriel2017-05-306-66/+119
| | | | keys settings, if in MATE environment.
* desktop env awareness: Make session indicator aware of the MATE desktop ↵Mike Gabriel2017-05-301-3/+157
| | | | environment. Report to the user, if a desktop env is unknown (e.g. when the user wants to open the system settings dialog, etc.).
* Don't use PROMPT_WITH_AYATANA for detecting the session type, ask ↵Mike Gabriel2017-05-301-19/+27
| | | | XDG_CURRENT_DESKTOP instead.
* Rename PROMPT_WITH_UNITY to PROMPT_WITH_AYATANA, meaning the ↵Mike Gabriel2017-05-301-6/+6
| | | | org.ayatana.Desktop DBus session bus.
* Things are not that simple... Complete previous commit, now switch to ↵Mike Gabriel2017-05-302-26/+26
| | | | org.ayatana.Desktop Dbus session bus name complete.
* De-Canonical'ize: Rename DBus bus com.canonical.Unity to org.ayatana.Desktop.Mike Gabriel2017-05-233-5/+5
|
* src/CMakeLists.txt: Comply with cmake policy CMP0053.Mike Gabriel2017-05-171-1/+1
|
* switch back to x-canonical-typeMike Gabriel2017-05-171-3/+3
|
* Use x-ayatanaindicator-* instead of x-canonical-*/x-ayatana-*.Mike Gabriel2015-11-161-3/+3
|
* Fork from Ubuntu's indicator-session project.Mike Gabriel2015-11-145-28/+20
|
* under unity8 start system-settings instead unity-control-center Fixes: #1489480Sebastien Bacher2015-09-151-3/+10
|\ | | | | | | Approved by: PS Jenkins bot, Charles Kerr
| * under unity8 start system-settings instead unity-control-centerSebastien Bacher2015-08-271-3/+10
| |
* | Disable shutdown/reboot in the lockscreen.Andrea Azzarone andrea.azzarone@canonical.com2015-06-041-9/+11
|/
* if someone has control codes in their real name, who are we do disagree?Charles Kerr2015-03-251-1/+1
|
* use unichar rather than asciiCharles Kerr2015-03-251-6/+9
|
* in get_user_label(), don't dereference a NULL real_name pointerCharles Kerr2015-03-251-5/+11
|
* Support multiple names in XDG_CURRENT_DESKTOP.Dmitry Shachnev2014-11-301-1/+17
|
* Make Cancel button in Zenity backend work againDmitry Shachnev2014-08-311-5/+1
|
* Hide relevant items from session indicator when org.gnome.desktop.lockdown ↵Robert Ancell2014-07-181-15/+30
|\ | | | | | | | | | | disable-lock-screen or disable-user-switching are set to match 12.04 LTS behaviour Fixes: 1325353 Approved by: Charles Kerr, PS Jenkins bot
| * Hide relevant items from session indicator when org.gnome.desktop.lockdown ↵Robert Ancell2014-07-111-15/+30
| | | | | | | | disable-lock-screen or disable-user-switching are set to match 12.04 LTS behaviour
* | use g_shell_unquote() to unmunge the values in /etc/os-releaseCharles Kerr2014-07-161-17/+16
| |
* | tweak unescape comment for readabilityCharles Kerr2014-07-161-1/+1
| |
* | make the os-release parser slightly more readable.Charles Kerr2014-07-161-25/+22
| |
* | make the os-release parser slightly less unreadable.Charles Kerr2014-07-161-13/+12
| |
* | better i18n markup of the help stringCharles Kerr2014-07-161-1/+1
| |
* | don't mark 'Ubuntu' for translation.Charles Kerr2014-07-161-1/+1
| |
* | add a passable parser for /etc/os-releaseCharles Kerr2014-07-151-2/+83
|/
* If we try to prompt for confirmation using unity but the EndSessionDialog ↵Charles Kerr2014-06-181-1/+11
| | | | errors out, treat that as confirmation. Otherwise how will a user ever log out?
* If we try to prompt for confirmation with zenity but zenity fails to run, ↵Charles Kerr2014-06-181-3/+10
| | | | treat that as confirmation. Otherwise how will a user ever log out?
* try to log out with com.canonical.Unity.Session's RequestLogout. If that ↵Charles Kerr2014-04-111-28/+93
| | | | fails, fall back to org.gnome.SessionManager's Logout.
* DBusActions: use unity session APIs when unity is runningMarco Trevisan (Treviño)2014-04-103-6/+87
|\ | | | | | | Use Immediate lock when switching, and rely to standard lock (with fade) in normal cases. Fixes: 1305194
| * DBusActions: use if/else instead of returning in lock_current_sessionMarco Trevisan (Treviño)2014-04-101-5/+5
| |
| * ScreenSaver API: add SimulateUserActivity backMarco Trevisan (Treviño)2014-04-101-0/+3
| |
| * actions: cleanup spacingMarco Trevisan (Treviño)2014-04-101-1/+0
| |
| * actions: add have_unity_session to check if unity is currently running and ↵Marco Trevisan (Treviño)2014-04-102-15/+25
| | | | | | | | exporting his session bus