summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-14wncklet: disconnect signals by data on destroymonsta2-27/+4
do the same as in 4fbe8e24933d367316441166ca448cdb03c6a35f this optimizes 9f43dd5c7c37b84960d06a98a4738ee40d8bfd50
2017-11-14clock: disconnect one more signal handler on destroymonsta1-0/+3
2017-11-11panel-applet-frame-dbus-c: comment out newly unused variablelukefromdc1-3/+3
2017-11-09Clock: don't check variables that can never be < 0 for < 0lukefromdc2-6/+6
check them for = 0 instead. Found by cppcheck http://man7.org/linux/man-pages/man3/strftime.3.html This always returns 0 or a positive number of bytes
2017-11-09panel-applet-frame-dbus.c: comment out never used code blocklukefromdc1-0/+2
found by cppcheck
2017-11-09panel-toplevel: remove duplicate break statementlukefromdc1-1/+0
found by cppcheck
2017-11-09status-notifier: remove duplicate check found by cppchecklukefromdc1-2/+0
2017-11-07sync with transifexraveit65113-162/+163
2017-10-16status-notifier: hide mate-polkit icon if passivelukefromdc1-1/+7
This needs to be special cased, and requires a change in mate-polkit to work
2017-10-16Apply position fix on popup to GTK 3.20 and earlierlukefromdc2-2/+8
2017-10-14GTK 3.22 status notifier: reposition menu when size changeslukefromdc2-0/+4
Also catch a missed instance of needing to reposition. This stops most cases of a bottom panel menu changing size and ending up too low.
2017-10-12GTK 3.22/status-notifer Fix menu position if size changed since last shownlukefromdc1-0/+2
Mostly fixes serious mispositioning of network-manager applet (indicator mode) menus when connections were changed on last showing of menu and applet is on bottom panel and especially bottom right
2017-10-05Stop 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-29make file/folder launchers work againmonsta7-93/+149
fixes https://github.com/mate-desktop/mate-panel/issues/590 reverts a part of 7ee450758e4f2bee13aa8ff967a5795a6dcdc91f
2017-09-28panel-context-menu: Add confirmation dialog to panel reset optionlukefromdc1-2/+49
2017-09-05Add option to context menu to reset the panelikem-krueger1-0/+9
It can happen that a panel configuration is so messed up, that only a reset helps. Only a few users know how to do that. This patch adds a context menu entry "Reset Panel", which enables a user to do that. Internally the function behind "mate-panel --reset" is called.
2017-08-22clock:disconnect signal handlers on destroylukefromdc1-22/+3
Don't just check for the clock's existance and return if it has been destroyed, disconnect them entirely when the clock is destroyed
2017-08-22Fix crashes on moving/removing applets with glib 2.53.4 or laterlukefromdc3-6/+9
*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-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker4-0/+31
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-08-16Add a gsettings key to enable/disable SNI Support (#600)Clement Lefebvre2-6/+18
2017-08-14release 1.19.3v1.19.3raveit651-0/+34
2017-08-14sync with transifexraveit655-18/+19
2017-08-13wncklet: stop segfaults, warnings on removing in-process switcher, window-listlukefromdc2-20/+51
Fixes window list, workspace switcher. Window menu and show desktop no warnings or segfaults on removal when built in process
2017-08-13fish: fix adding back after removallukefromdc1-3/+6
These two "changed" functions get triggered by clearing gsettings values on exit, make them return immediately when this happens. Don't return from dispose on repeat call or applet can't be added back
2017-08-13Fish: stop all warnings on removing when built in-processlukefromdc1-0/+3
2017-08-13Clock: fix removal warnings when in-process applet removedlukefromdc1-4/+23
2017-08-13clock: stop segfault on removing applet when built in-processlukefromdc1-0/+4
This works, but does leave part of it in RAM until the panel is restarted. No change in out-of-process builds
2017-08-13libmate-panel-applet: fix typos in id->factory_id renamelukefromdc1-2/+2
2017-08-13libmate-panel-applet: Only declare _panel_applet_shlib_factory() when neededlukefromdc1-1/+1
Stops segfault on adding, removing, adding fish again when built in-process. Based on https://github.com/GNOME/gnome-panel/commit/66602bab12f55e09b2205b493c7e0e5e9c560911 "This function only makes sense when PANEL_APPLET_IN_PROCESS_FACTORY is used."
2017-08-13libmate-panel-applet: fix error in unregistering dbus objectlukefromdc1-1/+2
One portion of https://github.com/GNOME/gnome-panel/commit/0c3844c0e5f1bee5885d2c7aeaa49763e6708f6d got left out
2017-08-13libmate-panel-applet: fix build warninglukefromdc1-2/+1
This is a dummy variable used only to accomodate existing applets
2017-08-13libmate-panel-applet: fix introspectionlukefromdc1-2/+2
2017-08-13libmate-panel-applet: unown bus name and unregister dbus objectlukefromdc1-1/+15
Fix for crashes on removing applets similar to https://bugzilla.gnome.org/show_bug.cgi?id=692610
2017-08-13libmate-panel-applet GTK 3.14/3.16: fix custom bg w alphalukefromdc2-10/+14
Draw the background only on out of process applets. This prevents double-draw of bg w alpha value on in-process applets with GTK 3.14/3/16 Also Fix indent
2017-08-13libmate-panel-applet: include dummy variable in factory for certian appletslukefromdc2-5/+8
Otherwise, some applets such as disk mounter, hardware monitor, cpufreq won't start. * Fixes all but invest, note that cpufreq needs to be rebuilt against this for the menu to work * Also fix two new build warnings
2017-08-13libmate-panel-applet: fix bg rendering for in-process appletslukefromdc1-64/+45
Note that at least some in-process applets will pick up the MatePanelAppletFrameDBus styling, so drag handles should be themed with the MatePanelAppletFrameDBus>MatePanelAppletFrameDBus selector instead
2017-08-13libpanel-applet/panel-applet.h: Rename id to factory_id for factorylukefromdc1-6/+6
2017-08-13limatepanel-applet: add panel-applet-private.hlukefromdc5-8/+41
... and move private functions from factory to this file. Later we will have at least one more private function. Based on https://github.com/GNOME/gnome-panel/commit/c04da8c76ee6f16af44faca2b247df71e98b0a4b plus one more change as it was added out of order
2017-08-13don't use GtkPlug/GtkSocket for in process appletslukefromdc2-11/+57
1. This will allow panel to exit/stop without crashing when using in process applets. It was crashing because of following assert: g_assert (widget->priv->verifying_invariants_count > 0); 2. In process applet will not have extra background. Transparency should now work as expected. This fixes redrawing of in-process applet backgrounds with GTK 3.22 based on https://github.com/GNOME/gnome-panel/commit/df4ec78272624660e1e01b7382dac3e1f83cfc4a
2017-08-13make it possible to get applet widgetlukefromdc4-0/+63
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: add panel_applet_factory_get_applet_widgetlukefromdc2-0/+21
This function will be used to get applet widget from factory. Based on https://github.com/GNOME/gnome-panel/commit/8e1f7ea9f13533ce448cbc485d766fed01029be5
2017-08-13libpanel-applet: return process type and applet uidlukefromdc2-4/+19
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-13libpanel-applet: store factories in hash tablelukefromdc1-0/+34
Based on https://github.com/GNOME/gnome-panel/commit/dca3101714da67adc08fc986a6355afada4bde15 and needed for later commits libpanel-applet: store applets in hash table Based on https://github.com/GNOME/gnome-panel/commit/3fe6791d32a415a333bcb7d71d98a6de9929fa27 and needed for later commits
2017-08-13libpanel-applet: delay GtkPlug creationlukefromdc1-8/+23
We are going to create GtkPlug only for out of process applets and constructor is first place where we will know applet process type Based on https://github.com/GNOME/gnome-panel/commit/3ed0b1b87ecad205bdaed0ca52e8866bc0666863
2017-08-13libpanel-applet: add process type to private datalukefromdc3-1/+23
We will need to know this as soon we will create GtkPlug and GtkSocket only for out of process applets. based on https://github.com/GNOME/gnome-panel/commit/dafdc5714a6cfc7ebf26fcbd614b48cfc790b954
2017-08-13libpanel-applet: Remove out_process from panel_applet_factory_main()lukefromdc2-14/+55
This argument makes no sense when introspection is used since, in that case, the applet will be out-of-process anyway. Instead, create a panel_applet_factory_setup_in_process() API that is marked as "skip" for introspection, that is used to setup the factory for in-process applets. Based on https://github.com/GNOME/gnome-panel/commit/6ef943dd473ac662dea01645e0ab1f6564361253
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker9-21/+40