cinnamon-control-center: update to 2.2.11.

This commit is contained in:
Juan RP 2014-08-31 12:29:08 +02:00
parent 24b54cd08c
commit 25028d3035
2 changed files with 5 additions and 26 deletions

View File

@ -1,21 +0,0 @@
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -934,10 +934,18 @@
-1);
switch (value_tmp) {
case CSD_POWER_ACTION_SUSPEND:
+#if UP_CHECK_VERSION(0,99,0)
+ enabled = cc_login1("CanSuspend");
+#else
enabled = cc_login1("CanSuspend") || up_client_get_can_suspend (self->priv->up_client);
+#endif
break;
case CSD_POWER_ACTION_HIBERNATE:
+#if UP_CHECK_VERSION(0,99,0)
+ enabled = cc_login1("CanHibernate");
+#else
enabled = cc_login1("CanHibernate") || up_client_get_can_hibernate (self->priv->up_client);
+#endif
break;
default:
enabled = TRUE;

View File

@ -1,19 +1,19 @@
# Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center
version=2.2.10
revision=2
version=2.2.11
revision=1
patch_args="-Np1"
short_desc="The Cinnamon Control Center"
build_style=gnu-configure
configure_args=" --disable-static --disable-update-mimedb $(vopt_enable systemd)"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which xmlto docbook-xsl git"
gettext-devel intltool xmlto docbook-xsl git"
makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel
cinnamon-desktop-devel cinnamon-settings-daemon-devel libXxf86misc-devel
network-manager-applet-devel libSM-devel libnotify-devel upower0-devel
polkit-devel colord-devel ibus-devel pulseaudio-devel tzdata
polkit-devel colord-devel ibus-devel pulseaudio-devel libwacom-devel tzdata
libcanberra-devel cups-devel cheese-devel $(vopt_if systemd systemd-devel)"
depends="cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme"
depends="GConf cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"