{"action":"created","issue":{"url":"https://api.github.com/repos/nmaier/mintrayr/issues/184","repository_url":"https://api.github.com/repos/nmaier/mintrayr","labels_url":"https://api.github.com/repos/nmaier/mintrayr/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/nmaier/mintrayr/issues/184/comments","events_url":"https://api.github.com/repos/nmaier/mintrayr/issues/184/events","html_url":"https://github.com/nmaier/mintrayr/issues/184","id":269919967,"number":184,"title":"Plasma 5.8.7 blank tray icon?","user":{"login":"JackDinn","id":5557560,"avatar_url":"https://avatars1.githubusercontent.com/u/5557560?v=4","gravatar_id":"","url":"https://api.github.com/users/JackDinn","html_url":"https://github.com/JackDinn","followers_url":"https://api.github.com/users/JackDinn/followers","following_url":"https://api.github.com/users/JackDinn/following{/other_user}","gists_url":"https://api.github.com/users/JackDinn/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDinn/subscriptions","organizations_url":"https://api.github.com/users/JackDinn/orgs","repos_url":"https://api.github.com/users/JackDinn/repos","events_url":"https://api.github.com/users/JackDinn/events{/privacy}","received_events_url":"https://api.github.com/users/JackDinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T11:11:42Z","updated_at":"2017-11-01T12:38:48Z","closed_at":null,"author_association":"NONE","body":"So I understand that thunderbird and its tray integration is really messed up on most linux distros and especially KDE. Iv really had to fudge all sorts of old addons and tweaks to try and get TB to minimize to tray, show a changed icon for new mail & raise TB on left click.\r\n\r\nIv got as close as im going to get using firetray and mintrayr.\r\n\r\nOnly problem is that mintrayr does not display a tray icon, it does create a space for the icon & it does raise the window with a left click, but its a blank icon?\r\n\r\nIv had a look through the code but i cant figure where the icon is set so i thought id ask here.\r\n\r\nhttps://i.imgur.com/HJJ7KIw.png\r\n\r\nCheers.\r\nMint 18.2\r\nplasma 5.8.7\r\nTB 52.4.0 (64-bit)"},"comment":{"url":"https://api.github.com/repos/nmaier/mintrayr/issues/comments/341094989","html_url":"https://github.com/nmaier/mintrayr/issues/184#issuecomment-341094989","issue_url":"https://api.github.com/repos/nmaier/mintrayr/issues/184","id":341094989,"user":{"login":"JackDinn","id":5557560,"avatar_url":"https://avatars1.githubusercontent.com/u/5557560?v=4","gravatar_id":"","url":"https://api.github.com/users/JackDinn","html_url":"https://github.com/JackDinn","followers_url":"https://api.github.com/users/JackDinn/followers","following_url":"https://api.github.com/users/JackDinn/following{/other_user}","gists_url":"https://api.github.com/users/JackDinn/gists{/gist_id}","starred_url":"https://api.github.com/users/JackDinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackDinn/subscriptions","organizations_url":"https://api.github.com/users/JackDinn/orgs","repos_url":"https://api.github.com/users/JackDinn/repos","events_url":"https://api.github.com/users/JackDinn/events{/privacy}","received_events_url":"https://api.github.com/users/JackDinn/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T12:38:48Z","updated_at":"2017-11-01T12:38:48Z","author_association":"NONE","body":"well took me a couple of days to figure why python build.py was throwing the error` Install path.py (via pip)` , but i found in your /build/build.py script you have \r\n`from path import path` \r\nBut it should be capital P in path\r\n`from path import Path`\r\nalso including everywhere the global \"path\" is used had to be changed.\r\n\r\nThat got the build.py working.\r\n\r\nI found what i believe the source of the tray icon is in a C file lib_unix/tray/tray.c\r\n\r\n> buf = gtk_window_get_icon(gtkWindow);\r\n>         if (buf) {\r\n>     gtk_status_icon_set_from_pixbuf(data->statusIcon, buf);\r\n>   }\r\n>   else if ((iconname = gtk_window_get_icon_name(gtkWindow)) != NULL) {\r\n>     gtk_status_icon_set_from_icon_name(data->statusIcon, iconname);\r\n>   }\r\n>   else {\r\n>     goto error_cleanup;\r\n>   }\r\n\r\nOnly problem i now have is to try any changes i suspect i need to use 'make' to compile the binaries but make crashes.\r\n\r\n`tray.c:11:21: fatal error: gtk/gtk.h: No such file or directory\r\ncompilation terminated.\r\nMakefile:17: recipe for target 'tray.o' failed\r\nmake: *** [tray.o] Error 1` \r\n\r\nI think i just dont have the right C libs installed but im right at the end of my ability now so any advice would be great.\r\n\r\nThx."}}
{"actor":{"display_login":"JackDinn"}}