From 368f0417cd6c69f88dfb3ba7d193d220b1413c1d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Jul 19 2012 00:06:34 +0000 Subject: Patch for https://bugzilla.xfce.org/show_bug.cgi?id=9109 --- diff --git a/appfinder-categories-nil-value.patch b/appfinder-categories-nil-value.patch new file mode 100644 index 0000000..d88078b --- /dev/null +++ b/appfinder-categories-nil-value.patch @@ -0,0 +1,12 @@ +diff --git a/src/appfinder-category-model.c b/src/appfinder-category-model.c +index 483c4cc..ceba3dc 100644 +--- a/src/appfinder-category-model.c ++++ b/src/appfinder-category-model.c +@@ -142,6 +142,7 @@ xfce_appfinder_category_model_init (XfceAppfinderCategoryModel *model) + /* generate a unique stamp */ + model->stamp = g_random_int (); + model->icon_size = XFCE_APPFINDER_ICON_SIZE_DEFAULT_CATEGORY; ++ model->categories = NULL; + model->all_applications = g_object_new (GARCON_TYPE_MENU_DIRECTORY, + "name", _("All Applications"), + "icon-name", "applications-other", NULL); diff --git a/xfce4-appfinder.spec b/xfce4-appfinder.spec index 074b28d..438207b 100644 --- a/xfce4-appfinder.spec +++ b/xfce4-appfinder.spec @@ -2,7 +2,7 @@ Name: xfce4-appfinder Version: 4.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Appfinder for the Xfce4 Desktop Environment Group: User Interface/Desktops @@ -10,6 +10,7 @@ License: GPLv2+ URL: http://www.xfce.org/ #VCS git:git://git.xfce.org/xfce/xfce4-appfinder Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2 +Patch0: appfinder-categories-nil-value.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig(dbus-glib-1) >= 0.84 @@ -28,6 +29,7 @@ xfce-appfinder shows system wide installed applications. %prep %setup -q +%patch0 -p1 %build @@ -59,6 +61,9 @@ rm -rf %{buildroot} %changelog +* Wed Jul 18 2012 Cristian Ciupitu - 4.10.0-2 +- Patch for https://bugzilla.xfce.org/show_bug.cgi?id=9109 + * Sun Apr 29 2012 Christoph Wickert - 4.10.0-1 - Update to 4.10.0 final - Add VCS key