Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Should work fine under both Gtk+ versions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We already do this for the same function in libmate-panel-applet.
Thanks to luke on the forums. fixes #330
|
|
- this fixes program list in GTK3
|
|
|
|
The new GDK_KEY_ keys are also in Gtk+2.
|
|
|
|
|
|
Fix Force-Quit panel applet to avoid hang with GTK3
|
|
This patch implements handling of XInput2 extension events in the applet.
Without this patch, the applet fails to recognize such events (either mouse
click for killing application, or escape key for exiting), hence freezing the
desktop.
Also fix the event mask in call of gdk_device_grab() for keyboard.
Author: Sébastien Villemot <[email protected]>
http://bugs.debian.org/698740
|
|
Both functions have exactly the same semantics, so prefer the Gtk+
builtin.
|
|
Remove change_background_for_widget from GTK3 build (it is useless.)
|
|
|
|
is an attempt to fix https://github.com/mate-desktop/mate-panel/issues/214
|
|
|
|
Closes https://github.com/mate-desktop/mate-panel/pull/268
|
|
Closes https://github.com/mate-desktop/mate-panel/pull/273
|
|
This reverts commit 9a8965fa0c783bc8221a1ccd55247e5e6a4ee88a.
It caused the run dialog to fail.
|
|
|
|
|
|
|
|
Based on gnome-panel commit: 8a942d16378f62015f302357e0e5b6f61b5713b3
From: Vincent Untz <[email protected]>
|
|
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]>
|
|
Instead of writing some long line again and again, use a small helper.
Taken from gnome-panel commit: 412ac2e4fa6a19c454b7046b9f57b9622a7b97d0
From: Vincent Untz <[email protected]>
|
|
The calculation wasn't done right. At least, I think so :-)
Also cleanup a bit some code in the file.
Based on gnome-panel commit: be822666a99680e5cd34c02ad2e35bea81f4a7d8
From: Vincent Untz <[email protected]>
|
|
Do not assume that CAIRO_STATUS_SUCCESS == 0. This clarifies the code
Taken from gnome-panel commit: d376b00a0a5856b3d5eb20a7dc1b39440d2f3938
|
|
This is also called (correctly per [1]) in panel_menu_bar_init
Inspired by gnome-panel commit: 7230bad1c3bf2623d7fe2922422758ce56c95b16
|
|
|
|
gtk_widget_render_icon()
Based on gnome-panel commit: 6f13318fa892afde6ff35b6784217121481e3963
From: Carlos Garcia Campos <[email protected]>
|
|
applet menu
Fixes crash while removing the menu bar or a drawer.
Based on gnome-panel commit: 8211f19c2c331b1502694a03e1b5abfdc793b56b
From: Carlos Garcia Campos <[email protected]>
|
|
Based on gnome-panel commit: 75e5bc6a50ef7ecc3cbb9f7833132cec900ff5c8
From: Carlos Garcia Campos <[email protected]>
|
|
Based on gnome-panel commit: f2ff0440223641d7495560ef2bf99b2b61895cac
From: Carlos Garcia Campos <[email protected]>
|
|
Based on gnome-panel commit: b4deac9d217b4785d2c930a2deb2d94f5e4878d9
From: Carlos Garcia Campos <[email protected]>
|
|
Based on gnome-panel commits:
menu: 434e491bc4a280037638fb828529856276de3512
toplevel: e0bf14009416f19484bd0431a85744db7d907eb9
force-quit: 2760d89026ea5cf5bf25a4b8ceaf9f6dd2651043
|
|
Based on gnome-panel commits:
8e36c34e6f356b0f49a044a5b54125dce4661f7c
45c30bc316db49b52bcacabcaa2e7977b63318cc
From: Carlos Garcia Campos <[email protected]>
|
|
Taken from gnome-panel commit: e75d7861c293be48a8e10ebbb1e0ab405be0bc7e
From: Carlos Garcia Campos <[email protected]>
|
|
Even tough it works it makes taking code (eg StyleContext)
from gnome-panel much easier.
Also fixes a bug where applets are not drawn when moved/added.
|
|
|
|
Based on gnome-panel commit: 3507d3ca74233d88f83df5f3f43a52ae2bc306d3
From: Carlos Garcia Campos <[email protected]>
|
|
Based on gnome-panel commit: ee0fcd193030b433b5aa1785a864f89e25345f01
From: Carlos Garcia Campos <[email protected]>
In the process make button_widget_{draw,expose} a little more readable.
|
|
Taken from gnome-panel commit: d47c8957a1b7079891dee37b361694fce17b6b53
From: Carlos Garcia Campos <[email protected]>
|
|
We need to add a child to the button to get the right allocation of the
pixbuf. When the button is created without a pixbuf,
get_preferred_width/height are called the first time when the widget is
allocated and 0x0 size is cached by gtksizerequest. Since the widget
doesn't change its size when a pixbuf is set, gtk_widget_queue_resize()
always uses the cached values instead of calling
get_preferred_width_height() again. So the actual size, based on pixbuf
size, is never used. We are overriding the draw() method, so having a
child doesn't affect the widget rendering anyway.
Taken from gnome-panel commit: 0b8ace11087855d741cdeed97dc839db50319ae8
from: Carlos Garcia Campos <[email protected]>
|
|
We now use it for both Gtk+2 and Gtk+3
|