Age | Commit message (Collapse) | Author | Files | Lines |
|
Update makefile and configure.ac to build the new files needed for GTK 3.19 and later builds.
|
|
file panel-plug-private.h used intact from github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets
Only included from mate-panel-applet.c when built against GTK 3.19 or later
|
|
New file panel-plug.c used intact from
github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets)
Used only in gtk 3.20 builds, though not sure if whole file built but not used when it's header file is not included in anything due to build time
conditionals.
|
|
mate-panel-applet.c
based on
github.com/GNOME/gnome-panel/commit/3115f77b536a7c79c7d43ded0591e2b8f45219c4 "restore custom background on applets)
Reverts and replaces use of gtk_window_ensure_native on applets, uses the panel-plug-private files from gnome panel intact. This way the system theme returns when custom background is deselected w/o having to restart the panel.
These changes kept behind gtk3.20 only build time conditionals. requires if-elif-endif three-way conditionals due to the extent to GTK differences. Doing it this way keeps panel applets from being twice as dark as the panel when an alpha color background is selected
|
|
- remove check for menubar schema as it's already installed along with panel itself
- properly unref menubar_settings object
- make key type unsigned
- drop obsolete MAX_ITEMS_OR_SUBMENU define
|
|
|
|
Add back the default background for themes such as Adwaita that do not explicitly support MATE. Tested with custom and system themes in Adwaita and all themes I have. System themes work perfectly, custom themes require restarting panel after any theme change, still need to restart panel after returning to the system theme from a custom theme as well.
|
|
Use gdk_window_ensure_native to applets when and only when a custom background is selected.
Doing so when the system bg is selected will turn applets clear,
so will not doing so when a custom background is selected.
Keep all this behind if # GTK_CHECK_VERSION (3, 19, 0) so as not to screw up anything
in older GTK versions.
|
|
This makes custom backgrounds show on the panel, the menu, the launcher applets
but not yet the tray, the clock button, the trash, or most applets from mate-applets.
Sometimes panel BG not drawn after theme change until panel restarted.
Still, this is a clue-will keep working.
Adding gdk_window_ensure_native (window) was taken from gnome-panel but caused the
default background not to show if the system BG is selected and does not explicitly
set the theme. Also using this brings back the requirement to restart the panel to
fully apply a system BG but progress is being made here.
|
|
|
|
|
|
|
|
with 24px panel 24px menu bar icon is too big: touches borders
|
|
adapted from:
https://git.gnome.org/browse/gnome-panel/commit/?id=eefb31f
|
|
|
|
also rename setup_menu_item_with_icon() to setup_menuitem_with_icon(),
and drop GtkStock support from it
|
|
|
|
- MatePanelAppletFrameDBus
- PanelSeparator
- PanelToplevel
|
|
|
|
This is now done by WnckPager itself.
And it fixes a build warning.
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=8a8c60f
|
|
|
|
|
|
must be some issue during the last merge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=080b953
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=c5549ba
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=080b953
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e67ac2a
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=4139922
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e56b20d
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=8b554ba
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=d907a6e
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?h=gnome-3-0&id=06ba8ba
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=f697764
|
|
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=bcff4d1
|
|
Those properties don't work anymore in themes and spam only the logs.
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e55b759
|
|
Fix for following warning from GtkStatusIcon:
gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 26.
https://bugzilla.gnome.org/show_bug.cgi?id=755129
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=e2bd90e
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=4367578
|
|
Taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=d1dd54e
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=5580bf9
|
|
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=c7ea765
|
|
Code for color shading copied from mutter:
https://git.gnome.org/browse/mutter/tree/src/ui/theme.c
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=5b19b4b
|
|
gtk_window_reshow_with_initial_size replaced with suggestion from
this commit:
https://git.gnome.org/browse/gtk+/commit/?id=01f7ed1
taken from:
https://git.gnome.org/browse/gnome-panel/commit/?id=ce5b1fb
|