[hamster-applet/2_28_standalone] setting application name seems to gives us icon in process list
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet/2_28_standalone] setting application name seems to gives us icon in process list
- Date: Wed, 18 Nov 2009 15:26:55 +0000 (UTC)
commit be70cd456656306c6666b46dcb252efa7c1f596a
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Nov 18 15:25:43 2009 +0000
setting application name seems to gives us icon in process list
hamster/hamster-applet.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/hamster/hamster-applet.py b/hamster/hamster-applet.py
index 1877efb..2e3c3ab 100755
--- a/hamster/hamster-applet.py
+++ b/hamster/hamster-applet.py
@@ -26,6 +26,7 @@ import os.path
import gettext, locale
import gnome
import logging
+import gobject
def applet_factory(applet, iid):
applet.connect("destroy", on_destroy)
@@ -112,6 +113,7 @@ if __name__ == "__main__":
gtk.window_set_default_icon_name("hamster-applet")
if options.start_window or options.standalone:
+ gobject.set_application_name("hamster-applet")
if options.start_window == "stats":
from hamster.stats import StatsViewer
stats_viewer = StatsViewer().show()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]