summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch23
-rw-r--r--meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch43
-rw-r--r--meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.0.bb (renamed from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.6.bb)8
3 files changed, 36 insertions, 38 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch b/meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch
index 154f72d186..690deefc91 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch
+++ b/meta-xfce/recipes-xfce/xfce4-panel/files/0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch
@@ -17,27 +17,32 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
17Rebase for xfce4-panel 4.18.3. 17Rebase for xfce4-panel 4.18.3.
18 18
19Signed-off-by: Kai Kang <kai.kang@windriver.com> 19Signed-off-by: Kai Kang <kai.kang@windriver.com>
20
21Rebase for xfce4-panel 4.20.0.
22
23Signed-off-by: Kai Kang <kai.kang@windriver.com>
24
20--- 25---
21 plugins/windowmenu/windowmenu.c | 10 +++++----- 26 plugins/windowmenu/windowmenu.c | 10 +++++-----
22 1 file changed, 5 insertions(+), 5 deletions(-) 27 1 file changed, 5 insertions(+), 5 deletions(-)
23 28
24diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c 29diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
25index be7dea4..2f432b0 100644 30index 9a73f29..eab0547 100644
26--- a/plugins/windowmenu/windowmenu.c 31--- a/plugins/windowmenu/windowmenu.c
27+++ b/plugins/windowmenu/windowmenu.c 32+++ b/plugins/windowmenu/windowmenu.c
28@@ -262,7 +262,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin) 33@@ -266,7 +266,7 @@ window_menu_plugin_init (WindowMenuPlugin *plugin)
29 g_signal_connect (G_OBJECT (plugin->button), "toggled", 34 g_signal_connect (G_OBJECT (plugin->button), "toggled",
30 G_CALLBACK (window_menu_plugin_menu), plugin); 35 G_CALLBACK (window_menu_plugin_menu), plugin);
31 36
32- plugin->icon = gtk_image_new_from_icon_name ("user-desktop", GTK_ICON_SIZE_BUTTON); 37- plugin->icon = gtk_image_new_from_icon_name ("user-desktop", GTK_ICON_SIZE_BUTTON);
33+ plugin->icon = gtk_image_new_from_icon_name (NULL, GTK_ICON_SIZE_BUTTON); 38+ plugin->icon = gtk_image_new_from_icon_name (NULL, GTK_ICON_SIZE_BUTTON);
34 gtk_container_add (GTK_CONTAINER (plugin->button), plugin->icon); 39 gtk_container_add (GTK_CONTAINER (plugin->button), plugin->icon);
35 gtk_widget_show (plugin->icon); 40 gtk_widget_show (plugin->icon);
36 41 }
37@@ -695,19 +695,19 @@ window_menu_plugin_active_window_changed (WnckScreen *screen, 42@@ -706,19 +706,19 @@ window_menu_plugin_active_window_changed (XfwScreen *screen,
38 /* skip 'fake' windows */ 43 /* skip 'fake' windows */
39 type = wnck_window_get_window_type (window); 44 type = xfw_window_get_window_type (window);
40 if (type == WNCK_WINDOW_DESKTOP || type == WNCK_WINDOW_DOCK) 45 if (type == XFW_WINDOW_TYPE_DESKTOP || type == XFW_WINDOW_TYPE_DOCK)
41- goto show_desktop_icon; 46- goto show_desktop_icon;
42+ goto show_no_icon; 47+ goto show_no_icon;
43 48
@@ -45,8 +50,8 @@ index be7dea4..2f432b0 100644
45 } 50 }
46 else 51 else
47 { 52 {
48- show_desktop_icon: 53-show_desktop_icon:
49+ show_no_icon: 54+show_no_icon:
50 55
51 /* desktop is shown right now */ 56 /* desktop is shown right now */
52 icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (plugin)); 57 icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (plugin));
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch b/meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch
index 66a33c722a..dc2444193d 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch
+++ b/meta-xfce/recipes-xfce/xfce4-panel/files/0002-use-lxdm-to-replace-dm-tool.patch
@@ -13,41 +13,32 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13Rebase for xfce4-panel 4.18.3. 13Rebase for xfce4-panel 4.18.3.
14 14
15Signed-off-by: Kai Kang <kai.kang@windriver.com> 15Signed-off-by: Kai Kang <kai.kang@windriver.com>
16
17Rebase for xfce4-panel 4.20.0.
18
19Signed-off-by: Kai Kang <kai.kang@windriver.com>
20
16--- 21---
17 plugins/actions/actions.c | 8 ++++---- 22 plugins/actions/actions.c | 4 ++--
18 1 file changed, 4 insertions(+), 4 deletions(-) 23 1 file changed, 2 insertions(+), 2 deletions(-)
19 24
20diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c 25diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
21index e1f1fa7..440f430 100644 26index 5e58078..b16d38e 100644
22--- a/plugins/actions/actions.c 27--- a/plugins/actions/actions.c
23+++ b/plugins/actions/actions.c 28+++ b/plugins/actions/actions.c
24@@ -977,12 +977,12 @@ actions_plugin_actions_allowed (void) 29@@ -1054,11 +1054,11 @@ actions_plugin_actions_allowed (ActionsPlugin *plugin)
25 GError *error = NULL; 30 g_free (path);
31 }
26 32
27 /* check for commands we use */
28- path = g_find_program_in_path ("dm-tool"); 33- path = g_find_program_in_path ("dm-tool");
29+ path = g_find_program_in_path ("lxdm"); 34+ path = g_find_program_in_path ("lxdm");
30 if (path != NULL) 35 if (path != NULL)
31 PANEL_SET_FLAG (allow_mask, ACTION_TYPE_SWITCH_USER); 36 {
37 PANEL_SET_FLAG (allow_mask, ACTION_TYPE_SWITCH_USER);
38- plugin->switch_user_cmd = "dm-tool switch-to-greeter";
39+ plugin->switch_user_cmd = "lxdm -c USER_SWITCH";
40 }
32 else 41 else
33 { 42 {
34- /* check for gdmflexiserver if dm-tool is not present */
35+ /* check for gdmflexiserver if lxdm is not present */
36 g_free (path);
37 path = g_find_program_in_path ("gdmflexiserver");
38 if (path != NULL)
39@@ -1099,9 +1099,9 @@ actions_plugin_action_activate (GtkWidget *widget,
40 break;
41
42 case ACTION_TYPE_SWITCH_USER:
43- path = g_find_program_in_path ("dm-tool");
44+ path = g_find_program_in_path ("lxdm");
45 if (path != NULL)
46- succeed = g_spawn_command_line_async ("dm-tool switch-to-greeter", &error);
47+ succeed = g_spawn_command_line_async ("lxdm -c USER_SWITCH", &error);
48 else
49 succeed = g_spawn_command_line_async ("gdmflexiserver", &error);
50 g_free (path);
51-- 43--
522.8.1 442.8.1
53
diff --git a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.6.bb b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.0.bb
index acc05f13fe..250482d2aa 100644
--- a/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.18.6.bb
+++ b/meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.0.bb
@@ -2,7 +2,9 @@ SUMMARY = "Xfce4 Panel"
2SECTION = "x11" 2SECTION = "x11"
3LICENSE = "GPL-2.0-or-later" 3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee" 4LIC_FILES_CHKSUM = "file://COPYING;md5=26a8bd75d8f8498bdbbe64a27791d4ee"
5DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxml2 libwnck3 vala-native" 5DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxfce4windowing libxml2 \
6 libwnck3 vala-native \
7 "
6 8
7inherit xfce gtk-doc gobject-introspection features_check mime-xdg 9inherit xfce gtk-doc gobject-introspection features_check mime-xdg
8 10
@@ -14,9 +16,9 @@ SRC_URI += " \
14 file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \ 16 file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \
15 file://0002-use-lxdm-to-replace-dm-tool.patch \ 17 file://0002-use-lxdm-to-replace-dm-tool.patch \
16" 18"
17SRC_URI[sha256sum] = "21337161f58bb9b6e42760cb6883bc79beea27882aa6272b61f0e09d750d7c62" 19SRC_URI[sha256sum] = "ff33cd5f5d16c2193fe305f4878d82cd8d2feea92f2594bcd27b2b5c392d43b8"
18 20
19EXTRA_OECONF += "--disable-vala" 21EXTRA_OECONF += "--disable-vala GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen"
20 22
21python populate_packages:prepend() { 23python populate_packages:prepend() {
22 plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/') 24 plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')