Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Currently installing mate-panel fails with the error
/bin/mkdir -p '/usr/share/gir-1.0'
/usr/bin/install -c -m 644 MatePanelApplet-4.0.gir '/usr/share/gir-1.0'
/usr/bin/install: cannot create regular file '/usr/share/gir-1.0/MatePanelApplet-4.0.gir': Permission denied
when configure is called with the --prefix option.
This fix is the same used in:
* caja (libcaja-extension/Makefile.am)
* eom (src/Makefile.am)
* libmatekbd (libmatekbd/Makefile.am)
* mate-desktop (libmate-desktop/Makefile.am)
* pluma (pluma/Makefile.am)
|
|
|
|
Do not open the context menu on tab-or on anything but the menu key. Note that Return must be used by some applets (e.g. the clock) for something else
|
|
|
|
We need this for future porting of tray icons to standalone applets as replacements dfor gtk_menu_popup emit a "popped-up" signal when the menu is showing
Based on gnome-panel commit github.com/GNOME/gnome-panel/commit/8e6e2847eca002499e862e9ae85bbc4c16b601fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is for the tray: GtkPlug/GtkSocket widgets are used to embed tray icons (GtkStatusIcons) in the tray even if the tray is in-process and does not use the plug/socket widgets to be itself embedded in the panel
|
|
Limit workaround for GTK 3.22 double width/height allocation to GTK 3.22 builds only
|
|
|
|
Fix https://github.com/mate-desktop/mate-panel/issues/797 and https://github.com/mate-desktop/mate-panel/issues/799
|
|
Add API to be able to use the new GResource framework.
origin commit:
https://git.gnome.org/browse/gnome-panel/commit/?id=182cefd
|
|
|
|
fix #727
|
|
|
|
|
|
Out-of-process applets end up scaled up doubly.
This divides the preferred width/height by the scale factor to ensure they are back at the correct preferred size.
|
|
|
|
|
|
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
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
|
|
|
This reverts commit cf46fb7f03d6ab0e106fa1cbfbf180fbbb9a5b75.
*Note that this is because the code added was already present in the same function
|
|
Properly initialize pattern, GNOME found this stopped applet crashes on bg change(though not the same crashes we just fixed)
based on
https://github.com/GNOME/gnome-panel/commit/88b9beeb8ab69072fe6912af33c620143d17b0a3
We could return a random value from panel_applet_get_pattern_from_pixmap(), and that was very nasty.
|
|
Avoid cairo function that seemed to be causing crashes related to setting geometry, use code copied from panel-background.c instead
|