Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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
|
|
panel_toplevel_queue_auto_hide()
|
|
should've done it long ago
see https://git.gnome.org/browse/gnome-panel/commit/?id=e57b3afd9255671789ea6c1b6136bbad82573cdc
|
|
change larger
|
|
do the same as in 4fbe8e24933d367316441166ca448cdb03c6a35f
this optimizes 9f43dd5c7c37b84960d06a98a4738ee40d8bfd50
|
|
|
|
|
|
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
|
|
found by cppcheck
|
|
found by cppcheck
|
|
|
|
|
|
This needs to be special cased, and requires a change in mate-polkit to work
|
|
|
|
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.
|
|
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
|
|
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
|
|
fixes https://github.com/mate-desktop/mate-panel/issues/590
reverts a part of 7ee450758e4f2bee13aa8ff967a5795a6dcdc91f
|
|
|
|
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.
|
|
Don't just check for the clock's existance and return if it has been destroyed, disconnect them entirely when the clock is destroyed
|
|
*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
|
|
avoid deprecated:
gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_window
gdk_screen_get_monitor_at_point
|
|
|
|
|
|
|
|
Fixes window list, workspace switcher. Window menu and show desktop no warnings or segfaults on removal when built in process
|
|
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
|
|
|
|
|
|
This works, but does leave part of it in RAM until the panel is restarted.
No change in out-of-process builds
|
|
|
|
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."
|
|
One portion of https://github.com/GNOME/gnome-panel/commit/0c3844c0e5f1bee5885d2c7aeaa49763e6708f6d got left out
|
|
This is a dummy variable used only to accomodate existing applets
|
|
|
|
Fix for crashes on removing applets similar to
https://bugzilla.gnome.org/show_bug.cgi?id=692610
|
|
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
|
|
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
|
|
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
|
|
|
|
... 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
|
|
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
|
|
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
|
|
This function will be used to get applet widget from factory.
Based on https://github.com/GNOME/gnome-panel/commit/8e1f7ea9f13533ce448cbc485d766fed01029be5
|
|
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.
|
|
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
|