summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* xutils: use WnckHandle to get client typeAlberts Muktupāvels2022-02-231-6/+19
|
* application: remove unused struct memberAlberts Muktupāvels2022-02-221-2/+0
|
* screen: move screens to WnckHandleAlberts Muktupāvels2022-02-225-115/+154
|
* Update Chinese (China) translationWenbin Lv2022-02-191-269/+252
|
* util: move resource usage to its own fileAlberts Muktupāvels2022-02-174-519/+602
|
* window: move window_hash to WnckHandleAlberts Muktupāvels2022-02-174-28/+58
|
* application: move app_hash to WnckHandleAlberts Muktupāvels2022-02-174-43/+77
|
* class-group: move class_group_hash to WnckHandleAlberts Muktupāvels2022-02-175-53/+92
|
* screen: store WnckHandle in structAlberts Muktupāvels2022-02-172-0/+14
| | | | | | | | | | Before 5ab809143a7d commit event filter was added in wnck_screen_get when constructing first screen. Store WnckHandle in WnckScreen struct to ensure that event filter is always added otherwise we might end up without event filter if on startup nothing calls _wnck_get_handle. This change introduces new requirement - wnck_set_client_type must be used before using WnckScreen APIs.
* Update Swedish translationAnders Jonsson2022-01-291-275/+259
|
* xutils: move event filter to WnckHandlewip/muktupavels/wnck-handle-2Alberts Muktupāvels2021-05-315-113/+106
| | | | | | The final goal is that all resources are managed by WnckHandle. This will allow to free resources when removing plugin/applet without worrying that it might affect other applets.
* util: move default icon size to WnckHandleAlberts Muktupāvels2021-05-313-10/+48
| | | | | In future this will allow to have multiple plugins/applets in same process with different icon sizes.
* xutils: move WnckIconCache to its own fileAlberts Muktupāvels2021-05-117-747/+815
|
* handle: fix license headersAlberts Muktupāvels2021-05-102-18/+18
|
* Release: 40.040.0Marco Trevisan (Treviño)2021-05-102-1/+29
|
* build: Support new GNOME versioning schemaMarco Trevisan (Treviño)2021-05-101-3/+23
| | | | | | | | | | | | | | | | | alpha, beta and rc releases can will be exposed source side as: major: MAJOR_VERSION-1 minor: 99-MINOR_VERSION_LEVEL micro: MICRO_VERSION So that: 40.alpha => 39.97.0 40.alpha.1 => 39.97.1 40.beta => 39.98.0 40.beta.1 => 39.98.1 40.rc => 39.99.0 40.rc.1 => 39.99.1 40.0 => 40.0.0 40.1 => 40.1.0
* pager: do not change workspace size from size_allocateAlberts Muktupāvels2021-05-101-59/+0
| | | | | | | | | | It should be enough to have only minimum size like it was before a414519d7b45 commit. Widget should request minimum size it needs! Using allocated size is wrong as it means widgets will get only bigger. To reduce size container will need to underallocate widget and GTK will warn about that if consistency checks are enabled.
* pager: reduce initial workspace_sizeAlberts Muktupāvels2021-05-101-1/+1
| | | | | | workspace_size was introduced in a414519d7b45 without any comment why default was set to 48. This is wrong as containers will be forced to underallocate widget to reduce size.
* add private WnckHandle objectAlberts Muktupāvels2021-05-106-8/+198
| | | | | | | | | | | WnckHandle in future will be used as main entry point into library. This will allow to have multiple tasklists in same process with different settings. Also this will allow to cleanup resources without worrying that calling wnck_shutdown might affect other applets or plugins that might use libwnck in same process. https://gitlab.gnome.org/GNOME/libwnck/-/issues/136
* tasklist: set size request modeAlberts Muktupāvels2021-05-101-105/+300
| | | | | | | | Use GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH mode for vertical tasklist and GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT mode for horizontal tasklist. Original wnck_tasklist_size_request function has been renamed to wnck_tasklist_update_size_hints and used only to update size hints.
* tasklist: scale up icon geometry to device pixelsAlberts Muktupāvels2021-05-101-0/+8
|
* tasklist: scale down window geometry to application pixelsAlberts Muktupāvels2021-05-101-0/+8
|
* xutils: use single size parameter also in read_rgb_iconAlberts Muktupāvels2021-05-071-21/+13
|
* xutils: don't check if ideal size is 0 or lessAlberts Muktupāvels2021-05-071-66/+9
| | | | | _wnck_read_icons and _wnck_get_fallback_icons is not used with negative size nor with 0.
* xutils: use ideal_size also in try_pixmap_and_maskAlberts Muktupāvels2021-05-071-12/+10
|
* xutils: replace width and height with size in get_fallback_iconsAlberts Muktupāvels2021-05-074-32/+16
| | | | | Function is always used with same value for width and height. Replace with single parameter.
* xutils: replace width and height with size in read_iconsAlberts Muktupāvels2021-05-074-40/+34
| | | | | | | | | _wnck_read_icons is used in WnckApplication and WnckWindow. In both cases ideal_width and ideal_height have same value - default icon size. Same with ideal_mini_width and ideal_mini_height. Simplify function by replacing width and height parameters with size parameter.
* tasklist: deprecate get_size_hint_listAlberts Muktupāvels2021-05-052-0/+4
| | | | Use minimum and natural size instead.
* tasklist: use minimum button size as minimum sizeAlberts Muktupāvels2021-05-051-3/+43
| | | | | To make sure that container allocate enough size to fit at least one button in its minimum size.
* tasklist: override get_preferred_width vfuncAlberts Muktupāvels2021-05-051-44/+104
| | | | | This way we can return minimum and natural widths for task list buttons.
* tasklist: add WnckButtonAlberts Muktupāvels2021-05-051-128/+194
| | | | | This is needed to make it possible to override get_preferred_width vfunc in next commit.
* revert "tasklist: ignore size_allocate with invalid size"Alberts Muktupāvels2021-05-031-6/+0
| | | | | | This reverts commit a77f3cfd27a828cd11c92f06b95ea3fbbe73b63f. Container should allocate at least required minimum size!
* tasklist: do not queue_resize from size_allocateAlberts Muktupāvels2021-05-031-24/+36
| | | | | | | | | | | | From GTK documentation: https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-queue-resize Note that you cannot call gtk_widget_queue_resize() on a widget from inside its implementation of the GtkWidgetClass::size_allocate virtual method. Calls to gtk_widget_queue_resize() from inside GtkWidgetClass::size_allocate will be silently ignored. https://bugzilla.gnome.org/show_bug.cgi?id=658106
* pager: more negative size fixesAlberts Muktupāvels2021-04-281-2/+2
| | | | | | wnck_pager_get_preferred_width and wnck_pager_get_preferred_height also can return negative size if wnck_screen_get_workspace_count returns 0.
* pager: don't return negative sizeAlberts Muktupāvels2021-04-281-2/+2
| | | | | wnck_screen_get_workspace_count can return 0 if WnckScreen has not been updated yet.
* Update Basque translationAsier Sarasua Garmendia2021-03-191-327/+275
| | | | (cherry picked from commit 6c427adf458dc080323e17790f42406a9e398896)
* pager: Add scroll mode WNCK_PAGER_SCROLL_NONEAndre Miranda2021-02-182-1/+5
| | | | This allows disabling scrolling altogether.
* pager: Add missing version informationAndre Miranda2021-02-182-0/+4
|
* Update Catalan translationJordi Mas2021-01-081-22/+27
|
* Update British English translationStephan Woidowski2020-10-041-258/+250
|
* tasklist: Fix leaking PangoFontDescriptionTomas Bzatek2020-07-291-0/+1
|
* Update Ukrainian translationYuri Chornoivan2020-05-301-314/+258
| | | | (cherry picked from commit ad52947a85239646e8cdd953e81960e25297781f)
* Update Croatian translationGoran Vidović2020-04-111-560/+581
|
* Add Kurdish Sorani translationJwtiyar Nariman2020-03-292-0/+1183
|
* ci: add DEBIAN_FRONTEND environment variableMarco Trevisan (Treviño)2020-03-251-0/+3
|
* Release: 3.36.03.36.0Marco Trevisan (Treviño)2020-03-252-1/+14
|
* build: Remove autotools supportMarco Trevisan (Treviño)2020-03-258-1022/+2
|
* build: Allow building with gettext ≥ 0.20Victor Kareh2020-01-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | The use of AM_GNU_GETTEXT_VERSION in configure.ac instructs autopoint to copy po/Makefile.in.in from the exact gettext version. It is fine if the version of gettext installed on the system has the same minor version number with the requested version, but it fails if you have a newer version of gettext because of the mismatch between autoconf macros and Makefile.in.in. *** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.19 but the autoconf macros are from gettext version 0.20 Instead of specifying the exact version with AM_GNU_GETTEXT_VERSION, we can use AM_GNU_GETTEXT_REQUIRE_VERSION to ask autopoint to simply use the gettext version installed on the system to prevent the mismatch. This also bumps the version requirement on gettext to 0.19.6 because AM_GNU_GETTEXT_REQUIRE_VERSION was added in this version. fix copied from: https://gitlab.gnome.org/GNOME/libgsf/commit/91027d3447666c6f13c31b4b5984e1a8212983da
* build: bump GLib required version to 2.34Alberts Muktupāvels2019-09-102-2/+2
| | | | | | | | Commit 7ea3203f5459e206d0d15fe115cb08a54772cd43 uses g_clear_pointer that was added in glib 2.34: https://gitlab.gnome.org/GNOME/glib/commit/00285b7517a63a243a5b61b73 https://gitlab.gnome.org/GNOME/libwnck/merge_requests/10#note_600118
* pager: Add wnck_pager_set_scroll_modeSimon Steinbeiss2019-09-104-65/+147
| | | | | | | | | | | 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