summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21Revert "Enable applications in addto menu (fixes 1055) (#1056)"monsta1-2/+0
this is not needed for 1.22 and breaks the build This reverts commit 8aa77585103ced8ce09bb2542fa80440579e1d98.
2020-02-20Enable applications in addto menu (fixes 1055) (#1056)William Wold1-0/+2
2020-01-16Avoid double a11y description on panel toplevelsColomban Wendling1-2/+2
Do not set an extra a11y name and description on an internal child of the panel, because its toplevel has most of it already through setting the GTK window title. Instead, explicitly set the a11y name and description on the toplevel directly, possibly overriding GTK's value implicitly set via gtk_window_set_title(), but which would be the same anyway. This prevents e.g. a screen reader vocalizing the panel name twice when entering it, once for the toplevel and once for the internal child. This also avoids announcing the panel again when moving from one of the hide buttons to one of the applets or launcher.
2019-09-15When determining whether the pos is in the applet, use ad->cells to calc.Wu Xiaotian1-1/+1
2019-07-26panel-toplevel: fix applets placement on expanded vertical panelmonsta1-1/+5
fixes https://github.com/mate-desktop/mate-panel/issues/745
2019-07-26panel-toplevel: fix coding style and spacing a bitmonsta1-6/+3
2019-06-15Revert "menu-bar: transfer focus correctly on alt-F1"raveit654-141/+0
This reverts commit f0f4c5e1217eefd46edf9f98633fb32967c67461. Fixes https://github.com/mate-desktop/marco/issues/209
2019-05-20fix reloading the default layout after panel resetmonsta1-1/+13
- do it in the idle handler - wait until all toplevels are destroyed before reloading the layout
2019-05-20fix random crashes on panel resetmonsta2-51/+43
- unref objects in toplevel's dispose function instead of finalize - disconnect from toplevel's GSettings objects before deleting them
2019-03-22[Security] panel-keyfile: Use 'g_strlcpy' instead of 'strcpy'Pablo Barciela1-4/+3
Fixes Clang static analyzer warning: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
2019-02-15Make translatable the copyright in about dialogrbuj1-2/+3
2019-02-10Fix last menu with gtk_menu_popup and failure to follow panel themelukefromdc1-15/+16
2019-02-07fix make distcheck fail on debianWu Xiaotian1-4/+0
2019-02-06Properly align button menu positions on vertical panelslukefromdc1-1/+6
2019-01-29panel-action-protocol: Error if used when X11 is disabledWilliam Wold2-0/+13
2019-01-29panel-force-quit: Error if used when X11 is disabledWilliam Wold2-0/+12
2019-01-29panel-xutils: Error if used when X11 is disabledWilliam Wold2-0/+13
2019-01-29xstuff: include GTK and GDK X11 headers, so including files don't have toWilliam Wold1-0/+3
2019-01-29xstuff: add is_using_x11 ()William Wold2-0/+7
2019-01-29xstuff: Error if X11 not enabledWilliam Wold2-0/+14
2019-01-28applet.c: Remove unused mate_panel_applet_position_menu ()William Wold2-79/+0
2019-01-22eggsmclient: avoid deprecated 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-01-10panel-config-global: avoid deprecated 'g_settings_list_keys'Pablo Barciela1-1/+4
2018-12-21Remove generated Wayland files on make cleanWilliam Wold1-0/+6
2018-12-21Replace wayland-scanner private-code option with codeWilliam Wold1-2/+4
2018-12-11Link with Wayland protocols and librariesWilliam Wold2-6/+31
Move protocol files to parent's EXTRA_DIST
2018-12-10Include Wayland protocol generating makefile in build systemWilliam Wold1-1/+1
2018-12-10Add wayland protocol generating makefileWilliam Wold1-0/+15
2018-12-07Add XDG Shell protocol xmlWilliam Wold1-0/+1144
2018-12-07Add Layer Shell protocol xmlWilliam Wold1-0/+285
2018-12-02panel-gtk: Fix memory leaksPablo Barciela1-4/+14
'g_strconcat' needs to be freed
2018-11-15Check if manager->proxy is NULLWu Xiaotian1-0/+9
2018-11-14Migrate mate-panel from dbus-glib to gdbusyetist5-506/+67
- Code optimization - Put GDBusProxy in PanelSessionManager struct
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-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-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-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-01panel-menu-button: replace deprecated gtk_menu_popupraveit651-7/+5
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