summaryrefslogtreecommitdiff
path: root/libwnck/test-pager.c
Commit message (Collapse)AuthorAgeFilesLines
* port tests to WnckHandleAlberts Muktupāvels2022-08-151-9/+14
|
* pager: Add wnck_pager_set_scroll_modeSimon Steinbeiss2019-09-101-1/+11
| | | | | | | | | | | There are two scroll modes: the default 2d scroll mode is essentially only useful for touchpads, because mice cannot scroll horizontally, so scrolling up/down to get to the next workspace will get users confused. By setting the scroll_mode to 1 users get a simple way of scrolling through workspaces, irrespective of the number of rows the pager sets. https://gitlab.gnome.org/GNOME/libwnck/issues/134 Fixes: #134
* fix 'declaration of xxx shadows a global declaration' warningswip/warningsAlberts Muktupāvels2017-04-271-2/+2
|
* test-pager: avoid shadowing existing variableAlberts Muktupāvels2017-04-261-2/+2
|
* Add wrap-on-scroll option for WnckPager widgetMoritz Bruder2017-04-261-5/+9
| | | | | | | | | | | | | | | This commit is a minor and optional enhancement of the WnckPager widget. It allows to scroll over the borders of workspace boundaries. This behavior, which is disabled by default, might be enabled with wnck_pager_set_wrap_on_scroll. When activated, a scroll event which would otherwise do nothing, i.e. over the border, will now scroll from the first to the last workspace and from the last to the first. With this option disabled the behavior is exactly the same as before. https://bugzilla.gnome.org/show_bug.cgi?id=780490
* all: Remove deprecated API and change API that had deprecated argumentsVincent Untz2011-01-191-4/+3
| | | | | | | | | | | | | | | | | | 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
* all: Code spacing fixesVincent Untz2011-01-191-9/+9
|
* tests: Do not mark strings as translatableVincent Untz2010-09-291-7/+5
| | | | | | | | The tests don't get installed, so there is no point in translating the strings. As a side-effect, this fixes: https://bugzilla.gnome.org/show_bug.cgi?id=630904
* add /* vim: set sw=2 et: */Vincent Untz2007-06-091-0/+2
| | | | | | | | 2007-06-09 Vincent Untz <vuntz@gnome.org> * libwnck/*.[ch]: add /* vim: set sw=2 et: */ svn path=/trunk/; revision=1289
* call gtk_init(), and get a --rtl commandline argument add --n-rows,Vincent Untz2007-05-141-7/+46
| | | | | | | | | | | | | | | 2007-05-14 Vincent Untz <vuntz@gnome.org> * libwnck/test-tasklist.c: (main): call gtk_init(), and get a --rtl commandline argument * libwnck/test-pager.c: add --n-rows, --only-current, --rtl, --show-name and --vertical-orientation commandline arguments (create_pager_window), (main): updated for commandline arguments * libwnck/pager.c: (get_workspace_rect): fix vertical pager in RTL environments Fix bug #431461 svn path=/trunk/; revision=1227
* fix for RTL environments Fix bug #154320 ditto Fix bug #387897 setVincent Untz2007-02-121-0/+4
| | | | | | | | | | | | | | | 2007-02-12 Vincent Untz <vuntz@gnome.org> * libwnck/tasklist.c: (wnck_tasklist_size_allocate): fix for RTL environments Fix bug #154320 * libwnck/pager.c: (get_workspace_rect): ditto Fix bug #387897 * libwnck/test-tasklist.c: (main): set direction to RTL if the RTL environment variable is set * libwnck/test-pager.c: (main): ditto svn path=/trunk/; revision=1176
* version 2.1.4, and increment libtool versioningSoeren Sandmann2002-11-241-6/+2
| | | | | | | | | | | | | Sun Nov 24 18:38:27 2002 Soeren Sandmann <sandmann@daimi.au.dk> * configure.in: version 2.1.4, and increment libtool versioning * libwnck/pager.c (wnck_pager_set_shadow_type): New function. Interprete points on the frame as belonging to the abutting workspace. * libwnck/test-pager.c (create_pager_window): Use wnck_pager_set_shadow_type instead of a GtkFrame.
* The property that has the icon pixmap is called WM_HINTS, notAnders Carlsson2002-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Anders Carlsson <andersca@gnu.org> * libwnck/window.c (_wnck_window_process_property_notify): The property that has the icon pixmap is called WM_HINTS, not WM_NORMAL_HINTS. Fixes #81138, reported by Hvard Wigtil. 2002-05-14 Anders Carlsson <andersca@gnu.org> * configure.in: * libwnck/pager.c: (wnck_pager_size_request), (wnck_pager_draw_workspace), (wnck_pager_button_press), (wnck_pager_button_release): * libwnck/private.h: * libwnck/screen.c: (wnck_screen_get_default), (wnck_screen_get_workspace), (update_workspace_list), (update_active_workspace), (wnck_screen_get_height), (_wnck_screen_get_xscreen): * libwnck/screen.h: * libwnck/test-pager.c: (main): * libwnck/test-tasklist.c: (main): * libwnck/window.c: (_wnck_window_create), (wnck_window_close), (wnck_window_maximize), (wnck_window_unmaximize), (wnck_window_maximize_horizontally), (wnck_window_unmaximize_horizontally), (wnck_window_maximize_vertically), (wnck_window_unmaximize_vertically), (wnck_window_shade), (wnck_window_unshade), (wnck_window_stick), (wnck_window_unstick), (wnck_window_get_workspace), (wnck_window_move_to_workspace), (wnck_window_pin), (wnck_window_unpin), (wnck_window_activate), (_wnck_window_process_configure_notify): * libwnck/workspace.c: (wnck_workspace_activate), (_wnck_workspace_create): * libwnck/workspace.h: * libwnck/xutils.c: (_wnck_close), (_wnck_change_state), (_wnck_change_workspace), (_wnck_activate), (_wnck_activate_workspace), (_wnck_get_window_geometry), (_wnck_get_window_position): * libwnck/xutils.h: Add multi-screen support. Don't leak the created and deleted lists in update_workspace_list. Bump version to 0.11.
* put it at 0,0Havoc Pennington2002-02-091-3/+1
| | | | | | | | | | | | | 2002-02-08 Havoc Pennington <hp@pobox.com> * libwnck/test-tasklist.c (main): put it at 0,0 * libwnck/test-pager.c (create_pager_window): create it at 0,0 so it doesn't get buried * libwnck/window.c (update_state): use semantic type to set skip_taskbar skip_pager sometimes. (wnck_window_get_window_type): new function
* Remove the desktop outlines. Make there be one line of background betweenAlexander Larsson2001-11-281-0/+1
| | | | | | | | | | | 2001-11-27 Alexander Larsson <alla@lysator.liu.se> * libwnck/pager.c: Remove the desktop outlines. Make there be one line of background between the desktops, but not at the borders. * libwnck/test-pager.c: Test with 3 rows.
* hackingHavoc Pennington2001-10-251-0/+2
| | | | | | 2001-10-24 Havoc Pennington <hp@pobox.com> * libwnck/pager.c: hacking
* hack to work with slightly older GTK as well as HEADHavoc Pennington2001-10-241-0/+61
2001-10-24 Havoc Pennington <hp@redhat.com> * configure.in: hack to work with slightly older GTK as well as HEAD * libwnck/screen.c (wnck_screen_force_update): add function to force immediate reading of screen state, instead of queueing it * libwnck/window.c: add geometry reporting * libwnck/pager.c: pager widget skeleton