public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: fixed prgname in gui apps
@ 2026-08-03 11:03 Jiri Moskovcak
0 siblings, 0 replies; only message in thread
From: Jiri Moskovcak @ 2026-08-03 11:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/abrt
Branch : update-2.17.9-f44
Commit : 619e30432ad949e0bcd1046d0c062613b795be47
Author : Jiri Moskovcak <jmoskovc@redhat.com>
Date : 2011-05-08T21:27:35+02:00
Stats : +58/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/abrt/c/619e30432ad949e0bcd1046d0c062613b795be47?branch=update-2.17.9-f44
Log:
fixed prgname in gui apps
- fixes problem with lowres icons in gnome3
---
diff --git a/abrt.spec b/abrt.spec
index f90d0a9..d3413e1 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -10,7 +10,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.0.2
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
@@ -23,6 +23,7 @@ Patch1: blacklist.patch
Patch2: allow_bz_for_koops.patch
Patch3: retrace_addr.patch
Patch4: retrace_client_flush.patch
+Patch5: prgname.patch
BuildRequires: dbus-devel
BuildRequires: gtk2-devel
BuildRequires: curl-devel
@@ -264,6 +265,7 @@ generation service over a network using HTTP protocol.
%patch2 -p1 -b bz_for_oops
%patch3 -p1 -b retrace_addr
%patch4 -p1 -b flush_messages
+%patch5 -p1 -b prgname
%build
autoconf
@@ -645,6 +647,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_infodir}/abrt-retrace-server*
%changelog
+* Sun May 08 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.2-4
+- fixed prgname, fixes problem where Gnome3 shows lowres icons instead
+ nice highres ones
+
* Fri May 06 2011 Christopher Aillon <caillon@redhat.com> - 2.0.2-3
- Update icon cache scriptlet per packaging guidelines
diff --git a/prgname.patch b/prgname.patch
new file mode 100644
index 0000000..2b003ee
--- /dev/null
+++ b/prgname.patch
@@ -0,0 +1,51 @@
+commit e4200116d227ac159d45d84bfbdbaf85d188c4bb
+Author: Denys Vlasenko <dvlasenk@redhat.com>
+Date: Fri May 6 22:27:40 2011 +0200
+
+ reinstated g_set_prgname("abrt")
+
+ Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
+
+diff --git a/src/applet/applet.c b/src/applet/applet.c
+index e965a3b..aff8284 100644
+--- a/src/applet/applet.c
++++ b/src/applet/applet.c
+@@ -221,7 +221,7 @@ int main(int argc, char** argv)
+
+ /* Parse options */
+ int opt;
+- while ((opt = getopt(argc, argv, "dv")) != -1)
++ while ((opt = getopt(argc, argv, "v")) != -1)
+ {
+ switch (opt)
+ {
+diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c
+index e9b175a..39d9f7e 100644
+--- a/src/gui-gtk/main.c
++++ b/src/gui-gtk/main.c
+@@ -204,6 +204,8 @@ int main(int argc, char **argv)
+ * desktops which uses the name to find the corresponding .desktop file
+ * trac#180
+ */
++ g_set_prgname("abrt");
++
+ gtk_init(&argc, &argv);
+
+ /* Can't keep these strings/structs static: _() doesn't support that */
+diff --git a/src/gui-wizard-gtk/main.c b/src/gui-wizard-gtk/main.c
+index d1341b4..cdcf9e4 100644
+--- a/src/gui-wizard-gtk/main.c
++++ b/src/gui-wizard-gtk/main.c
+@@ -69,6 +69,12 @@ int main(int argc, char **argv)
+ textdomain(PACKAGE);
+ #endif
+
++ /* without this the name is set to argv[0] which confuses
++ * desktops which uses the name to find the corresponding .desktop file
++ * trac#180
++ */
++ g_set_prgname("abrt");
++
+ gtk_init(&argc, &argv);
+
+ /* Can't keep these strings/structs static: _() doesn't support that */
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:03 [rpms/abrt] update-2.17.9-f44: fixed prgname in gui apps Jiri Moskovcak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox