diff options
author | Stefan Müller-Klieser <s.mueller-klieser@phytec.de> | 2016-08-04 15:27:54 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:29 +0100 |
commit | 3e97d194f8920aa567177b0213a47bd8824f2ab7 (patch) | |
tree | 8a7bbefa6ced1a26fe67e681c6fffe8d230f0219 /meta/recipes-sato | |
parent | 49b4df1b0cf01ef7e07ece3bbbc8b7d29d839cc9 (diff) | |
download | poky-3e97d194f8920aa567177b0213a47bd8824f2ab7.tar.gz |
matchbox-panel-2: remove dangling patch
(From OE-Core rev: 9b2f4dc36e9495447546d1257385e2fc8fc051b6)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/matchbox-panel-2/files/0001-showdesktop-Make-sure-active-state-is-initialized.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/meta/recipes-sato/matchbox-panel-2/files/0001-showdesktop-Make-sure-active-state-is-initialized.patch b/meta/recipes-sato/matchbox-panel-2/files/0001-showdesktop-Make-sure-active-state-is-initialized.patch deleted file mode 100644 index 3bab6d292d..0000000000 --- a/meta/recipes-sato/matchbox-panel-2/files/0001-showdesktop-Make-sure-active-state-is-initialized.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From a0b5fca04da208990f3c40e65dbb045da4cdb35e Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Sun, 20 Mar 2016 13:24:37 +0200 | ||
4 | Subject: [PATCH] showdesktop: Make sure active state is initialized | ||
5 | |||
6 | There are cases (in qemu at least) where set_active() | ||
7 | is never called on startup. Make sure we initialize the active | ||
8 | state so the icon gets loaded and the applet is not confused | ||
9 | about the current state. | ||
10 | |||
11 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
12 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
13 | |||
14 | |||
15 | Upstream-Status: Backport | ||
16 | --- | ||
17 | applets/showdesktop/showdesktop.c | 10 ++++++++++ | ||
18 | 1 file changed, 10 insertions(+) | ||
19 | |||
20 | diff --git a/applets/showdesktop/showdesktop.c b/applets/showdesktop/showdesktop.c | ||
21 | index 61dd5c2..33c13e1 100644 | ||
22 | --- a/applets/showdesktop/showdesktop.c | ||
23 | +++ b/applets/showdesktop/showdesktop.c | ||
24 | @@ -181,6 +181,12 @@ button_clicked_cb (GtkButton *button, | ||
25 | &xev); | ||
26 | } | ||
27 | |||
28 | +static void | ||
29 | +realize_cb (GtkWidget *button, ShowDesktopApplet *applet) | ||
30 | +{ | ||
31 | + sync_applet (applet); | ||
32 | +} | ||
33 | + | ||
34 | G_MODULE_EXPORT GtkWidget * | ||
35 | mb_panel_applet_create (const char *id, | ||
36 | GtkOrientation orientation) | ||
37 | @@ -216,6 +222,10 @@ mb_panel_applet_create (const char *id, | ||
38 | "clicked", | ||
39 | G_CALLBACK (button_clicked_cb), | ||
40 | applet); | ||
41 | + g_signal_connect (button, | ||
42 | + "realize", | ||
43 | + G_CALLBACK (realize_cb), | ||
44 | + applet); | ||
45 | |||
46 | g_object_weak_ref (G_OBJECT (button), | ||
47 | (GWeakNotify) show_desktop_applet_free, | ||
48 | -- | ||
49 | 2.7.0 | ||
50 | |||