summaryrefslogtreecommitdiff
path: root/mate-panel/panel-toplevel.c
AgeCommit message (Collapse)AuthorFilesLines
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
2014-11-22Gtk3: Fix use of deprecated gdk_pointer_grab()/_ungrab()infirit1-3/+31
Replaced gdk_pointer_grab() and gdk_pointer_ungrab() by gdk_device_grab() and gdk_device_ungrab(), respectively. Taken from gnome-panel commit: 98da5c1953ab90cc5581c1858d7a9c3d3cf796eb From: Germán Póo-Caamaño <[email protected]>
2014-11-22Gtk3: Fix use of deprecated gdk_display_get_pointer()infirit1-0/+12
Replaced gdk_display_get_pointer() by gdk_device_get_position() Taken from gnome-panel commit: c5111b57d5241f8e4e9f420df1a904f66fa2e89d From: Germán Póo-Caamaño <[email protected]>
2014-11-22Gtk3: Replaced gdk_cursor_unref() by g_object_unref()infirit1-0/+4
gdk_cursor_unref () is deprecated in Gtk+3
2014-06-25Merge pull request #212 from rilian-la-te/fix_expandStefano Karapetsas1-34/+90
Fix expand
2014-06-20Fix RGBA issues for GTK3Konstantin Pugin1-0/+12
2014-06-20Fix expanded panels and size allocationKonstantin Pugin1-34/+90
2014-02-26gtk3: rgba visualDenis Gorodnichev1-0/+21
2014-01-23We need to call gtk_window_set_has_resize_grip also with GTK3 nowStefano Karapetsas1-5/+5
Not only with Ubuntu/GTK2
2014-01-23Use gtk_widget_get_preferred_size with GTK3Stefano Karapetsas1-0/+8
2013-10-26mate-panel: Add GTK3 supportStefano Karapetsas1-10/+134
2013-05-02Allow to set panel orientation only for expanded panelsStefano Karapetsas1-1/+1
Also fix initial position of non-expanded panels
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-11-12Code audit: fix compile warnings, uninitialized pointer problemsScott Balneaves1-0/+2
2012-10-11migrate mate-panel to gsettingsStefano Karapetsas1-1/+43
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+5298