summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-11-15Use make functions for HELP_LINGUASraveit652-2/+10
2018-11-15Check if manager->proxy is NULLWu Xiaotian1-0/+9
2018-11-14Migrate mate-panel from dbus-glib to gdbusyetist7-609/+159
- Code optimization - Put GDBusProxy in PanelSessionManager struct
2018-11-05notification-area-preferences-dialog.ui: avoid GtkButton:use-stockPablo Barciela1-3/+9
2018-11-01Fix GdkSeat warninglukefromdc1-0/+7
Workaround a possible GTK issue
2018-10-29Ensure alt-F1 can show the menu even if no menu applet on panellukefromdc1-4/+16
Fix regression introduced by https://github.com/mate-desktop/mate-panel/commit/17ac8aab4d139cb917619a3a981300f51b750c17 and ensure that menu shown follows same theme as menu shown from panel menu button or panel menu bar
2018-10-20na-tray: add preferences dialog and applet menu entryFabien Broquard6-0/+263
The only option in the preferences is a GtkSpinButton for the user to be able to set the icon sizes easily without having to use dconf-editor.
2018-10-20na-tray: wide panels, add GSettings to the appletFabien Broquard6-2/+51
The new GSettings allow to change and remember the minimum icon size for the grid. The default icon size is set at 24px.
2018-10-20na-tray: wide panels, convert main GtkBox display to GtkGridFabien Broquard2-56/+135
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 Broquard5-91/+78
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.
2018-10-20button-widget: wide panels, more suitable resize limits on Widgets and arrowsbraikar1-15/+42
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"
2018-10-18README - Add dependency listinfo-cppsp1-0/+17
2018-10-03tx: update transifex sourcesraveit652-91/+91
2018-10-03legal.xmlrbuj2-132/+146
find . -name legal.xml -exec cp ~/Devel/mate-user-guide/mate-user-guide/C/legal.xml {} \;
2018-10-02tx: update mate-clock translation sourceraveit651-64/+74
2018-10-02Clock applet help: To Adjust the System Date or Timerbuj1-19/+19
2018-10-01Clock applet help: Add Show week numbers in calendarrbuj1-0/+6
2018-10-01Clock applet help: Fix speed unit for meters per secondrbuj1-1/+1
2018-09-28tx: add clock and fish help to transifex configraveit654-1/+942
2018-09-28release 1.21.2v1.21.2raveit652-1/+35
2018-09-28sync with transifexraveit65132-19331/+18275
2018-09-26menu-bar: transfer focus correctly on alt-F1Samuel Thibault4-0/+141
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
2018-09-12panel: avoid a criticalRui Caridade1-1/+1
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
2018-09-12panel-toplevel: fix memory leak in calculate_minimum_heightRui Caridade1-1/+2
Origin commit : https://github.com/GNOME/gnome-panel/commit/19129513e9dbfef9a985e0666d98d60a9e7b2779#diff-97cdffd8b53134e4fdfdd45b4a862042R2144
2018-08-07Change GTK_CHECK_VERSION to match next gtk+ releaseraveit653-7/+7
2018-07-27applets: Guard against GTK scale-factor fixes on GtkSocketVictor Kareh3-10/+11
2018-07-26window-list: Skip setting size hints until WnckTasklist has items to show.Victor Kareh1-1/+28
2018-07-25applets: Fix runtime error messagesVictor Kareh2-5/+9
2018-07-23mate-panel-applet: setup_x_error_handler for in-process applets toolukefromdc1-4/+6
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
2018-07-21GTK 3.23: fix applet size allocationlukefromdc1-9/+12
Limit workaround for GTK 3.22 double width/height allocation to GTK 3.22 builds only
2018-07-12fish: avoid deprecated 'gtk_window_set_wmclass'Pablo Barciela1-5/+0
2018-07-06Tray: simplify force-redraw, use code that actually workslukefromdc1-42/+5
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
2018-07-04panel-actions: replace deprecated gtk_menu_popuplukefromdc1-2/+1
2018-07-04applet-context-menu: replace deprecated gtk_menu_popuplukefromdc1-7/+1
2018-07-04panel-context-menu: replace deprecated gtk_menu_popupraveit651-1/+1
2018-07-01GTK 3.23: don't cut tray icons too narrow in HiDPI modelukefromdc1-0/+4
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
2018-07-01na-tray-child: remove na_tray_child_size_allocatelukefromdc1-46/+0
Remov leftover from GTK2 that may play a role in cutting tray icons
2018-07-01panel-menu-button: replace deprecated gtk_menu_popupraveit651-7/+5
2018-06-29na-tray-child: replace deprecated gdk_error_trap_push/pop functionsraveit651-10/+18
2018-06-29libmate-panel-applet: replace deprecated gdk_error_trap functionsraveit651-10/+13
2018-06-29panel-xutils: replace deprecated gdk_error_trap functionsraveit651-13/+17
2018-06-29panel-util: replace deprecated gdk_flushraveit651-2/+4
2018-06-29main: replace deprecated gdk_flushraveit651-1/+3
2018-06-29panel-widget: replace deprecated gdk_flushraveit651-3/+5
2018-06-29panel-toplevel: add position css classAlberts Muktupāvels1-14/+47
origin commit: https://gitlab.gnome.org/GNOME/gnome-panel/commit/6015418
2018-06-28panel-force-quit: replace deprecated gdk_device_grabraveit651-13/+15
2018-06-28panel-force-quit: replace deprecated gdk_error_trap functionsraveit651-13/+17
2018-06-28panel-force-quit: replace deprecated gdk_flushraveit651-5/+7
2018-06-25menu.c: Fix: Keep spaces in the left if "menus-have-icons" is offPablo Barciela2-1/+3
Fixes https://github.com/mate-desktop/mate-panel/pull/820#issuecomment-399709389
2018-06-25Panel-gtk.c: Show menu icons only when "menus-have-icons" is setlukefromdc2-2/+44
Most panel menus excluding main menus. Bind gsettings preference "menus have icons" to visibility of icon. Pack the icon into a box with a 16px min-width set in panel.css to hold the space when the icons are not shown Duplicate as much as possible behavior of now-deprecated GtkImageMenuItem replaced by github.com/mate-desktop/mate-panel/commit/86701517e7d7cb3d2c08a40d76af97308f18902c Use only one icon-settings gsettings object to control this in all menuitems controlled by panel-gtk.c The use of a single gsettings object is based on code by Albert Muktupavels https://github.com/muktupavels