summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
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-02-07fix make distcheck fail on debianWu Xiaotian1-4/+0
2019-01-28button-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-17menu-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 This a backport of commit f0f4c5e1217eefd46edf9f98633fb32967c67461.
2018-09-18panel: 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-18panel-toplevel: fix memory leak in calculate_minimum_heightRui Caridade1-1/+2
Origin commit : https://github.com/GNOME/gnome-panel/commit/19129513e9dbfef9a985e0666d98d60a9e7b2779#diff-97cdffd8b53134e4fdfdd45b4a862042R2144
2018-06-29panel-toplevel: add position css classAlberts Muktupāvels1-14/+47
origin commit: https://gitlab.gnome.org/GNOME/gnome-panel/commit/6015418
2018-05-12Convert launcher icons to cairo surfacesVictor Kareh7-101/+124
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
2018-04-29limit size of panel-hide-buttonraveit651-6/+13
Thanks to Juha Leppänen, Kuopio, Finland for simplifing the code
2018-04-28fish: drop wanda image from gresourceraveit651-1/+0
2018-04-26css: use parsing-error signal to warn on bad css file or imagelukefromdc1-0/+11
Thanks to Alberts Muktupāvels for this code
2018-04-26css: Convert to GResourceraveit653-19/+21
2018-04-26panel: Convert to GResourceVincent Untz6-74/+58
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
2018-04-23Theme: consistant theming for applet drag handles in all themeslukefromdc3-64/+20
* applet drag-handle: use a symbolic image for the default drag handle image * Use an .svg image with --gtk-recolor (like a symbolic icon), load it from the same directory as the css file so the css parser can find it, and use the theme fg color on it for good contrast * load a css file to use the recolorable image globally for the panel, not for each applet to ensure only one cssprovider is loaded
2018-04-23Revert "panel-toplevel: Remove pointer boundary check in ↵raveit651-0/+1
panel_toplevel_queue_auto_hide()" This reverts commit 0d29acf6a70090ee771de2793b1af8e1388a430f. Which causes a regression. Fixes https://github.com/mate-desktop/mate-panel/issues/773
2018-04-16Accessibility: white/black applet handles in GNOME high contrast themeslukefromdc1-27/+60
Special case the GNOME HighContrast and HighContrastInverse themes to give max contrast on tray and window list applet handles. Follow-on to https://github.com/mate-desktop/mate-panel/commit/2e0a74d9458480966f2a87d1d66a58552a873300
2018-04-16Theme: show applet handles on non-MATE themeslukefromdc1-0/+30
Fix https://github.com/mate-desktop/mate-panel/issues/758 Ensure that themes such as GNOME themes (e.g Adwaita) that do not explicitly support MATE show the drag handles for applets such as tray and window-list.
2018-03-25fix distcheckraveit651-0/+1
2018-03-20Fix hide buttons make panel biggerinfo-cppsp1-44/+79
fix #733
2018-03-20run dialog: force icon size when loading app iconmonsta1-1/+1
avoids jumping of nearby UI controls when icon is bigger than requested
2018-03-20run dialog: fix expand of content on window resizemonsta1-0/+1
2018-03-20Fix run dialog show-program-list enabling fixinfo-cppsp1-3/+18
learning signal chaining...
2018-03-20run-dialog: use F6 to switch between entry field and program listinfo-cppsp1-0/+33
fix #676
2018-03-13Fix strut sizes for HiDPI multi-monitorsVictor Kareh1-15/+18
2018-03-13Do not down-scale monitor geometries for GDK monitorsVictor Kareh1-15/+2
2018-03-13Scale monitor geometries down to device pixels to support multiple monitors ↵Victor Kareh4-26/+44
in HiDPI
2018-03-13Drawer cleanup and fix arrow behaviorinfo-cppsp4-560/+722
*Drawer coding style cleanup *Drawer code organized *Rearranged and labeled code *Drawer fix arrows *Fixed hide code for drawer in toplevel. *fix #528 *fix #704
2018-02-03panel-stock-icons.c: Fix warnings in ~/.xsession-errorsPablo Barciela1-4/+4
2018-01-31Fix run dialog show-program-list enablinginfo-cppsp1-7/+20
fix #296
2018-01-31require GTK+ 3.22 and GLib 2.50monsta21-523/+25
2018-01-31panel-run-dialog: fix build warning about incompatible typemonsta1-1/+1
introduced in 7f99492c269f541c81e4f36742ecc3f0b4ebac04
2018-01-30context menu: add separator before Reset Panel menu itemmonsta1-0/+2
2018-01-30background: reword warning about unsupported background-image valuemonsta1-4/+1
make it more clear that the problem is in the theme, not the panel
2018-01-29set the "document-properties" icon in "Edit Menus"Pablo Barciela2-2/+2
2018-01-25avoid deprecated GtkStockPablo Barciela14-38/+36
2018-01-25Support panel auto-scaling for HiDPI displaysVictor Kareh6-25/+55
*Fix scaling of panel widgets, buttons, and the menu bar *Draw grab handles at the ends of the panel *Fix size of _almost_ all included applets *Fix panel snapping coordinates *Down-scale monitor coordinates to support multi-monitors Author: Victor Kareh <[email protected]> Date: Wed Dec 20 14:03:18 2017 -0500
2018-01-19panel-run-dialog: fix segfault when program list is enabledlukefromdc1-3/+7
Fix https://github.com/mate-desktop/mate-panel/issues/706 *patch by https://github.com/muesli4
2018-01-16get focus when displaying "applet broken" dialogPablo Barciela1-0/+4
2018-01-09update copyright year to 2018monsta1-1/+1
2018-01-05simplify some codemonsta1-4/+2
2018-01-04rework the process of cancelling the background change operationmonsta3-22/+38
don't mess with additional references to a GCancellable, instead keep just a const pointer to the internal operation data and use it as a key when it's needed to cancel the operation. fixes https://github.com/mate-desktop/mate-panel/issues/214 fixes https://github.com/mate-desktop/mate-panel/issues/431
2017-12-27Fix build warning: ‘toplevel_configure_event’ defined but not usedPablo Barciela1-4/+0
2017-12-24Spelling: apps, … spaced commaAllan Nordhøy1-3/+3
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela5-24/+14
This commit reverts: https://github.com/mate-desktop/mate-panel/commit/7b2bc7d9f98c6ba8c2c31bdf9605faadb42a7e0e And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-29panel-toplevel: Remove pointer boundary check in ↵Björn Weber1-1/+0
panel_toplevel_queue_auto_hide()
2017-11-24remove ancient gnome-panel leftoversmonsta1-3/+0
should've done it long ago see https://git.gnome.org/browse/gnome-panel/commit/?id=e57b3afd9255671789ea6c1b6136bbad82573cdc
2017-11-23Keep the right icons on bottom still displaying right when the resolution ↵张雯1-0/+28
change larger
2017-11-11panel-applet-frame-dbus-c: comment out newly unused variablelukefromdc1-3/+3
2017-11-09panel-applet-frame-dbus.c: comment out never used code blocklukefromdc1-0/+2
found by cppcheck