aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/user-list.vala: Use directory enumerator for getting a random number of ↵Mike Gabriel2017-10-231-7/+14
| | | | background image. Check if the returned directory entry is not a sub-directory. If so, then skip it.
* background: Don't realize() this immediately - only start the image ↵Michael Webster2017-10-232-17/+100
| | | | | | | | | | | | | | | | | | | | | | | | gathering thread during initialization. Wait for the main window to be realized before passing its cairo surface to the background object and drawing the background for the first time. We also need to make sure in our background's size_allocate function to abort if we're not really active yet (no GdkWindow realized, and no AnimateTimer yet). Moved some background init stuff from the main window to the background class for clarity, and removed the default_background setting - it is already grabbing the default color in Background's class init. Obtained (and modified) from the following slick-greeter commits: d2a7122d731c0f19f502a9efba1feee651bcfa7c d4a2a94eb7120393bb225b680fdfecf5c1d3c4ea 941ecbc5dcb4e7a072c1ca8816d9678f59a96418 Adaptations by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/arctica-greeter.vala: Don't load any external application when launched ↵Mike Gabriel2017-06-201-64/+67
| | | | in test mode.
* src/menubar.vala: Disable all indicators in test mode.Mike Gabriel2017-06-201-18/+22
|
* src/settings_daemon.vala: sd_pid is a private property.Mike Gabriel2017-06-201-1/+1
|
* src/greeter-list.vala: Move get_active_entry() functionality from ↵Mike Gabriel2017-06-201-7/+11
| | | | ListDBusInterface to the GreeterList class.
* Fix Arctica Greeter preventing DE from applying cursor theme/size.Clement Lefebvre2017-06-201-0/+6
| | | | | | | | | See https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482 Arctica Greeter sets the mouse cursor on the root window. Without GKD_CORE_DEVICE_EVENTS set, the DE is unable to apply its own cursor theme and size.
* Don't draw the background before starting the session.Clement Lefebvre2017-06-201-23/+0
| | | | | | | | | | | | | | | | | Drawing the background on the root window causes the following issues: - The settings daemon sets the DE resolution and that can break the aspect of the background - Depending on configuration and distros, the background rendered by the greeter may or may not be the same as the users's. - Some DEs such as Cinnamon render a login animation, which looks good on a black screen but not when a background is drawn. Potential for regression: Minimal DEs and WM should be tested to ensure the default state of the root window is OK. We might have to clear that window or explicitly paint it black (or the background color chosen by the user).
* rebase debug PIDMike Gabriel2017-06-201-1/+1
|
* src/menubar.vala: Silence build warning due to usage call to deprecated ↵Mike Gabriel2017-06-201-1/+0
| | | | ensure_style() method.
* src/background.vala: No runtime warning on empty background image filename. ↵Clement Lefebvre2017-06-201-8/+10
| | | | Ported from slick-greeter.
* Add basic screenshot capability. Ported from slick-greeter.leigh123linux2017-06-201-0/+13
|
* debugging: Print out process PIDs for launched subprocesses.Mike Gabriel2017-06-202-0/+3
|
* Add support for validating session names (and proper fallback for ↵Clement Lefebvre2017-06-203-2/+48
| | | | uninstalled sessions). Ported from slick-greeter.
* Work around GTK 3.20's new allocation logic. Ported from slick-greeter.leigh123linux2017-06-203-0/+8
|
* Fix at-spi-bus-launcher path in Fedora (ported and modifed from slick-greeter).Mike Gabriel2017-06-201-9/+17
|
* white-space fixMike Gabriel2017-06-201-1/+1
|
* src/background.vala: Drop logo background.Mike Gabriel2017-06-203-26/+2
|
* src/arctica-greeter.vala: Disconnect the event filter when the main window ↵Michael Webster2017-06-201-0/+13
| | | | | | | is destroyed. Otherwise we can continue to receive events on the filter when we no longer have a backing GdkWindow to act upon (causing a segfault).
* src/prompt-box.vala: Avoid 'pango_layout_get_cursor_pos: assertion 'index >= ↵Michael Webster2017-06-201-1/+17
| | | | 0 && index <= layout->length' failed' error.
* src/prompt-box.vala: get_preferred_height() ovrride only needed with GTK3 >= ↵Michael Webster2017-06-201-0/+2
| | | | 3.20.
* Fix prompt display in gtk3 > 3.20 (ported from slick-greeter)Michael Webster2017-06-202-0/+5
|
* menubar clean-up before session start: i.e. kill onboard and orca on session ↵leigh123linux2017-06-202-0/+8
| | | | startup (ported from slick-greeter).
* src/logo-generator.vala: Make logo-generator more flexible. Allow passing-in ↵Mike Gabriel2017-06-161-3/+7
| | | | of output logo's width and height. Fix placing of version string.
* src/session-list.vala: Regression fix for failing session logins caused by ↵Mike Gabriel2017-06-161-4/+3
| | | | eece8599b774b4b30eeb31a39bc7c3c36d24b011.
* src/session-list.vala: Present list of available sessions in ↵Mike Gabriel2017-06-161-1/+8
| | | | case-insensitive order.
* Artwork: Add icon badge for Sugar Desktop.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for surf-display.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for Xmonad.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for the Window Maker.Mike Gabriel2017-06-141-0/+2
|
* Artwork: Add icon badge for the Budgie Desktop.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for awesome.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for the matchbox wm.Mike Gabriel2017-06-131-0/+2
|
* Artwork: Add icon badge for i3 wm.Mike Gabriel2017-06-131-0/+3
|
* override_font() deprecation warning: replace by GtkCssProvider blocks. ↵Mike Gabriel2017-06-125-18/+118
| | | | Additionally, don't hard-code Cabin font anymore, use font_name gsettings property instead.
* src/arctica-greeter.vala: Fix copy+paste flaw blocking atspid to be ↵Mike Gabriel2017-06-121-1/+1
| | | | destroyed at greeter exit.
* src/settings-daemon.vala: Make sure the SettingsDaemon subprocess gets ↵Mike Gabriel2017-06-082-2/+34
| | | | killed when greeter exits.
* src/settings-daemon.vala: Flaw when switching to m-s-d. The media-keys ↵Mike Gabriel2017-06-071-1/+0
| | | | plugin is to be diabled.
* src/settings-daemon.vala: Avoid race condition that could launch the ↵Mike Gabriel2017-06-071-3/+1
| | | | settings daemon twice.
* Rename owned greeter bus to a generical, product-independent name: ↵Mike Gabriel2017-06-042-2/+2
| | | | org.ayatana.Greeter.
* Play system-ready sound when arctica-greeter is ready for loggin the user ↵Mike Gabriel2017-05-311-1/+1
| | | | in. Ship system-ready sound with our own sound theme as ubuntu-sounds is not available on all distros.
* Use ShutdownDialogType.SHUTDOWN on incoming shutdown requests. This enables ↵Mike Gabriel2017-05-302-5/+5
| | | | Hibernate and Suspend buttons, which is nice.
* src/shutdown-dialog.vala: Grab Reboot button focus when user requests a reboot.Mike Gabriel2017-05-301-1/+3
|
* Return "greeter" as session_name rather than "ubuntu" in SessionManager DBus ↵Mike Gabriel2017-05-281-1/+1
| | | | interface.
* nm-applet startup: Fix typo in cmd line option.Mike Gabriel2017-05-281-1/+1
|
* comment change: MATE and GNOME share the same session manager namespaceMike Gabriel2017-05-261-1/+1
|
* DBus own_name: Clear up mess. Arctica Greeter owns two buses: ↵Mike Gabriel2017-05-231-3/+3
| | | | org.ArcticaProject.ArcticaGreeter (formerly: com.canonical.UnityGreeter) and org.ayatana.Desktop (formerly: com.canonical.Unity).
* src/arctica-greeter.vala: Enable nm-applet again, launch with --indicators ↵Mike Gabriel2017-05-231-19/+19
| | | | option and let's hope the system has nm-applet with indicators support compiled-in.
* Acquire DBus session bus 'com.canonical.Unity' for now. Same bus name is ↵Mike Gabriel2017-05-181-3/+3
| | | | used in ayatana-indicator-session and maybe elsewhere.
* session list's back button: Make background transparent.Mike Gabriel2017-05-181-0/+17
|