From a9e53b2735ea82e289fc520a61ba8629d1583fab Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 13 Nov 2013 12:17:23 +0000 Subject: Remove distro folder. --- distro/archlinux/PKGBUILD | 45 ----------------------- distro/archlinux/mate-notification-daemon.install | 18 --------- 2 files changed, 63 deletions(-) delete mode 100644 distro/archlinux/PKGBUILD delete mode 100644 distro/archlinux/mate-notification-daemon.install diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD deleted file mode 100644 index ee1fbdc..0000000 --- a/distro/archlinux/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -pkgname=mate-notification-daemon -pkgver=2011.12.01 -pkgrel=1 -pkgdesc="Notification daemon for MATE" -arch=(i686 x86_64) -license=('GPL' 'LGPL') -depends=('libmatenotify' 'libmatewnck' 'gtk2') -makedepends=('intltool') -conflicts=('notification-daemon') -provides=('notification-daemon') -url="http://matsusoft.com.ar/projects/mate/" -groups=('mate') -options=('!libtool' '!emptydirs') -install=mate-notification-daemon.install -source=() -sha256sums=() - - - -build() { - cd "${srcdir}/../../../" - - ./autogen.sh \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --disable-static \ - --libexecdir=/usr/lib/mate-notification-daemon \ - --disable-schemas-install || return 1 - - make || return 1 -} - -package() { - cd "${srcdir}/../../../" - - make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 - - # hax! still conflicts with libnotify - #ln -s mate-notify-send ${pkgdir}/usr/bin/notify-send - - install -m755 -d "${pkgdir}/usr/share/mateconf/schemas" - mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1 - rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas -} diff --git a/distro/archlinux/mate-notification-daemon.install b/distro/archlinux/mate-notification-daemon.install deleted file mode 100644 index 67875d2..0000000 --- a/distro/archlinux/mate-notification-daemon.install +++ /dev/null @@ -1,18 +0,0 @@ -pkgname=mate-notification-daemon - -post_install() { - usr/sbin/mateconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/mateconfpkg --uninstall ${pkgname} -} -- cgit v1.2.1 From b0a1739abb00bb6c62811c5c0f1e766d0ef13140 Mon Sep 17 00:00:00 2001 From: Philipp Kerling Date: Fri, 27 Dec 2013 20:08:32 +0100 Subject: Check value type of notification hint 'urgency' before dereferencing in nodoka and coco theme --- src/themes/coco/coco-theme.c | 2 +- src/themes/nodoka/nodoka-theme.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index 71b62fb..2c257e7 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -602,7 +602,7 @@ set_notification_hints(GtkWindow *nw, GHashTable *hints) value = (GValue *)g_hash_table_lookup(hints, "urgency"); - if (value != NULL) + if (value != NULL && G_VALUE_HOLDS_UCHAR(value)) { windata->urgency = g_value_get_uchar(value); diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 0998d0b..9ec831f 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -1005,7 +1005,7 @@ set_notification_hints(GtkWindow *nw, GHashTable *hints) value = (GValue *)g_hash_table_lookup(hints, "urgency"); - if (value != NULL) + if (value != NULL && G_VALUE_HOLDS_UCHAR(value)) { windata->urgency = g_value_get_uchar(value); -- cgit v1.2.1 From 38b5f5e745a8ce2aa6696bd3d80d2cb8f35a469b Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 15 Jan 2014 11:03:28 +0100 Subject: capplet: Fix typos in manpage --- src/capplet/mate-notification-properties.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/capplet/mate-notification-properties.1 b/src/capplet/mate-notification-properties.1 index c263aee..2053aa4 100644 --- a/src/capplet/mate-notification-properties.1 +++ b/src/capplet/mate-notification-properties.1 @@ -12,7 +12,7 @@ mate-notification-properties \- Set up the options for desktop notifications This manual page documents briefly the \fBmate-notification-properties\fR command. .PP -\fBmate-notification-properties\fR is an utility to set up various +\fBmate-notification-properties\fR is a utility to set up various options related to desktop notifications. .SH "AUTHOR" @@ -21,5 +21,5 @@ options related to desktop notifications. written by Jonh Wendell and Perberos . This manual page was written by Francois Wendling for the -notification-properties in Debian GNU/Linux system (but may be used by others) +notification-properties in Debian project (but may be used by others) and adapted for MATE by Stefano Karapetsas . -- cgit v1.2.1 From 11c28cc9c9c288461545e6ae78dd59926a5425b7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 15 Jan 2014 11:11:32 +0100 Subject: capplet: Add keywords in desktop file Thanks to Mike Gabriel Closes #27 https://github.com/mate-desktop/mate-notification-daemon/issues/27 --- src/capplet/mate-notification-properties.desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capplet/mate-notification-properties.desktop.in b/src/capplet/mate-notification-properties.desktop.in index f7b6b61..2bbdace 100644 --- a/src/capplet/mate-notification-properties.desktop.in +++ b/src/capplet/mate-notification-properties.desktop.in @@ -8,4 +8,4 @@ Type=Application StartupNotify=true Categories=GTK;Settings;DesktopSettings; OnlyShowIn=MATE; - +Keywords=MATE;Notification;Theme; -- cgit v1.2.1 From 48d19cb30fab1d5a638f8ba42bc54315fafce434 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 15 Jan 2014 16:25:45 +0100 Subject: Bump version to 1.7.0 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fd0c32a..4c20f40 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ dnl Process this file with autoconf to create configure. dnl ################################################################ dnl # Initialize autoconf dnl ################################################################ -AC_INIT([mate-notification-daemon], [1.6.0], [http://www.mate-desktop.org]) +AC_INIT([mate-notification-daemon], [1.7.0], [http://www.mate-desktop.org]) AC_PREREQ(2.63) AC_CONFIG_HEADERS([config.h]) -- cgit v1.2.1