tests/status_icon.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 12 Jul 2010 09:35:35 +0000 (17:35 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 12 Jul 2010 09:35:35 +0000 (17:35 +0800)
tests/status_icon.js

index 1c05d87..426b3b5 100644 (file)
@@ -10,7 +10,7 @@ window.set_default_size(600, 500);
 window.signal.hide.connect(Gtk.main_quit);
 
 // Create the GtkStatusIcon from a file
-var icon = new Gtk.StatusIcon({file : "/home/marin/Bureau/Bric_a_brac/notify/icon.png"});
+var icon = new Gtk.StatusIcon({stock : Gtk.STOCK_MEDIA_PLAY});
 
 // Create the menu
 var menu = new Gtk.Menu();