summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-grid.c
AgeCommit message (Collapse)AuthorFilesLines
2018-12-30Tray: Fix too-wide icon spacing after mate-polkit has been used w snilukefromdc1-0/+5
Note that vertical and horizontal panels require different options in the grid, as "homogenous" is needed in rows for horizontal panels and columns in vertical panels to prevent icon rendering problems including icons growing without limit when the tray is moved from a horizontal to a vertical panel
2018-10-20na-tray: wide panels, convert main GtkBox display to GtkGridFabien Broquard1-55/+132
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.
2018-10-20na-tray: wide panels, preliminary batch box to grid renameFabien Broquard1-0/+371
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.