summaryrefslogtreecommitdiff
path: root/mate-panel/panel-toplevel.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-26panel-toplevel: fix applets placement on expanded vertical panel1.20monsta1-1/+5
fixes https://github.com/mate-desktop/mate-panel/issues/745
2019-07-26panel-toplevel: fix coding style and spacing a bitmonsta1-6/+3
2019-05-20fix random crashes on panel resetmonsta1-41/+43
- unref objects in toplevel's dispose function instead of finalize - disconnect from toplevel's GSettings objects before deleting them
2018-09-18panel-toplevel: fix memory leak in calculate_minimum_heightRui Caridade1-1/+2
Origin commit : https://github.com/GNOME/gnome-panel/commit/19129513e9dbfef9a985e0666d98d60a9e7b2779#diff-97cdffd8b53134e4fdfdd45b4a862042R2144
2018-06-29panel-toplevel: add position css classAlberts Muktupāvels1-14/+47
origin commit: https://gitlab.gnome.org/GNOME/gnome-panel/commit/6015418
2018-04-29limit size of panel-hide-buttonraveit651-6/+13
Thanks to Juha Leppänen, Kuopio, Finland for simplifing the code
2018-04-23Revert "panel-toplevel: Remove pointer boundary check in ↵raveit651-0/+1
panel_toplevel_queue_auto_hide()" This reverts commit 0d29acf6a70090ee771de2793b1af8e1388a430f. Which causes a regression. Fixes https://github.com/mate-desktop/mate-panel/issues/773
2018-03-20Fix hide buttons make panel biggerinfo-cppsp1-44/+79
fix #733
2018-03-13Scale monitor geometries down to device pixels to support multiple monitors ↵Victor Kareh1-13/+5
in HiDPI
2018-03-13Drawer cleanup and fix arrow behaviorinfo-cppsp1-4/+14
*Drawer coding style cleanup *Drawer code organized *Rearranged and labeled code *Drawer fix arrows *Fixed hide code for drawer in toplevel. *fix #528 *fix #704
2018-01-31require GTK+ 3.22 and GLib 2.50monsta1-125/+9
2018-01-25Support panel auto-scaling for HiDPI displaysVictor Kareh1-9/+32
*Fix scaling of panel widgets, buttons, and the menu bar *Draw grab handles at the ends of the panel *Fix size of _almost_ all included applets *Fix panel snapping coordinates *Down-scale monitor coordinates to support multi-monitors Author: Victor Kareh <[email protected]> Date: Wed Dec 20 14:03:18 2017 -0500
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela1-7/+3
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
2017-11-29panel-toplevel: Remove pointer boundary check in ↵Björn Weber1-1/+0
panel_toplevel_queue_auto_hide()
2017-11-23Keep the right icons on bottom still displaying right when the resolution ↵张雯1-0/+28
change larger
2017-11-09panel-toplevel: remove duplicate break statementlukefromdc1-1/+0
found by cppcheck
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+7
2017-03-30Simplify panel description shown when switching panels with the WMColomban Wendling1-57/+8
Fixes #530.
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.
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-423/+40
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-21check for stable release of GTK+3, not for development onemonsta1-4/+4
2016-09-07GTK+-3.20 top-level: use GtkSeat instead of deprecated device pointerraveit651-8/+20
2016-08-07Fix FTBFS with Gtk 3.18Matt Spaulding1-2/+2
2016-08-03GTK+-3 panel-toplevel: port to GtkGridraveit651-0/+38
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=281f4d5
2016-06-29fix some warnings and deprecationsSorokin Alexei1-12/+35
2016-06-29Gtk3: fix no explicit return value type for set_background_region()Sorokin Alexei1-0/+1
2016-03-25 Gtk3.18/3.20-move background handling toplevel lukefromdc1-8/+180
panel-toplevel.c move background handling to the panel toplevel in GTK 3.18 and GTK 3.20 builds only, seems to fix the applet crashes on theme changes with a custom background loaded, and in GTK 3.20 also preserves custom backgrounds when GTK themes are changed
2016-02-19GTK+-3.20: add more css namesWolfgang Ulbrich1-0/+4
- MatePanelAppletFrameDBus - PanelSeparator - PanelToplevel
2016-02-12GTK+-3.20 panel-toplevel: don't use deprecated style propertiesWolfgang Ulbrich1-0/+8
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=e56b20d
2016-02-12do not use deprecated gdk_cursor_new, useWolfgang Ulbrich1-3/+5
gdk_cursor_new_for_display for both GTK versions
2016-02-09GTK+3 panel-toplevel: do not use deprecated gtk_widget_get_requisitionWolfgang Ulbrich1-0/+4
taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=e14b9ac
2016-02-09Kill ubuntu counterhackWolfgang Ulbrich1-8/+0
2016-02-09GTK+3 panel-toplevel: fix a build warningWolfgang Ulbrich1-1/+1
2016-01-23GTK3: More panel BG rendering bugfixeslukefromdc1-0/+9
Keep the .mate-panel-menu-bar and .gnome-panel-menu-bar style classes on the panel toplevel unconditionally. GTK Inspector showed that the toplevel was actually being themed by PanelWidget and not by PanelToplevel, causing multiple issues. This was why it was not possible to set an image or an alpha background in the GTK theme. The .mate-custom-panel-background style class was being applied to the toplevel, but not mate-panel-menu-bar and .gnome-panel-menu-bar . This was also why resetting the panel from a custom to a system background required restarting the panel. I found all of this because of a bug or changed feature (not sure which) in GTK 3.19.7 which prevented the panel from being themed at all. Fixing this right also fixes all the bugs mentioned above. First restart after setting a custom theme will sometimes but not reliably crash an applet, not sure if that is a pre-existing bug though. At any rate, setting ANY custom background was just broken by gtk3.19.7. don't know if they will fix that or we will have to. That one can wait.
2015-12-23never agree to expand an attached toplevel (drawer's panel)monsta1-0/+5
2015-12-18toplevel: remove unused variable in GTK+3 buildmonsta1-2/+1
2015-12-18toplevel: define set_arrow_type function only for GTK+ 3.14monsta1-0/+2
2015-09-25eliminate criticalsDenis Gorodnichev1-1/+1
gdk_window_set_geometry_hints accept 0 as flags when geometry is null return 1px width/height while image is not loadded
2015-08-26Gtk3: Don't use deprecated gtk_style_context_get_fontyetist1-1/+1
2015-08-26Gtk3: Drop GtkArrow in panel_toplevel_add_hide_buttonyetist1-0/+36
2015-08-26Gtk3: Don't use deprecated gdk_cursor_newyetist1-3/+3
2015-08-26Gtk3: Don't use deprecated gdk_window_get_pointeryetist1-0/+8
2015-07-14Replace GtkObject with GObject also for Gtk+ 2infirit1-16/+0
2015-07-14Drop gdkkeysyms-compat usage in Gtk+3infirit1-41/+38
The new GDK_KEY_ keys are also in Gtk+2.
2015-07-14Remove unused variableinfirit1-3/+0
2015-07-01drawer: now opens fine after adding any applets and restarting sessionMonsta1-0/+3
2015-06-28replace panel_xutils_set_window_type with gtk_window_set_type_hintJavier1-1/+1
Both functions have exactly the same semantics, so prefer the Gtk+ builtin.
2014-11-23Gtk3: panel, clock: Synchronize calculate_minimum_height() codeinfirit1-14/+16
Also change the panel version to use the padding instead of the border. We're interested in the padding here. I believe. Taken from gnome-panel commit: 0b5d9e57451dff3a25b3fbcc8dec671cac469cb From: Vincent Untz <[email protected]>
2014-11-23Gtk3: panel-toplevel: Port to GtkStyleContextinfirit1-22/+146
Based on gnome-panel commit: 75e5bc6a50ef7ecc3cbb9f7833132cec900ff5c8 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: Port gdk_keyboard_grab to gdk_deviceinfirit1-2/+14
Based on gnome-panel commits: menu: 434e491bc4a280037638fb828529856276de3512 toplevel: e0bf14009416f19484bd0431a85744db7d907eb9 force-quit: 2760d89026ea5cf5bf25a4b8ceaf9f6dd2651043