On Sun, Sep 2, 2012 at 10:29 AM, Bazon Bloch <bazonbl...@arcor.de> wrote:
> Hello,
>
> I'm about to write a Gnome-Shell-Extension and by now, everything is fine,
> except one thing:
>
> I need to call a function when the workspaces switch in the overview.
>
> I tried with Main.wm.actionMoveWorkspaceUp, but that is only for workspace
> change outside the overview.
> So what can I do to get a function when switching workspaces IN the
> overview?

You can just activate the workspace directly.

global.screen.get_workspace_by_index(index).activate(global.get_current_time());

> thanks!
>
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list



-- 
  Jasper
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to