cinnamon-control-center: update to 2.2.10.

This commit is contained in:
Christian Neukirchen 2014-08-30 18:38:37 +02:00
parent d5c8a21727
commit 792a1665ba
3 changed files with 27 additions and 5319 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
--- 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,6 +1,6 @@
# Template file for 'cinnamon-control-center'
pkgname=cinnamon-control-center
version=2.0.9
version=2.2.10
revision=1
patch_args="-Np1"
short_desc="The Cinnamon Control Center"
@ -8,11 +8,11 @@ build_style=gnu-configure
configure_args=" --disable-static --disable-update-mimedb --enable-systemd"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
gettext-devel intltool which xmlto docbook-xsl git"
makedepends="dbus-glib-devel gnome-menus-devel libgnomekbd-devel cinnamon-desktop-devel
cinnamon-settings-daemon-devel systemd-devel network-manager-applet-devel libSM-devel
libnotify-devel upower-devel polkit-devel colord-devel ibus-devel pulseaudio-devel
libcanberra-devel cups-devel cheese-devel libXxf86misc-devel
desktop-file-utils hicolor-icon-theme"
makedepends="dbus-glib-devel cinnamon-menus-devel libgnomekbd-devel
cinnamon-desktop-devel cinnamon-settings-daemon-devel systemd-devel
network-manager-applet-devel libSM-devel libnotify-devel upower-devel
polkit-devel colord-devel ibus-devel pulseaudio-devel
libcanberra-devel cups-devel cheese-devel libXxf86misc-devel tzdata"
depends="cinnamon-settings-daemon cinnamon-translations desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"