summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
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
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 setlukefromdc1-2/+41
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
2018-05-30panel-menu-button.c: Force use basename for compareyetist1-1/+14
* matemenu_tree_get_canonical_menu_path () now return absolute file path, not basename like matemenu_tree_get_menu_file.
2018-05-30Support new mate-menus apiyetist7-249/+306
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-05-07applet.c: avoid deprecated GtkImageMenuItemPablo Barciela3-33/+95
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-04-28limit 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-22Revert "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-19panel-context-menu.c: avoid deprecated GtkImageMenuItemPablo Barciela4-26/+45
avoid deprecated: gtk_image_menu_item_new_with_mnemonic gtk_image_menu_item_set_image
2018-04-17avoid 'gtk_file_chooser_dialog_new' with stock idsPablo Barciela5-21/+87
2018-04-15Accessibility: 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-15panel-run-dialog.ui: avoid deprecated:Pablo Barciela1-87/+137
avoid deprecated: GtkVBox GtkHbox GtkImage:stock GtkButton:use-stock
2018-04-14Revert "panel-run-dialog.ui: avoid deprecated:"lukefromdc1-136/+87
This reverts commit 4d84a7e7881cfd3b02ef36b443661f5f333efbf7.
2018-04-14Revert "Revert "panel-test-applets.ui: avoid deprecated:""lukefromdc1-83/+96
This reverts commit f853512c166566d0978430e28dca23f97110daae.
2018-04-14Revert "panel-test-applets.ui: avoid deprecated:"lukefromdc1-96/+83
This reverts commit d1aee5af0f3a7c32a5c040f241fa4305346f1a13.
2018-04-14panel-test-applets.ui: avoid deprecated:Pablo Barciela1-83/+96
avoid deprecated: GtkTable GtkHSeparator GtkButton:use-stock
2018-04-14panel-run-dialog.ui: avoid deprecated:Pablo Barciela1-87/+136
avoid deprecated: GtkVBox GtkHbox GtkImage:stock GtkButton:use-stock
2018-04-14Theme: 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-04-13panel-properties-dialog.ui: avoid GtkButton:use-stock and GtkImage:stockPablo Barciela1-12/+42
2018-04-09avoid gtk_dialog_add_buttons with stock idsPablo Barciela8-47/+99
2018-03-25fix distcheckraveit651-0/+1
2018-03-19Fix hide buttons make panel biggerinfo-cppsp1-44/+79
fix #733
2018-03-19run dialog: force icon size when loading app iconmonsta1-1/+1
avoids jumping of nearby UI controls when icon is bigger than requested
2018-03-19run dialog: fix expand of content on window resizemonsta1-0/+1
2018-03-18Fix run dialog show-program-list enabling fixinfo-cppsp1-3/+18
learning signal chaining...
2018-03-14run-dialog: use F6 to switch between entry field and program listinfo-cppsp1-0/+33
fix #676
2018-02-27Fix strut sizes for HiDPI multi-monitorsVictor Kareh1-15/+18
2018-02-26Do not down-scale monitor geometries for GDK monitorsVictor Kareh1-15/+2
2018-02-24Scale monitor geometries down to device pixels to support multiple monitors ↵Victor Kareh4-26/+44
in HiDPI
2018-02-15Drawer 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