I don't have a code solution for you, but this works for me: I have a specific workspace where I always run evolution as soon as I log in; clicking on that pane in the workspace switcher means I want to read mail now.
- Stephen On Tue, 2006-03-28 at 20:35 -0800, Jason Morehouse wrote: > Hello, > > I live out of Evolution, but have one issue that drives me nuts. I work > on 4 workspace and am often flipping around from one to the other. I > forget sometimes if and where evolution is running. If it's already > running on another workspace when I try an launch it, the second copy > kind of kind of locks up for about 12 seconds while flashing away in the > title bar. > > Does this annoy anyone else? Any fixes? > > I tried this script, but it doesn't seem to work: > > #!/usr/bin/perl > use Gnome2; > use Gnome2::Wnck; > Gtk2->init(); > > # get evo wnck window to unminimize on click > my ($evo); > my $screen = Gnome2::Wnck::Screen->get_default(); > $screen->force_update(); > foreach my $line ($screen->get_windows()) { > my $stamp = localtime(time); > if ($line->get_name =~ /Evolution/) { > $evo = $line; > } > } > if ($evo) { > $evo->unminimize($stamp); > $evo->get_workspace->activate($stamp); > $evo->activate($stamp); > } else { > system('evolution'); > } > > > Thanks, > -J > > _______________________________________________ > Evolution-list mailing list > Evolution-list@gnome.org > http://mail.gnome.org/mailman/listinfo/evolution-list _______________________________________________ Evolution-list mailing list Evolution-list@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-list