[hotssh] Set application name to comply with GNOME 3



commit 6435d874914f4762330d34b59bb1813143c26d36
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 4 16:39:52 2010 -0500

    Set application name to comply with GNOME 3

 bin/hotssh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/bin/hotssh b/bin/hotssh
index 3e3cc0a..139205a 100755
--- a/bin/hotssh
+++ b/bin/hotssh
@@ -30,7 +30,9 @@ if __name__ == '__main__' and hasattr(sys.modules['__main__'], '__file__'):
         
 exec_real_ssh = False
 try:
-	import gtk
+    import gobject
+    gobject.set_prgname('hotssh')
+    import gtk
 except:
 	# No gtk, clearly no hotssh
 	exec_real_ssh = True



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]