Skip to content

Commit

Permalink
fix tint2 patch for launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
freamon committed Aug 11, 2013
1 parent 025fd95 commit 89794df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions recipes-graphics/openboxgui/tint2/tint2_update_launchers.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff -Naur a/src/config.c b/src/config.c
--- a/src/config.c 2013-07-28 00:08:53.627455489 +0100
+++ b/src/config.c 2013-07-28 00:10:40.535597977 +0100
@@ -583,7 +583,7 @@
--- a/src/config.c 2013-08-11 08:05:28.389665421 +0100
+++ b/src/config.c 2013-08-11 08:07:43.268139960 +0100
@@ -579,7 +579,7 @@
else if (strcmp(key, "launcher_icon_size") == 0) {
launcher_max_icon_size = atoi(value);
}
- else if (strcmp(key, "launcher_item_app") == 0) {
+ else if (strncmp(key, "launcher_item_app", 17) == 0) {
char *app = strdup(value);
panel_config.launcher.list_apps = g_slist_append(panel_config.launcher.list_apps, app);
}
- else if (strcmp(key, "launcher_icon_theme") == 0) {
+ else if (strncmp(key, "launcher_item_app", 17) == 0) {
// if XSETTINGS manager running, tint2 use it.
if (!icon_theme_name)
icon_theme_name = strdup(value);
2 changes: 1 addition & 1 deletion recipes-graphics/openboxgui/tint2_svn-r652.bb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEPENDS = "glib-2.0 imlib2"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

PR="r1"
PR="r2"

SRCREV = "r652"

Expand Down

0 comments on commit 89794df

Please sign in to comment.