summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2018-04-25Revert "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-25Theme: consistant theming for applet drag handles in all themeslukefromdc3-67/+24
* 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 (port of 45b25410cddde852554b3153e81ad59a5e6722ad to 1.18 branch, limiting it to GTK+ 3.20/22)
2018-04-16Theme: limit fallback applet drag handle theme to GTK 3.20/3.22lukefromdc1-1/+4
The syntax for GTK 3.18 and earlier is entirely different, and the applet drag handles used to show up, not sure when that stopped working
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-04-01run dialog: force icon size when loading app iconmonsta1-1/+1
avoids jumping of nearby UI controls when icon is bigger than requested
2018-04-01run dialog: fix expand of content on window resizemonsta1-0/+1
2018-04-01run-dialog: use F6 to switch between entry field and program listinfo-cppsp1-0/+33
fix #676
2018-04-01Fix run dialog show-program-list enablinginfo-cppsp1-7/+35
fix #296 (squashed f20f4b9e45c1ac33e651fdd77ccf8a530c894d73 + f6224f1c09acb8e93718338ea6a6c4cafe20c23c for 1.18 branch)
2018-03-18background: reword warning about unsupported background-image valuemonsta1-4/+1
make it more clear that the problem is in the theme, not the panel
2018-03-18set the "document-properties" icon in "Edit Menus"Pablo Barciela2-2/+2
2018-03-18panel-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-03-18get focus when displaying "applet broken" dialogPablo Barciela1-0/+4
2018-01-06rework the process of cancelling the background change operationmonsta3-22/+36
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 (squashed 180ba4ae21e8f5bc7d67f4902d0cda6ff053f4b2 + 7f711b89d0db04c12db2286b5d18892be45f26a5 for 1.18 branch)
2018-01-06Fix build warning: ‘toplevel_configure_event’ defined but not usedPablo Barciela1-4/+0
2017-12-07panel-toplevel: Remove pointer boundary check in ↵Björn Weber1-1/+0
panel_toplevel_queue_auto_hide()
2017-11-25Keep the right icons on bottom still displaying right when the resolution ↵张雯1-0/+28
change larger
2017-11-07Fix crashes on moving/removing applets with glib 2.53.4 or laterlukefromdc2-0/+5
*On destroying applet disconnect signals for functions that otherwise segfaults with glib 2.53.4 or later. *Fish: it's not always enough for a function to return immediately if applet destroyed anymore *panel-action-button: suppress a warning
2017-11-07Stop panel collapse left on adding certain out-of-process appletslukefromdc1-0/+1
Stop panel from collapsing left on adding fish, moving window-list(or other wncklet applet) on otherwise empty panel Fixes https://github.com/mate-desktop/mate-panel/issues/661
2017-09-30make file/folder launchers work againmonsta7-93/+149
fixes https://github.com/mate-desktop/mate-panel/issues/590 reverts a part of 7ee450758e4f2bee13aa8ff967a5795a6dcdc91f
2017-07-18Make panel image background in GTK theme work againlukefromdc1-9/+31
*Support both url(image file) and gradient image panel backgrounds in the GTK theme. *Scaling by 1.0/panel dimensions should never have worked, doesn't now. Get the actual image dimensions instead *Background: disable in PanelPlug features that don't work on panel toplevel *panel-background: catch error on unsupported image such as -gtk-gradient An image bg set in the GTK theme needs to be a file or a css gradient as the older -gtk-gradient does not return a valid cairo_pattern_t when read directly *GTK 3.14,3.16: fix theme bg image render in plugs PanelPlug rendering is handled differently with GTK 3.14 and 3.16 than later versions. Handle this so all supported image backgrounds in GTK themes render properly in all supported GTK versions
2017-06-11menu: restore focus after drag-n-dropping menuitem outsidemonsta1-54/+1
2017-06-11menu: restore focus after closing popup menu of a menuitemmonsta1-0/+71
2017-06-11menu: remove incorrect code from the popup menu of a menuitemmonsta1-70/+0
fixes https://github.com/mate-desktop/mate-panel/issues/305
2017-06-11fix moving applets between panelsmonsta1-4/+6
fixes https://github.com/mate-desktop/mate-panel/issues/504 have to repeat my change from 024f89bc7c8074f753120d9c8ec4bd839745984b because of fallout from 225702b3c6a609065465c66f0f2739fc1d2184a9
2017-06-06Fix: menubar/menu-button can't launch mozoZenWalker2-20/+12
Fixes #586
2017-05-24menu: fix crash when some .desktop file has empty Icon fieldmonsta1-6/+4
fixes https://github.com/mate-desktop/mate-panel/issues/494
2017-05-20menu-button: disconnect from GSettings when applet is removedmonsta1-0/+3
fixes runtime warning on applet removal
2017-05-20action-button: disconnect from GSettings when applet is removedmonsta1-2/+6
fixes runtime warning on applet removal
2017-05-20localized application's name and descriptionDenis Gorodnichev1-6/+4
g_desktop_app_info_get_string return unlocalized strings. g_app_info_get_name and g_app_info_get_description to get localized application's name and comment(description)
2017-04-25fix build with gcc 4.9.2 (looks like it's in c89 mode by default)monsta1-1/+2
2017-04-25Run dialog: Add option to reverse history viewMoritz Bruder1-22/+38
A setting is added to show the run dialog history in reverse.
2017-04-25Run dialog: Fix wrong history len with max size 1Moritz Bruder1-17/+16
In a special case where the history size was 1, the actual history saved had length 2. In addition history is always written with new entries. One could also connect a signal to the max size property to force writing history (i.e., to shorten it).
2017-04-25Run dialog: Allow changing history sizeMoritz Bruder1-26/+33
A key has been added to the gsettings schema that controls history size. The code of the run dialog has been changed to use that key.
2017-04-18Run dialog: Fix wrong history orderMoritz Bruder1-1/+1
Initially the org.mate.panel.general.history-mate-run key was saved with the most recent command last. In combination with wrong code this led to scrambling the history. This commit changes the history storage in a way that most recent elements are stored first. The code adapts to this change by changing only one function to prepend instead of append in the list store. (Any old histories might therefore be wrong for a short time, but that's probably worth it to fix this bug.)
2017-04-11update copyright year to 2017monsta1-1/+1
2017-04-11properly fit expanded panel to smaller screen sizemonsta1-9/+1
when changing panel orientation or rotating the screen itself, panel might keep its old size, so some applets might appear behind screen edge (until you restart the panel). same thing might happen when enabling hide buttons. fixes https://github.com/mate-desktop/mate-panel/issues/552 upstream commit with detailed problem description: https://git.gnome.org/browse/gnome-panel/commit/?id=fc24d8fa623c4cf841eb5168cb1c250b4a84d4da upstream commit with the actual fix: https://git.gnome.org/browse/gnome-panel/commit/?id=4511f4466df0b163906794b4a32196226ccf90f3 yes, it's somewhat messed up there :)
2017-03-30Simplify panel description shown when switching panels with the WMColomban Wendling1-57/+8
Fixes #530.
2017-03-20setup custom iconDenis Gorodnichev2-1/+6
restore ability to configure launcher's custom icon which degradated after switching on g_app_info_get_icon also update launcher state after saving launcher's properties.
2017-03-17Revert "Suppress the shutdown option in the panel if LTSP_CLIENT is set"Scott Balneaves1-1/+1
This reverts commit 8c25e1bdd328a8712735c0b00cf4aede7993da1d. LTSP no longer requires this, and it in fact prevents LTSP machines from shutting down. Closes https://github.com/mate-desktop/mate-panel/issues/535
2017-02-07Don't spam accessible name changes when it is translatedColomban Wendling1-5/+5
Fix the logic guarding against updating the name and description so that it properly checks against strings in the same locale. This prevents spamming accessibility 'accessible-name' change events, avoiding some noise when interacting with the panel.
2017-01-20Add (optional) support for menulibre. https://smdavis.us/projects/menulibre/ ↵Martin Wimpress2-8/+8
(#515) This patch re-purposes the existing fallback support for the now obsolete matemenu-simple-editor to add (optional) support for menulibre. The logic is simple, if menulibre is installed use it in preference to mozo. If menulibre is not available, fallback to mozo. The rationale is this; if you've installed menulibre you want to use it in preference to mozo. Menulibre offers a superset of menu editting capabilities compared to mozo and is growing in popularity. This change will allow distro maintainers to chose which menu editor they want to offer.
2017-01-13support desktop actionsDenis Gorodnichev13-212/+255
2017-01-08Gtk-WARNING: Allocating size to GtkAlignment..Denis Gorodnichev1-2/+0
2017-01-05remove ancient code leftoversmonsta9-1661/+0
once it was some easter egg, now it's just a non-working garbage
2017-01-05xstuff: remove unused codemonsta2-336/+0
2016-11-29Fix: the panel does not display the icon on the mouse with dndZenWalker1-0/+9
Fixes #457
2016-11-21rename .ui file of panel properties dialog to the original namemonsta3-3/+3
no need to mention GTK+3 anymore
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta53-3394/+87
and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it.
2016-11-21panel-widget: panel_widget_unrealize is used only with GTK+ < 3.18monsta1-1/+2