[07:16] good eve' m'lady. [07:18] i was wondering about a bug i'm experiencing with xorg edgers and notify-osd last night and it was suggested to file a bug, i did the command to do this but for some reason or another it wasn't able to submit it. i did however find two occasions of the bug in launchpad though if anyone is willing to take a look? [07:20] i believe a developer responded and suggested downgrading to a version of pixman that was equivalent to maverick, however i'm running the lucid variation and i'm not sure if this is possible? did a search in synaptic for pixman and only found one thing but i don't think that was what i'm supposed to be looking for. ;S [07:21] and then someone i was talking to said they didn't know why i don't just disable notify-osd all together but i rather like having it active because i work in fullscreen for the most part and it's pretty handy to see when something is going on... [07:23] any help regarding this would be much appreciated... i'd hate to give up on it. [09:35] hello? [12:53] gord: thanks [13:08] mpt: Was it the Conservative office in Millbank which was trashed by students? [13:08] sense, it was the building generally, they were pretty unfocused [13:08] mpt: Did Canonical get any damage? [13:08] They started out attacking Millbank Tower itself, where we are, before realizing the Conservative HQ is next door [13:09] We got some smoke, that's all [13:09] Ah, ok. Fortunately not more. [13:10] Ah! There is already a paragraph about it on Wikipedia. === MacSlow is now known as MacSlow|lunch [13:55] sense: http://askubuntu.com/questions/11162/is-it-possible-to-alter-and-update-the-status-icon-of-a-running-indicator-applet [13:55] with a bounty too! === jorge is now known as jcastro === MacSlow|lunch is now known as MacSlow [14:35] tedg, hello, i'm the one that asked this question about updating indicator icons: http://askubuntu.com/questions/11162/is-it-possible-to-alter-and-update-the-status-icon-of-a-running-indicator-applet [14:36] tedg, i'm setting an icon (by name from the current theme), overwrite this icon with new information (which works), and try to re-set it (which doesn't). you think this is a bug? [14:37] i guess indicators are caching the icons.. and i think this is quite an abuse of the indicators :p [14:37] if it's a bug, how would the icon cache influence the situation? (i tried above with icon cache, with updating the icon cache after every icon overwrite, and without icon cache - no change) [14:38] note: i'm not affiliated with canonical, etc. [14:38] c10ud, it definitely is! [14:38] htorque, It seems that it should notice the file change. I thought that GTK did that for us, with theme changes. [14:38] c10ud, i just feel bad without my system applet in the panel [14:39] has it been removed? (i'm still on lucid) [14:40] i don't think there will be a possibility to add gnome-applets to unity's top panel [14:40] oh, right, unity.. [14:41] tedg, so it would rather be a gtk bug then? [14:42] htorque, Possibly. I'm curious if it's just watching the theme cache file, and waiting for that to update. [14:48] tedg, nope, it doesn't seem to be a problem with the theme cache file: if i start the indicator, i always see the last saved icon state - even with the cache file present. [14:49] htorque, Yeah, I was more thinking it was watching the cache file. Try updating the state, then touching the cache file. [14:54] tedg, touching or running update-icon-caches - no change [15:00] htorque, Hmm, okay. As a work around you could toggle between two. i.e., adjust one, switch to one, adjust two, switch to two, adjust one, etc. [15:05] tedg, already tried this and am hitting the same problem: the changed icons never show up. if you say it's currently not possible and might be a bug somewhere, than that's ok with me :) [15:05] htorque, Yeah, it must be. Sorry :( [15:05] jcastro: Ah, a bounty! [15:05] tedg, thanks anyway! [15:06] jcastro: Ouch, that is such a painful way of solving this! [15:06] sense, yeah, i know :P [15:07] htorque: Ah, you asked the question. :) [15:07] sense, yes. i'm not even a programmer and i know that the way i try to do this is rather "painful" [15:39] tedg, a followup: i now created a simple gtk window with a gtk.toolbutton which sets its icon when clicked: btn.set_icon_name("indicator-messages-new"). i replaced the icon on disk between two clicks and the change was reflected (even with the theme cache file present) [15:53] htorque, Hmm, that's good, but means that it's probably entirely my fault :) [15:54] oh, i need to click the button for the change to happen - calling set_icon_name alone does nothing. so maybe it's rather my code's fault :o [15:55] do i need to force the indicator to redraw or something like that? [15:57] htorque, Hmm, I'm not sure how you'd do that. You could probably do it using the attention state. [15:59] woohoo, that seems to work [16:03] tedg, so now i don't have to explicitly re-set the icon. it's just setting the status to attention and back to active (both icons should be the same, else i see flickering). thanks a bunch! === Cimi__ is now known as Cimi === gabaug1 is now known as gabaug [20:41] Cimi: ping? How can I get a color of selection background in Gtk+ ? [20:41] gtk_style_lookup_color ? [20:41] (if so, what's the right name? :) ) [20:41] kklimonda: one sec [20:42] some parts of Gtk+ documentation are so useles.. [20:42] useless even* [20:42] GtkStyle * style; [20:42] style = gtk_widget_get_style (widget); [20:43] then [20:43] if you want colors to use them easily with cairo [20:44] you could create a struct [20:44] typedef struct [20:44] 86{ [20:44] 87 double r; [20:44] 88 double g; [20:44] 89 double b; [20:44] ops [20:44] without the numbers [20:44] no problem, I can still parse it :) [20:44] mmm let me write the code for you [20:44] isn't this struct similar to Gdk.Color ? [20:45] it has r, g, b instead of red, green, blue so no.. [20:46] mmm maybe gdk.color is new in gtk+3 [20:46] mmm no, gdkcolor is 0 - 65536 iirc [20:48] bah, something has to be broken if something that simple is not ;) [20:51] http://pastebin.ca/1988460 kklimonda [20:53] thanks [20:53] yw [21:23] bah, my text isn't pixel perfect :/ [22:19] Cimi: where can I read how text alligning in Gtk+/Pango world works? [22:29] kklimonda: what do you mean? [22:32] Cimi: meh, my text is one pixel to the right.. and pango_layout_set_alignment do funny things. ;) [22:33] (what I'm trying to do is more or less duplicating indicator-messages counters) [22:37] http://pastebin.com/YTXh84vJ - the code looks like that and text isn't perfectly aligned (it's one pixel off on the left side) [22:43] maybe it's a matter of alignment [22:48] kklimonda: maybe affected by http://cairographics.org/FAQ/#sharp_lines ? [22:57] gabaug: I don't know, maybe I just should leave it for now - does text looks wrong inside balloons here: http://ubuntuone.com/p/OsI/ ? I'm not talking about balloons themselves, they are all over the place ;)