summaryrefslogtreecommitdiff
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* common: generate session manager proxyRay Strode2013-08-066-17/+17
| | | | | | | | | | | | | Generating D-Bus proxies is more convienent and more typesafe than using naked GDBusProxy objects. As a first step this commit changes the common session manager proxy to be generated from XML. Since the generated proxy can be compatibly used in any existing GDBusProxy calls, this commit doesn't attempt to rewrite all the plugins to use the generated apis. That can happen in future clean ups. https://bugzilla.gnome.org/show_bug.cgi?id=705127
* power: Handle critical action for UPSesBastien Nocera2013-08-061-1/+3
| | | | | | | | And the case where logind doesn't respond. Spotted by Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=705525
* power: Add test case for falling back on criticalBastien Nocera2013-08-061-0/+26
| | | | | | When hibernate isn't available, make sure that we end up suspending instead. This also tests the removal of deprecated UPower functions, replaced by logind ones.
* power: Use logind to discover critical action availabilityJan Alexander Steffens (heftig)2013-08-061-9/+27
| | | | | | | | | The upower functionality is deprecated and will return an error unless upower is built with --enable-deprecated. Follows a similar patch to gnome-control-center. https://bugzilla.gnome.org/show_bug.cgi?id=705525
* mouse: Enable edge scrolling if two-finger scroll is unavailaibleOndrej Holy2013-08-051-4/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702858
* xsettings: Disable middle-click paste by defaultBastien Nocera2013-08-021-0/+1
| | | | | | | | | | | The middle-click will be used to start selections, and provide text contextual menus (such as word definitions, sharing, etc.) See: https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Selections for design details. https://bugzilla.gnome.org/show_bug.cgi?id=665193
* media-keys: update for new power plugin DBus APICosimo Cecchi2013-08-021-1/+1
| | | | | | We use signed integers instead of unsigned integers for power percentage now. https://bugzilla.gnome.org/show_bug.cgi?id=705269
* power: always use absolute values to set the keyboard brightnessCosimo Cecchi2013-08-021-0/+2
| | | | | | The property is a percentage, but we need to pass the absolute value down to upower. https://bugzilla.gnome.org/show_bug.cgi?id=705269
* power: Add Brightness property for keyboard backlightsCosimo Cecchi2013-08-021-29/+59
| | | | | | | This changest the return values of the StepUp/StepDown methods to match the return values on the similar screen backlight interface. https://bugzilla.gnome.org/show_bug.cgi?id=705269
* media-keys: Use MPRIS when no apps use the media-keys APIMichael Wood2013-08-014-3/+281
| | | | | | | | | | | | If the media-keys plugin gets a Play or Pause key events and we don't have any clients registered to handle it through the native media-keys API, look for an MPRIS interface using bus namespace watching and try that. This fixes integration of Spotify for example, as it's unlikely to implement a GNOME specific interface. https://bugzilla.gnome.org/show_bug.cgi?id=697810
* media-keys: Add bus namespace watchingLars Uebernickel2013-08-013-0/+385
| | | | | | | | This adds a bus namespace watching helper, mimicking the g_bus_watch_name() API but watching name prefixes instead of bus names. https://bugzilla.gnome.org/show_bug.cgi?id=697810
* print-notifications: Show final job states for remote CUPS serverMarek Kasik2013-07-311-12/+37
| | | | | | | | Remote CUPS servers send information about final state of print jobs in job-state-change event instead of in job-completed event. Add translation context to those messages and update *.po files. https://bugzilla.gnome.org/show_bug.cgi?id=678623
* print-notifications: Regularly check for notifications from remote CUPS serversMarek Kasik2013-07-311-0/+8
| | | | | | Get new notifications every 60 seconds if the CUPS server is a remote one. https://bugzilla.gnome.org/show_bug.cgi?id=678623
* print-notifications: Use IPP method for getting IPP notificationsMarek Kasik2013-07-311-61/+191
| | | | | | | | | | | Use method IPP_GET_NOTIFICATIONS for getting of IPP notifications instead of relying on DBus interface of CUPS. This change allows us to unify getting of notifications for remote and local CUPS servers later. Use DBus notification for signaling the need for getting of new notifications. https://bugzilla.gnome.org/show_bug.cgi?id=678623
* print-notifications: Don't run connection test for local serverMarek Kasik2013-07-311-29/+36
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678623
* print-notifications: Don't use DBus recipient URI for remote serversMarek Kasik2013-07-311-2/+18
| | | | | | Using DBus for notify-recipient-uri is useless for remote servers. https://bugzilla.gnome.org/show_bug.cgi?id=678623
* print-notifications: Stop renewing of CUPS subscriptions once we are finishedMarek Kasik2013-07-311-4/+23
| | | | | Store id of the event source which renews subscriptions and remove it when stopping manager.
* print-notifications: Cancel subscription to DBus signals when finishedMarek Kasik2013-07-311-10/+19
| | | | | Store id of the subscription to CUPS' DBus signals and remove it when stopping manager.
* print-notifications: Connect to message bus asynchronouslyMarek Kasik2013-07-311-12/+31
|
* print-notifications: Honor CUPS' default port numberMarek Kasik2013-07-311-6/+10
| | | | | Don't default to "631" for default port when testing connection to remote CUPS server.
* print-notifications: Use better debugging messagesMarek Kasik2013-07-311-2/+2
| | | | | | Using g_debug() is more appropriate than gnome_settings_profile_msg() for message about getting dests from CUPS server. Be more specific in those debugging messages.
* print-notifications: Coding style fixesMarek Kasik2013-07-311-24/+12
|
* print-notifications: Move translator comments to appropriate positionsMarek Kasik2013-07-311-2/+2
| | | | | Move translator comments 1 line above the actual strings so that translators see them.
* mouse: replace dialog by warningOndrej Holy2013-07-301-14/+1
| | | | | | The dialog blocks mainloop and possibly other services. https://bugzilla.gnome.org/show_bug.cgi?id=704475
* Dist fixes for color and smartcardYanko Kaneti2013-07-292-2/+9
|
* smartcard: support old card removal actionsRay Strode2013-07-293-1/+181
| | | | | | | | The old smartcard plugin supported a feature where the screen would lock or the session would get logged out if a user yanked their login token. This commit adds that feature back.
* smartcard: add session manager proxyRay Strode2013-07-292-1/+464
| | | | | | | | | We're going to need to be able to log the user out in some cases when they remove their smartcard. This commit adds the makefile goo and the xml file stolen from gnome-session source tree to get access to the session manager to log out.
* smartcard: add screensaver proxyRay Strode2013-07-292-1/+58
| | | | | | | | We're going to need to be able to lock the screen in some cases when a user removes their smartcard. This commit adds the goo needed to get access to the lock screen.
* smartcard: fix driver activation notificationRay Strode2013-07-291-37/+3
| | | | | | | | | | g-s-d fails to notice when it's finished loading all the smartcard drivers. This is because the code was waiting for the driver worker threads to finish instead of to start (and also a fault >= instead > 0 check for pending drivers) The commit fixes that.
* build: Fix smartcard plugin with srcdir != builddirColin Walters2013-07-271-1/+1
|
* smartcard: add back smartcard supportRay Strode2013-07-2712-0/+2334
| | | | | | | | This commit lands a rewrite of the smartcard plugin. It makes use of the DBus ObjectManager interface to export tokens over the bus, as they're inserted and removed. https://bugzilla.gnome.org/show_bug.cgi?id=704890
* smartcard: drop old implementationRay Strode2013-07-278-2735/+0
| | | | | | | It's going to be substantially rewritten, so drop the old code to avoid a confusing diff when the new stuff lands. https://bugzilla.gnome.org/show_bug.cgi?id=704890
* wacom: Add a DBus interface and method to show the OSD windowJoaquim Rocha2013-07-262-7/+164
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=704797
* wacom: Add the gsd_wacom_osd_window_set_edition_mode methodJoaquim Rocha2013-07-262-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=704797
* color: Split out the X11 functionality into a new fileRichard Hughes2013-07-264-1339/+1508
| | | | | Also, only run the X11 functionality when using the X11 backend. This prevents segfaults when using wayland.
* color: Split out the color profile functionality into a new fileRichard Hughes2013-07-264-150/+333
|
* color: Split out the color calibration functionality into a new fileRichard Hughes2013-07-264-318/+480
|
* media-keys: Fix launched apps not getting focusedBastien Nocera2013-07-252-2/+4
| | | | | | | | Use the timestamp passed by newer versions of mutter/gnome-shell to launch applications. This should make them focus correctly when launched. https://bugzilla.gnome.org/show_bug.cgi?id=701273
* wacom: Move the OSD related key release processing to the GsdWacomOSDWindowJoaquim Rocha2013-07-242-26/+29
| | | | | | | | Instead of doing it in the GsdWacomManager; this way, it gets more modular and makes it easier for the OSD to process the keys. Also changes what some keys do. https://bugzilla.gnome.org/show_bug.cgi?id=701200
* wacom: Use the OSD window to edit the tablets' buttonsJoaquim Rocha2013-07-248-57/+1649
| | | | | | This adds a new edition mode to the OSD window and a new widget to edit the tablets' buttons. https://bugzilla.gnome.org/show_bug.cgi?id=701200
* cursor: Request the OSK when the cursor is disabledDavid King2013-07-241-1/+150
| | | | | | | | | Register 'org.gnome.SettingsDaemon.Cursor' on the session bus. Add a D-Bus property 'ShowOSK' to indicate whether the on-screen keyboard should be enabled, which is triggered when a direct touch device is used for input. https://bugzilla.gnome.org/show_bug.cgi?id=692772
* wacom: Make the OSD Window be a popup oneJoaquim Rocha2013-07-221-1/+42
| | | | | | | This is necessary because, otherwise, showing the OSD Window on top of a fullscreen window will hide the latter. https://bugzilla.gnome.org/show_bug.cgi?id=703049
* print-notifications: Translate printer warningsMarek Kasik2013-07-221-4/+4
| | | | | | Mark printer warnings for translation. https://bugzilla.gnome.org/show_bug.cgi?id=704680
* power: Remove mention to fixed bugBastien Nocera2013-07-191-1/+0
|
* wacom: Make sure the touch property is set to a touch deviceJoaquim Rocha2013-07-191-1/+2
| | | | | | | Not filtering it would end up in setting it for the pad which closed the device and hence lost the current key grab. https://bugzilla.gnome.org/show_bug.cgi?id=704480
* power: Simplify up_client_get_devices() handlingBastien Nocera2013-07-191-7/+5
|
* xrandr: don't ever show a dialog for xrandr failuresRay Strode2013-07-181-21/+11
| | | | | | | | | | | | | | | First, we're using gtk_dialog_run which is a big no-no in a system service (since it blocks the service). Second, a user will be able to tell if their configuration changes aren't working, the dialog doesn't help them. Third, the dialogs frequently contain technobable about crtc 65 and the like. This commit gets rid of them. https://bugzilla.gnome.org/show_bug.cgi?id=704473
* housekeeping: Simplify cleanup codeBastien Nocera2013-07-183-51/+15
| | | | Using g_clear_{pointer,object} as appropriate.
* xrandr: Simplify layout of adjacent screensBastien Nocera2013-07-181-24/+15
| | | | | | | Rather than going through the loop a number of times, add the outputs to a GPtrArray directly, and sort it. https://bugzilla.gnome.org/show_bug.cgi?id=704286
* wacom: Remove the auto_off property from the OSD's buttonsJoaquim Rocha2013-07-171-32/+1
| | | | | | And everything related to it as it is no longer necessary. https://bugzilla.gnome.org/show_bug.cgi?id=690550