| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
_wnck_read_icons and _wnck_get_fallback_icons is not used with
negative size nor with 0.
|
| |
|
|
|
|
|
| |
Function is always used with same value for width and height. Replace
with single parameter.
|
|
|
|
|
|
|
|
|
| |
_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.
|
|
|
|
| |
Use minimum and natural size instead.
|
|
|
|
|
| |
To make sure that container allocate enough size to fit at least
one button in its minimum size.
|
|
|
|
|
| |
This way we can return minimum and natural widths for task list
buttons.
|
|
|
|
|
| |
This is needed to make it possible to override get_preferred_width
vfunc in next commit.
|
|
|
|
|
|
| |
This reverts commit a77f3cfd27a828cd11c92f06b95ea3fbbe73b63f.
Container should allocate at least required minimum size!
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
wnck_pager_get_preferred_width and wnck_pager_get_preferred_height
also can return negative size if wnck_screen_get_workspace_count
returns 0.
|
|
|
|
|
| |
wnck_screen_get_workspace_count can return 0 if WnckScreen has
not been updated yet.
|
|
|
|
| |
(cherry picked from commit 6c427adf458dc080323e17790f42406a9e398896)
|
|
|
|
| |
This allows disabling scrolling altogether.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit ad52947a85239646e8cdd953e81960e25297781f)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Change X11 Screen parameter to WnckScreen for _wnck_read_icons,
_wnck_keyboard_size, _wnck_keyboard_move, _wnck_activate,
_wnck_change_workspace, _wnck_change_state and _wnck_close.
https://gitlab.gnome.org/GNOME/libwnck/merge_requests/16
|
| |
|
|
|
|
|
|
| |
When xres or libstartup-notification are not available, they were
still being listed in Requires.private field of the pkg-config file.
This is a regression in Meson build files compared to Autotools.
|
|
|
|
|
|
| |
With absolute includedir (for example on NixOS), the pkg-config
file will contain an incorrect includedir. This patch fixes that
without affecting more standard environments.
|
| |
|
|
|
|
| |
(cherry picked from commit 95bd235c4c594f14ca0b6129847932f8a4ba6fdf)
|
|
|
|
|
|
|
|
|
|
| |
'enabled' made the dependency required but did not set
HAVE_STARTUP_NOTIFICATION. 'disabled' behaved the same as 'auto'.
We are not allowed to compare booleans and feature option values, so
just add everything to the configuration.
Fixes https://gitlab.gnome.org/GNOME/libwnck/issues/139
|
|
|
|
|
|
|
|
|
|
|
| |
When wnck_shutdown is called all windows are destroyed, but nothing
removes signal handlers from hash tables. When class group is destroyed
it will try to remove signal handlers from already destroyed windows.
Use weak reference callback to remove obsolete signal handlers from
hash tables.
https://gitlab.gnome.org/GNOME/libwnck/issues/141
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Panels implementing applets with tasklists may need access to
enter-notify-event and leave-notify-event on the individual task
widgets, so that actions like displaying thumbnails of windows can
be implemented.
On event firing, the tasklist will emit a new signal and send a
GList of all WnckWindows that belong to the task.
|
| |
|
|
|
|
| |
Also bump meson dependency as this needs 0.50.0
|
| |
|
| |
|
| |
|