From 3437a754a026b15cad810339b54dc4d599d08c61 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mar 14 2010 20:07:59 +0000 Subject: enable startup notification --- diff --git a/alacarte.spec b/alacarte.spec index bba36cc..97b7ad4 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -2,14 +2,15 @@ Name: alacarte Version: 0.12.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Menu editor for the GNOME desktop Group: Applications/System License: LGPLv2+ URL: http://www.gnome.org +#VCS: git:git://git.gnome.org/alacarte Source0: http://download.gnome.org/sources/alacarte/0.12/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + BuildArch: noarch BuildRequires: python, python-devel, gettext @@ -21,7 +22,9 @@ BuildRequires: desktop-file-utils Requires: pygtk2, gnome-python2-gconf Requires: gnome-menus >= 2.27.92 -Patch0: undo-delete.patch +Patch0: undo-delete.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=612895 +Patch1: startup-notify.patch %description Alacarte is a graphical menu editor that lets you edit, add, and delete @@ -31,6 +34,7 @@ should work with any desktop environment that uses this specification. %prep %setup -q %patch0 -p1 -b .undo-delete +%patch1 -p1 -b .startup-notify %build %configure @@ -79,6 +83,9 @@ fi %{_datadir}/icons/hicolor/256x256/apps/alacarte.png %changelog +* Sun Mar 14 2010 Matthias Clasen - 0.12.4-2 +- Use startup notification + * Mon Sep 21 2009 Matthias Clasen - 0.12.4-1 - Update to 0.12.4 diff --git a/startup-notify.patch b/startup-notify.patch new file mode 100644 index 0000000..2144714 --- /dev/null +++ b/startup-notify.patch @@ -0,0 +1,12 @@ +diff -up alacarte-0.12.4/data/alacarte.desktop.in.in.startup-notify alacarte-0.12.4/data/alacarte.desktop.in.in +--- alacarte-0.12.4/data/alacarte.desktop.in.in.startup-notify 2010-03-14 16:00:44.600736393 -0400 ++++ alacarte-0.12.4/data/alacarte.desktop.in.in 2010-03-14 16:01:30.632733811 -0400 +@@ -4,7 +4,7 @@ _Comment=Change which applications are s + Exec=alacarte + Terminal=false + Type=Application +-StartupNotify=false ++StartupNotify=true + Categories=GNOME;Settings;DesktopSettings; + NotShowIn=KDE; + Icon=alacarte