summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2017-08-13make it possible to get applet widgetlukefromdc3-0/+56
We will use this to get applet widget from factory. This will allow to bypass GtkPlug/GtkSocket. Based on https://github.com/GNOME/gnome-panel/commit/408bab094d1fad471b342548dabc58410a3dc327
2017-08-13libpanel-applet: return process type and applet uidlukefromdc1-2/+9
Return applet process type and generated uid from factory. Process type will be needed to know if we should create GtkSocket, but uid will be used to get applet widget.
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker5-11/+24
2017-08-13Add missing include. (#642)Martin Wimpress1-0/+1
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+8
2017-08-02Forces a window scale of 1 for the panel, instead of using the default or ↵Martin Wimpress1-0/+3
user configured scale. Closes #621
2017-08-02avoid deprecated gdk_screen_make_display_nameZenWalker3-14/+18
2017-07-31avoid deprecated gdk_display_get_screenZenWalker2-19/+15
2017-07-29don't use deprecated gtk_show_urilukefromdc2-5/+10
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker7-50/+52
2017-07-02Make 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-07menu: restore focus after drag-n-dropping menuitem outsidemonsta1-54/+1
2017-06-07menu: restore focus after closing popup menu of a menuitemmonsta1-0/+71
2017-06-06Fix: menubar/menu-button can't launch mozoZenWalker2-20/+12
Fixes #586
2017-05-30menu: remove incorrect code from the popup menu of a menuitemmonsta1-70/+0
fixes https://github.com/mate-desktop/mate-panel/issues/305
2017-05-29fix 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-05-23menu: fix crash when some .desktop file has empty Icon fieldmonsta1-6/+4
fixes https://github.com/mate-desktop/mate-panel/issues/494
2017-05-18localized 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-05-17menu-button: disconnect from GSettings when applet is removedmonsta1-0/+3
fixes runtime warning on applet removal
2017-05-17action-button: disconnect from GSettings when applet is removedmonsta1-2/+6
fixes runtime warning on applet removal
2017-04-26use GTK+3 bookmarks location for Places menumonsta1-5/+4
2017-04-19fix build with gcc 4.9.2 (looks like it's in c89 mode by default)monsta1-1/+2
2017-04-18Run dialog: Add option to reverse history viewMoritz Bruder1-22/+38
A setting is added to show the run dialog history in reverse.
2017-04-18Run 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-18Run 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-17Run 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-11panel-menu-bar: fix build warning and some spacingmonsta1-2/+3
2017-04-10Fixes #549Konstantin1-0/+3
2017-04-10properly 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
2016-11-21check for stable release of GTK+3, not for development onemonsta6-11/+11
2016-11-21libegg: remove win32 & quartz leftoversmonsta2-13/+1
2016-11-21fix indent a bitmonsta4-8/+8
2016-09-07GTK+-3.20 panel-widget: use GtkSeat instead of deprecated device pointerraveit651-6/+6
2016-09-07GTK+-3.20 top-level: use GtkSeat instead of deprecated device pointerraveit651-8/+20
2016-09-01GTK+-3.20 force quit: use GtkSeat instead of deprecated device pointerraveit651-4/+5
2016-09-01GTK+-3.20 panel-frame: use GtkSeat instead of deprecated device pointerraveit651-3/+2