1. 27 Jun, 2018 1 commit
  2. 28 Apr, 2017 1 commit
  3. 08 Apr, 2016 1 commit
  4. 21 Oct, 2014 2 commits
  5. 23 Jan, 2014 1 commit
  6. 27 Sep, 2013 1 commit
  7. 22 Jul, 2011 1 commit
  8. 18 Jan, 2011 2 commits
    • Vincent Untz's avatar
      all: Remove deprecated API and change API that had deprecated arguments · ab7419e6
      Vincent Untz authored
      The following deprecated API got removed:
       wnck_screen_get_workspace_index
       wnck_screen_get_workspace_neighbor
       wnck_pager_set_screen
       wnck_tasklist_set_minimum_width
       wnck_tasklist_get_minimum_width
       wnck_tasklist_set_minimum_height
       wnck_tasklist_get_minimum_height
       wnck_tasklist_set_screen
       wnck_gtk_window_set_dock_type
       wnck_create_window_action_menu
      
      The following API don't take a WnckScreen argument anymore:
       wnck_pager_new
       wnck_tasklist_new
      ab7419e6
    • Vincent Untz's avatar
      all: Code spacing fixes · 08603cf4
      Vincent Untz authored
      08603cf4
  9. 10 Mar, 2010 1 commit
  10. 06 Jan, 2009 1 commit
    • Vincent Untz's avatar
      undef WNCK_DISABLE_DEPRECATED, since that's internal code. · 9db6cfe1
      Vincent Untz authored
      2009-01-06  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/pager.c:
      	* libwnck/screen.c:
      	* libwnck/tasklist.c:
      	* libwnck/util.c:
      	* libwnck/window-action-menu.c: undef WNCK_DISABLE_DEPRECATED, since
      	that's internal code.
      
      svn path=/trunk/; revision=1695
      9db6cfe1
  11. 19 Mar, 2008 2 commits
    • Vincent Untz's avatar
      Fix moving a window to an arbitrary workspace in viewport mode. Fix bug · b3e38390
      Vincent Untz authored
      2008-03-19  Vincent Untz  <vuntz@gnome.org>
      
      	Fix moving a window to an arbitrary workspace in viewport mode.
      	Fix bug #520726.
      
      	* libwnck/window-action-menu.c: (item_activated_callback): get the
      	maths right.
      
      svn path=/trunk/; revision=1617
      b3e38390
    • Vincent Untz's avatar
      Unstick windows when moving them in another workspace (viewport mode), · ddf436f3
      Vincent Untz authored
      2008-03-19  Vincent Untz  <vuntz@gnome.org>
      
      	Unstick windows when moving them in another workspace (viewport mode),
      	else the windows are just outside the visible screen.
      	Fix bug #520704.
      	Patch by Travis Watkins <amaranth@ubuntu.com>
      
      	* libwnck/window-action-menu.c: (item_activated_callback): well, do
      	what I already described
      
      svn path=/trunk/; revision=1616
      ddf436f3
  12. 13 Nov, 2007 1 commit
  13. 11 Nov, 2007 2 commits
    • Vincent Untz's avatar
      Be more paranoid about the fact that the window of the WnckActionMenu · e6406231
      Vincent Untz authored
      2007-11-11  Vincent Untz  <vuntz@gnome.org>
      
      	Be more paranoid about the fact that the window of the WnckActionMenu
      	might have been not set. This case can probably happen in bindings...
      
      	* libwnck/window-action-menu.c: (wnck_action_menu_set_property): check
      	that the window is really a WnckWindow
      	(wnck_action_menu_constructor): handle the case and print a warning
      	when the window has not been set
      
      	* doc/libwnck-docs.sgml: add index of new symbols in 2.22
      
      svn path=/trunk/; revision=1509
      e6406231
    • Vincent Untz's avatar
      Objectify window-action-menu.c so that we have a real WnckActionMenu · 732bbb08
      Vincent Untz authored
      2007-11-11  Vincent Untz  <vuntz@gnome.org>
      
      	Objectify window-action-menu.c so that we have a real WnckActionMenu
      	widget.
      
      	* doc/libwnck-docs.sgml:
      	* doc/libwnck-sections.txt:
      	* doc/libwnck.types:
      	* doc/tmpl/window-action-menu.sgml: doc updates for the change
      	* libwnck/window-action-menu.[ch]: (window_weak_notify),
      	(get_action_menu), (item_activated_callback), (update_menu_state),
      	(queue_update), (state_changed_callback),
      	(actions_changed_callback), (workspace_changed_callback),
      	(screen_workspace_callback), (viewports_changed_callback),
      	(make_radio_menu_item), (make_check_menu_item), (make_menu_item),
      	(refill_submenu_workspace), (refill_submenu_viewport),
      	(wnck_action_menu_get_property), (wnck_action_menu_set_property),
      	(wnck_action_menu_init), (wnck_action_menu_constructor),
      	(wnck_action_menu_class_init), (wnck_action_menu_finalize),
      	(wnck_action_menu_new): many changes, but nothing really interesting
      	since it's only about making this an object.
      	Deprecate wnck_create_window_action_menu() in favor of
      	wnck_action_menu_new()
      
      svn path=/trunk/; revision=1507
      732bbb08
  14. 10 Jul, 2007 2 commits
    • Vincent Untz's avatar
      add myself add myself for the copyright of relevant files · 69f13e0d
      Vincent Untz authored
      2007-07-10  Vincent Untz  <vuntz@gnome.org>
      
      	* AUTHORS: add myself
      	* libwnck/*: add myself for the copyright of relevant files
      
      svn path=/trunk/; revision=1408
      69f13e0d
    • Vincent Untz's avatar
      Make the window action menu work with viewport, for our compiz friends. · b2240ccd
      Vincent Untz authored
      2007-07-10  Vincent Untz  <vuntz@gnome.org>
      
      	Make the window action menu work with viewport, for our compiz
      	friends. This mode is active when there's only one workspace with a
      	viewport.
      	Fix part of bug #352383.
      
      	* libwnck/window-action-menu.c: (item_activated_callback): make
      	pin/unpin stick/unstick the window, make the switch workspace items
      	work with viewport
      	(update_menu_state): update for the viewport mode
      	(viewports_changed_callback): if the viewport has changed, update the
      	menu
      	(get_workspace_name_with_accel): add a comment to keep in sync with
      	strings for the viewport
      	(refill_submenu_workspace): remove useless stuff
      	(refill_submenu_viewport): new
      	(wnck_create_window_action_menu): update API doc to tell about the new
      	behavior for viewport, rename the pin/unpin to have the right name for
      	the right item, connect to the viewports_changed signal
      
      svn path=/trunk/; revision=1404
      b2240ccd
  15. 08 Jul, 2007 1 commit
    • Vincent Untz's avatar
      Make the window action menu work when more things change. · f9765f49
      Vincent Untz authored
      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
      
      svn path=/trunk/; revision=1399
      f9765f49
  16. 24 Jun, 2007 1 commit
    • Vincent Untz's avatar
      updated to use wnck_workspace_get_neighbor() · 85945d0a
      Vincent Untz authored
      2007-06-24  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/window-action-menu.c: (item_activated_callback): updated to
      	use wnck_workspace_get_neighbor()
      	(wnck_create_window_action_menu): don't use
      	wnck_screen_calc_workspace_layout(), and just check if neighbors exist
      	with wnck_workspace_get_neighbor()
      
      svn path=/trunk/; revision=1369
      85945d0a
  17. 19 Jun, 2007 1 commit
    • Vincent Untz's avatar
      Use GSlice. · 18fb9acb
      Vincent Untz authored
      2007-06-20  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/window-action-menu.c: (amd_free),
      	(wnck_create_window_action_menu):
      	* libwnck/xutils.c: (_wnck_icon_cache_new),
      	(_wnck_icon_cache_free), (_wnck_free_layout_manager),
      	(_wnck_try_desktop_layout_manager):
      	Use GSlice.
      
      svn path=/trunk/; revision=1343
      18fb9acb
  18. 15 Jun, 2007 1 commit
    • Vincent Untz's avatar
      Add lots of g_return_if_fail() and g_return_val_if_fail() for our public · 68429883
      Vincent Untz authored
      2007-06-15  Vincent Untz  <vuntz@gnome.org>
      
      	Add lots of g_return_if_fail() and g_return_val_if_fail() for our
      	public API.
      
      	* libwnck/application.c: (wnck_application_get_icon),
      	(wnck_application_get_mini_icon):
      	* libwnck/screen.c: (wnck_screen_calc_workspace_layout),
      	(wnck_screen_free_workspace_layout):
      	* libwnck/tasklist.c: (wnck_tasklist_set_button_relief),
      	(wnck_tasklist_set_icon_loader),
      	(wnck_tasklist_get_size_hint_list):
      	* libwnck/util.c: (wnck_gtk_window_set_dock_type):
      	* libwnck/window-action-menu.c: (wnck_create_window_action_menu):
      	* libwnck/window.c: (wnck_window_get_window_type),
      	(wnck_window_get_workspace),
      	(wnck_window_transient_is_most_recently_activated),
      	(wnck_window_set_icon_geometry):
      	* libwnck/workspace.c: (wnck_workspace_get_number),
      	(wnck_workspace_get_width), (wnck_workspace_get_height),
      	(wnck_workspace_get_viewport_x), (wnck_workspace_get_viewport_y),
      	(wnck_workspace_is_virtual):
      
      svn path=/trunk/; revision=1311
      68429883
  19. 09 Jun, 2007 2 commits
    • Vincent Untz's avatar
      add /* vim: set sw=2 et: */ · e3112575
      Vincent Untz authored
      2007-06-09  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/*.[ch]: add /* vim: set sw=2 et: */
      
      svn path=/trunk/; revision=1289
      e3112575
    • Vincent Untz's avatar
      writing API doc is fun! · fdef3851
      Vincent Untz authored
      2007-06-09  Vincent Untz  <vuntz@gnome.org>
      
      	* doc/libwnck-docs.sgml:
      	* doc/libwnck-sections.txt:
      	* doc/tmpl/screen.sgml:
      	* libwnck/application.c:
      	* libwnck/class-group.c:
      	* libwnck/screen.[ch]:
      	* libwnck/util.h:
      	* libwnck/window.c:
      	* libwnck/workspace.c: writing API doc is fun!
      
      	* libwnck/screen.c: (wnck_screen_get_workspace_index): updated for
      	some clarity
      	(wnck_screen_get_workspace_neighbor): ditto
      	(wnck_screen_calc_workspace_layout): ditto, and if the number of
      	workspaces is negative, calculate it
      	(wnck_screen_net_wm_supports): make it really work on all screens, and
      	not just the default screen
      	* libwnck/window-action-menu.c: (wnck_create_window_action_menu):
      	updated for some clarity
      
      svn path=/trunk/; revision=1286
      fdef3851
  20. 06 Jun, 2007 1 commit
    • Vincent Untz's avatar
      small improvements to documentation · 7b8bd21d
      Vincent Untz authored
      2007-06-06  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/util.[ch]:
      	* libwnck/window-action-menu.c:
      	* doc/*: small improvements to documentation
      
      svn path=/trunk/; revision=1282
      7b8bd21d
  21. 18 May, 2007 1 commit
  22. 29 Apr, 2007 3 commits
    • Vincent Untz's avatar
      Kill warnings and usage of deprecated functions · 6bc6aad5
      Vincent Untz authored
      2007-04-29  Vincent Untz  <vuntz@gnome.org>
      
      	Kill warnings and usage of deprecated functions
      
      	* configure.in: add flags for compiler warnings and deprecations
      	* libwnck/tasklist.c: (wnck_task_button_glow): no deprecated function
      	(wnck_tasklist_finalize): ditto
      	(wnck_tasklist_new): ditto
      	(wnck_tasklist_window_changed_geometry): ditto
      	(wnck_tasklist_activate_task_window): ditto
      	(wnck_task_drag_begin): make function static
      	(wnck_task_drag_data_get): ditto
      	(wnck_task_drag_data_received): ditto
      	* libwnck/private.h: fix declaration of _wnck_get_client_type()
      	* libwnck/pager.c: (wnck_pager_draw_workspace): no deprecated function
      	* libwnck/window-action-menu.c: (wnck_create_window_action_menu):
      	ditto
      	* libwnck/Makefile.am: use new compiler flags for deprecations and
      	warnings, include wnck-marshal.h in wnck-marshal.c
      
      svn path=/trunk/; revision=1215
      6bc6aad5
    • Vincent Untz's avatar
      destroy the menu when the window is getting finalized (set_data): kill · 68547e77
      Vincent Untz authored
      2007-04-29  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/window-action-menu.c: (window_weak_notify): destroy the menu
      	when the window is getting finalized
      	(set_data): kill
      	(get_data): walk up in the parent tree to get the widget which knows
      	about "wnck-action-data"
      	(item_activated_callback): updated
      	(make_radio_menu_item): don't call set_data since it's now useless
      	(make_check_menu_item): ditto
      	(make_menu_item): ditto
      	Should fix bug #410133
      
      svn path=/trunk/; revision=1212
      68547e77
    • Vincent Untz's avatar
      handle PIN and UNPIN (update_menu_state): updated for pin/unpin menu items · 6ce3bcd4
      Vincent Untz authored
      2007-04-29  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/window-action-menu.c: (item_activated_callback): handle PIN
      	and UNPIN
      	(update_menu_state): updated for pin/unpin menu items
      	(make_radio_menu_item): new
      	(wnck_create_window_action_menu): updated to match the metacity menu
      	layout
      	Fix bug #376522, based on patch by Bruno Boaventura
      	<brunobol@gnome.org>
      
      svn path=/trunk/; revision=1209
      6ce3bcd4
  23. 25 Sep, 2006 1 commit
    • Benjamin Berg's avatar
      Fixes from bug #354830: · 77b76059
      Benjamin Berg authored
      2006-09-14  Benjamin Berg  <benjamin@sipsolutions.net>
      
      	Fixes from bug #354830:
      
      	* libwnck/screen.c: (update_client_list):
      	* libwnck/tasklist.c: (wnck_tasklist_size_request),
      	(wnck_tasklist_size_allocate):
      	- fix a bunch of GList leaks
      
      	* libwnck/tasklist.c: (wnck_task_popup_menu):
      	- g_object_ref_sink the menu after creating it
      
      	* libwnck/window-action-menu.c: (wnck_create_window_action_menu):
      	- free the WnckWorkspaceLayout
      77b76059
  24. 21 May, 2006 1 commit
  25. 18 Feb, 2006 1 commit
  26. 11 Feb, 2006 1 commit
    • Vincent Untz's avatar
      updated · 57701e7a
      Vincent Untz authored
      2006-02-11  Vincent Untz  <vuntz@gnome.org>
      
      	* libwnck/.cvsignore: updated
      
      	* libwnck/application.c: fix doc for
      	wnck_application_get_icon_is_fallback
      	* libwnck/screen.c: fix the doc for wnck_screen_get_workspace
      
      	* libwnck/screen.h: mark the WnckWorkspaceLayout as private
      
      	Don't define _ in libwnck and use glib for this.
      	Fix bug #328621.
      	Using gi18n-lib.h also fixes bug #323181.
      
      	* libwnck/application.c: include <glib/gi18n-lib.h>
      	* libwnck/pager-accessible.c: ditto
      	* libwnck/screen.c: ditto
      	* libwnck/selector.c: ditto
      	* libwnck/tasklist.c: ditto
      	* libwnck/util.c: ditto
      	* libwnck/window.c: ditto
      	* libwnck/workspace.c: ditto
      
      	* libwnck/private.h: don't define _
      
      	* doc/libwnck-sections.txt:
      	* doc/tmpl/private.sgml: remove documentation for _
      57701e7a
  27. 21 Jan, 2006 1 commit
    • Srirama Sharma's avatar
      This patch is union of patches given by Leena Gunda and Christian Neumair · 40e5390d
      Srirama Sharma authored
      2006-01-21  Srirama Sharma  <srirama.sharma@wipro.com>
      
      	This patch is union of patches given by Leena Gunda and Christian
      	Neumair along with some minor modifications; it synchronizes the
      	right-click-menu with that of Metacity's.  #135710.
      
      	* libwnck/screen.c :
      	(wnck_create_window_action_menu): Add "Move to Workspace Left/
      	Right/Up/Down" menu item.
      	(item_activated_callback): Implement code to move the window to
      	the workspace at left/right/up/down.
      
      	* libwnck/screen.h :
      	Added the WnckWorkspaceLayout and WnckMotionDirection structure.
      
      	* libwnck/window-action-menu.c :
      	(wnck_screen_get_workspace_index): Get the index of the
      	workspace.
      	(wnck_screen_get_workspace_neighbor): Get the neighbor of the
      	workspace in specified direction.
      	(_wnck_screen_process_property_notify): If the workspace layout
      	has changed, call the idle handler to update the screen info.
      	(wnck_screen_calc_workspace_layout): calculate the workspace
      	layout.
      	(wnck_screen_free_workspace_layout): free the layout grid.
      	(update_workspace_layout): idle handler to update the screen
      	info. if the layout has changed.
      	The code to calculate the workspace layout is taken from
      	metacity sources.
      	(make_check_menu_item): create a check menu item with the given
      	mnemonic text.
      	(update_menu_state): replace the Roll up/Unroll menu item with
      	On Top check menu item.
      
      	* libwnck/window.[ch] :
      	(wnck_window_make_above): Put the window on top of all window.
      	(wnck_window_is_above): check whether the window is above all
      	other window.
      	(wnck_window_unmake_above): if the window is on top then uncheck
      	the menu item.
      40e5390d
  28. 20 Feb, 2005 1 commit
    • Elijah Newren's avatar
      Handle the changes to _NET_ACTIVE_WINDOW from bug 128380 (made in order to · 8ba82411
      Elijah Newren authored
      2005-02-20  Elijah Newren  <newren@gmail.com>
      
      	Handle the changes to _NET_ACTIVE_WINDOW from bug 128380 (made in
      	order to match the agreed upon official behavior of that EWMH
      	message), make relevant functions take a timestamp parameter, and
      	add a timestamp to the _NET_CURRENT_DESKTOP message.  Fixes all
      	libwnck issues pointed out in #128380 and #161361.
      
      	* libwnck/xutils.[ch]: (_wnck_activate): take a timestamp parameter
      	to avoid bugs from using gtk_get_current_event_time,
      	(_wnck_activate_workspace): likewise
      
      	* libwnck/pager_accessible.c:
      	* libwnck/pager.c:
      	* libwnck/private.h:
      	* libwnck/tasklist.c:
      	* libwnck/window-action-menu.c:
      	* libwnck/window.c:
      	* libwnck/window.h:
      	* libwnck/workspace.c:
      	* libwnck/workspace.h:
      	* test/test-wnck.c:
      	Handle the need for passing timestamps to _wnck_activate and
      	_wnck_activate_workspace (i.e. for _NET_ACTIVE_WINDOW and
      	_NET_CURRENT_DESKTOP messages)
      
      	* libwnck/tasklist.c:
      	Manual moving of windows to a different workspace now occurs under
      	different circumstances with the _NET_ACTIVE_WINDOW behavior
      	change.
      
      	* libwnck/selector.c:
      	With the new _NET_ACTIVE_WINDOW behavior, only
      	wnck_window_activate() is needed now.
      
      	* configure.in:
      	Increment LIBWNCK_CURRENT because of the API changes.
      8ba82411
  29. 31 Jan, 2005 1 commit
    • Elijah Newren's avatar
      Try 2 to correct misleading and inaccurate wording. Hopefully, really · 2ff1cd68
      Elijah Newren authored
      2005-01-31  Elijah Newren  <newren@gmail.com>
      
      	Try 2 to correct misleading and inaccurate wording.  Hopefully,
      	really fixes #165379.
      
      	* libwnck/window-action-menu.c: Change wording of menu from
      	"Always on Current Workspace" to "Always on Visible Workspace".
      	"Always on Current Workspace" could sound like a synonym of "Only
      	on This Workspace" when it was supposed to be the opposite.
      2ff1cd68
  30. 28 Jan, 2005 1 commit
    • Elijah Newren's avatar
      Correct misleading and inaccurate wording. Fixes #165379. · e2616b49
      Elijah Newren authored
      2005-01-28  Elijah Newren  <newren@gmail.com>
      
      	Correct misleading and inaccurate wording.  Fixes #165379.
      
      	* libwnck/window-action-menu.c: (update_menu_state): change "Put
      	on All Workspaces" to "Always on Current Workspace".  (also make
      	the hotkey change for "Only on This Workspace" be O in order to
      	match Metacity change--see bug 165380)
      e2616b49
  31. 20 Jul, 2004 1 commit
  32. 21 Jun, 2004 1 commit
    • Anders Carlsson's avatar
      Add timestamp argument to wnck_window_close. · 4e0f76dd
      Anders Carlsson authored
      2004-06-21  Anders Carlsson  <andersca@gnome.org>
      
      	* libwnck/window-action-menu.c: (item_activated_callback):
      	* libwnck/window.c: (wnck_window_close):
      	* libwnck/window.h:
      	* libwnck/xutils.c: (_wnck_close):
      	* libwnck/xutils.h:
      	Add timestamp argument to wnck_window_close.
      4e0f76dd