libwnck r1399 - in trunk: . libwnck
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: libwnck r1399 - in trunk: . libwnck
- Date: Sun, 8 Jul 2007 10:51:17 +0100 (BST)
Author: vuntz
Date: 2007-07-08 10:51:17 +0100 (Sun, 08 Jul 2007)
New Revision: 1399
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1399&view=rev
Modified:
trunk/ChangeLog
trunk/libwnck/window-action-menu.c
Log:
2007-07-08 Vincent Untz <vuntz gnome org>
Make the window action menu work when more things change.
* libwnck/window-action-menu.c: (update_menu_state): hide/show
left/right/up/down items, refill the workspace submenu when needed,
hide the unpin item and popdown the workspace submenu when there is
only one workspace
(workspace_changed_callback): new, update the menu when the window is
on another workspace
(screen_workspace_callback): new, update the menu when a workspace is
created/destroyed
(refill_submenu): new, from code from wnck_create_window_action_menu()
(wnck_create_window_action_menu): always create left/right/up/down
items, don't create the workspace submenu here, connect to
workspace_changed, workspace_created and workspace_destroyed
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]