Age | Commit message (Collapse) | Author | Files | Lines |
|
New grid sorting/display functions to arrange notification area icons in a self reorganising grid
main changes in: item_added_cb(), notification_notify() -> refresh_notify().
update_size_and_orientation() is no longer needed
the grid auto arranges on any size-allocation which includes orientation changes.
Grid is now refreshed with refresh_grid()/determine_grid_properties()/reorder_items_with_data().
based on the min_icon_size property
the main applets' code can call na_grid_set_min_icon_size() to update the grid icon size.
|
|
box/Box/BOX changed to grid/Grid/GRID as a preliminary step
to prepare for changing GtkBox in na-box/na-grid to a GtkGrid
to make the notification area work well on vertical and wide panels
note: even if everything is renamed to grid, the GtkWidget is still a GtkBox
thats why GtkBox and GTK_TYPE_BOX have not been renamed.
|
|
Set better limits to the size taken by all BUTTON_WIDGETs when the panel is wide.
For a wide panel (example vertical panel 100px wide) a widget would, before, take a space of 100x100 (for max hardcoded icon size 48px)
Now if panel width exceeds 50px, the widgets' height stays at 50 and does not grow in height anymore.
Same behaviour applies on wide horizontal panels.
The GTK_ARROW also resizes properly for wide panel on BUTTON_WIDGETs with property "has_arrow"
|
|
To make sure we have space left and right inside the button
if applet is build-in-process.
|
|
|
|
Connect to the "change_size" signal and reload the icon at the correct size
|
|
fixes weather-icon problems with some themes
|
|
|
|
|
|
|
|
|
|
Prevent most corruption of tray icons and reduce by half incomplete rendering of them, replace a never-built code block that could not be built, and replace (deprecated) direct expose handling with gtk_widget_hide/gtk_widget_show_all
*Note that this is needed for GTK 3.23 but may help remaining icon issues with GTK 3.22 as well and is simpler code in any case
|
|
|
|
The background is in https://gitlab.gnome.org/GNOME/gtk/issues/85 . One of
the conclusions, in https://gitlab.gnome.org/GNOME/gtk/issues/85#note_264804
, is that mate-panel needs to properly transfer focus on alt-F1 keyboard
shortcut.
It used to work only by luck before, only because gtk used to
deactivate itself during a keyboard grab. But as discussed in
https://gitlab.gnome.org/GNOME/gtk/issues/85 that behavior poses
accessibility feedback issues, is not coherent, and keyboard grab
feedback will not be available in wayland anyway. Thus @ebassi saying
in https://gitlab.gnome.org/GNOME/gtk/issues/85#note_264804 that not
transferring focus properly is the actual bug.
This change explictly switches to the menu bar after saving which X Window
had the focus, and on menu bar deactivation restores focus to that X Window.
Fixes #851
This a backport of commit f0f4c5e1217eefd46edf9f98633fb32967c67461.
|
|
|
|
find . -name legal.xml -exec cp ~/Devel/mate-user-guide/mate-user-guide/C/legal.xml {} \;
|
|
|
|
|
|
|
|
|
|
|
|
g_file_query_info can return NULL. Use g_clear_object to make
sure we don't try to unref NULL pointer.
Origin commit:
https://github.com/GNOME/gnome-panel/commit/73fa9808f24ee6a95e12a8558d6b1f6513b78693#diff-5f461c83a31d7792b939f3a1be40c512
|
|
Origin commit :
https://github.com/GNOME/gnome-panel/commit/19129513e9dbfef9a985e0666d98d60a9e7b2779#diff-97cdffd8b53134e4fdfdd45b4a862042R2144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is for the tray: GtkPlug/GtkSocket widgets are used to embed tray icons (GtkStatusIcons) in the tray even if the tray is in-process and does not use the plug/socket widgets to be itself embedded in the panel
|
|
Limit workaround for GTK 3.22 double width/height allocation to GTK 3.22 builds only
|
|
Code required to avoid spaces between tray icons with GTK 3.22 cuts tray icons in half with window-scaling=2 in GTK 3.23
|
|
Remov leftover from GTK2 that may play a role in cutting tray icons
|
|
origin commit:
https://gitlab.gnome.org/GNOME/gnome-panel/commit/6015418
|
|
|
|
|
|
|
|
This improves support for HiDPI by loading properly scaled surfaces for
launcher and drawer icons.
It also Fixes the Show Desktop wncklet to show a surface icon. Other
wncklets have their icons determined by libwnck, so they remain as
pixbufs.
Fixes mate-desktop/mate-desktop#314
|
|
Fix https://github.com/mate-desktop/mate-panel/issues/797 and https://github.com/mate-desktop/mate-panel/issues/799
|
|
Thanks to Juha Leppänen, Kuopio, Finland
for simplifing the code
|
|
result of excessive renaming after forking from GNOME 2 (orbit -> matecorba)
|
|
(squashed 7099408402dc41f39e32f4afa3e874e968e879bc + 3b9119b3bb941de61654d45eb693a85f48d56289 for 1.20 branch)
|
|
|
|
|
|
Thanks to Alberts Muktupāvels for this code
|
|
|
|
|
|
origin commits:
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=9fbca7d
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=00f9870
|
|
origin commits:
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=9fca67f
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-4&id=695d30c
https://git.gnome.org/browse/gnome-panel/patch/?id=00f9870cb28e6ef657d1
|