[xfce4-appfinder] Patch for https://bugzilla.xfce.org/show_bug.cgi?id=9109
Kevin Fenzi
kevin at fedoraproject.org
Thu Jul 19 00:08:39 UTC 2012
commit 368f0417cd6c69f88dfb3ba7d193d220b1413c1d
Author: Kevin Fenzi <kevin at scrye.com>
Date: Wed Jul 18 18:06:34 2012 -0600
Patch for https://bugzilla.xfce.org/show_bug.cgi?id=9109
appfinder-categories-nil-value.patch | 12 ++++++++++++
xfce4-appfinder.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
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 <cristian.ciupitu at yahoo.com> - 4.10.0-2
+- Patch for https://bugzilla.xfce.org/show_bug.cgi?id=9109
+
* Sun Apr 29 2012 Christoph Wickert <cwickert at fedoraproject.org> - 4.10.0-1
- Update to 4.10.0 final
- Add VCS key
More information about the scm-commits
mailing list