Blame SOURCES/xsane-0.998-wmclass.patch

873311
From a0b23d7e1991b23e2b9ab78bf382c55b9e24cfb9 Mon Sep 17 00:00:00 2001
873311
From: Nils Philippsen <nils@redhat.com>
873311
Date: Fri, 25 May 2012 11:47:39 +0200
873311
Subject: [PATCH] patch: wmclass
873311
873311
Squashed commit of the following:
873311
873311
commit d42b7a9dbe397a301373e3cbaa589540a1475a0b
873311
Author: Nils Philippsen <nils@redhat.com>
873311
Date:   Fri May 25 11:45:48 2012 +0200
873311
873311
    set program name -> wmclass to match desktop file name
873311
---
873311
 src/xsane.c | 3 +++
873311
 1 file changed, 3 insertions(+)
873311
873311
diff --git a/src/xsane.c b/src/xsane.c
873311
index 8b24b0c..eee76ff 100644
873311
--- a/src/xsane.c
873311
+++ b/src/xsane.c
873311
@@ -6208,6 +6208,9 @@ int main(int argc, char **argv)
873311
     xsane.ipc_pipefd[1] = 0;
873311
   }
873311
 
873311
+  /* Set program name -> wmclass to match desktop file name */
873311
+  g_set_prgname("xsane");
873311
+
873311
 #if 0
873311
   bindtextdomain(PACKAGE, STRINGIFY(LOCALEDIR));
873311
   textdomain(PACKAGE);         
873311
-- 
873311
1.7.11.4
873311