[abrt/f15/master] fixed wizard prgname

Jiří Moskovčák jmoskovc at fedoraproject.org
Thu Mar 31 12:18:34 UTC 2011


commit 12c326a9cb63848eba31caade04b9a631a1e1f03
Author: Jiri Moskovcak <jmoskovc at redhat.com>
Date:   Thu Mar 31 14:14:39 2011 +0200

    fixed wizard prgname
    
    - allows gnome3 to group the wizard and abrt-gui, and fixes problems
      with icon used for wizard

 abrt.spec       |    5 ++++-
 g_prgname.patch |   12 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/abrt.spec b/abrt.spec
index 50ee0be..7e7bf18 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -16,7 +16,7 @@
 %if "0%{?_buildid}" != "0"
 %define pkg_release 0.%{?_buildid}%{?dist}
 %else
-%define pkg_release 3%{?dist}
+%define pkg_release 4%{?dist}
 %endif
 
 Summary: Automatic bug detection and reporting tool
@@ -598,6 +598,9 @@ fi
 %{_infodir}/abrt-retrace-server*
 
 %changelog
+* Thu Mar 31 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.0-4
+- fixed prgname in wizard rhbz#692442
+
 * Wed Mar 30 2011 Jiri Moskovcak <jmoskovc at redhat.com> 2.0.0-3
 - fixed notification persistence in gnome3 (again)
 - fixed wrong group:user on /var/cache/abrt-di afte rupdate from abrt 1.x #692064
diff --git a/g_prgname.patch b/g_prgname.patch
index b7e32df..96c4ec4 100644
--- a/g_prgname.patch
+++ b/g_prgname.patch
@@ -20,3 +20,15 @@ index 4602012..b3f6bdc 100644
      gtk_init(&argc, &argv);
  
      char *env_verbose = getenv("ABRT_VERBOSE");
+diff --git a/src/gui-wizard-gtk/main.c b/src/gui-wizard-gtk/main.c
+index 1cb9e26..2914b30 100644
+--- a/src/gui-wizard-gtk/main.c
++++ b/src/gui-wizard-gtk/main.c
+@@ -69,6 +69,7 @@ int main(int argc, char **argv)
+     textdomain(PACKAGE);
+ #endif
+ 
++    g_set_prgname("abrt");
+     gtk_init(&argc, &argv);
+ 
+     char *env_verbose = getenv("ABRT_VERBOSE");


More information about the scm-commits mailing list