rpms/kerneloops/devel kerneloops-icon-visibility.patch, NONE, 1.1 kerneloops.spec, 1.10, 1.11
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Fri Mar 28 20:10:20 UTC 2008
Author: cebbert
Update of /cvs/pkgs/rpms/kerneloops/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16006
Modified Files:
kerneloops.spec
Added Files:
kerneloops-icon-visibility.patch
Log Message:
* Fri Mar 28 2008 Chuck Ebbert <cebbert at redhat.com> 0.10-11
- Don't leave the status icon visible after an oops notification. (#438432)
kerneloops-icon-visibility.patch:
--- NEW FILE kerneloops-icon-visibility.patch ---
Don't leave the status icon visible after an oops.
Index: kerneloops-0.10/kerneloops-applet.c
===================================================================
--- kerneloops-0.10.orig/kerneloops-applet.c
+++ kerneloops-0.10/kerneloops-applet.c
@@ -142,7 +142,6 @@ static void got_a_message(void)
"/usr/share/kerneloops/icon.png", NULL);
notify_notification_set_timeout(notify, 0);
- gtk_status_icon_set_visible(statusicon, TRUE);
notify_notification_set_urgency(notify, NOTIFY_URGENCY_CRITICAL);
@@ -185,7 +184,6 @@ static void sent_an_oops(void)
"/usr/share/kerneloops/icon.png", NULL);
notify_notification_set_timeout(notify, 5000);
- gtk_status_icon_set_visible(statusicon, TRUE);
notify_notification_set_urgency(notify, NOTIFY_URGENCY_LOW);
@@ -245,6 +243,7 @@ static DBusHandlerResult dbus_gotmessage
/* ok time to ask the user */
gtk_status_icon_set_visible(statusicon, TRUE);
got_a_message();
+ gtk_status_icon_set_visible(statusicon, FALSE);
}
return DBUS_HANDLER_RESULT_HANDLED;
}
Index: kerneloops.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kerneloops/devel/kerneloops.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- kerneloops.spec 28 Mar 2008 17:52:28 -0000 1.10
+++ kerneloops.spec 28 Mar 2008 20:09:42 -0000 1.11
@@ -1,6 +1,6 @@
Name: kerneloops
Version: 0.10
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Tool to automatically collect and submit kernel crash signatures
Group: System Environment/Base
@@ -14,6 +14,7 @@
Patch4: kerneloops-ignore-raid-warning.patch
Patch5: kerneloops-cleanup-logging.patch
Patch6: kerneloops-fix-always-pref.patch
+Patch7: kerneloops-icon-visibility.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -41,6 +42,8 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
+
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@@ -81,6 +84,9 @@
%doc %{_mandir}/man8/kerneloops.8.gz
%changelog
+* Fri Mar 28 2008 Chuck Ebbert <cebbert at redhat.com> 0.10-11
+- Don't leave the status icon visible after an oops notification. (#438432)
+
* Fri Mar 28 2008 Chuck Ebbert <cebbert at redhat.com> 0.10-10
- Write the correct user preference setting when user chooses "always". (#437291)
More information about the fedora-extras-commits
mailing list