eaerth | good eve' m'lady. | 07:16 |
---|---|---|
eaerth | 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:18 |
eaerth | 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:20 |
eaerth | 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:21 |
eaerth | any help regarding this would be much appreciated... i'd hate to give up on it. | 07:23 |
eaerth | hello? | 09:35 |
czajkowski | gord: thanks | 12:53 |
sense | mpt: Was it the Conservative office in Millbank which was trashed by students? | 13:08 |
mpt | sense, it was the building generally, they were pretty unfocused | 13:08 |
sense | mpt: Did Canonical get any damage? | 13:08 |
mpt | They started out attacking Millbank Tower itself, where we are, before realizing the Conservative HQ is next door | 13:08 |
mpt | We got some smoke, that's all | 13:09 |
sense | Ah, ok. Fortunately not more. | 13:09 |
sense | Ah! There is already a paragraph about it on Wikipedia. | 13:10 |
=== MacSlow is now known as MacSlow|lunch | ||
jorge | sense: http://askubuntu.com/questions/11162/is-it-possible-to-alter-and-update-the-status-icon-of-a-running-indicator-applet | 13:55 |
jorge | with a bounty too! | 13:55 |
=== jorge is now known as jcastro | ||
=== MacSlow|lunch is now known as MacSlow | ||
htorque | 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:35 |
htorque | 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:36 |
c10ud | i guess indicators are caching the icons.. and i think this is quite an abuse of the indicators :p | 14:37 |
htorque | 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:37 |
c10ud | note: i'm not affiliated with canonical, etc. | 14:38 |
htorque | c10ud, it definitely is! | 14:38 |
tedg | htorque, It seems that it should notice the file change. I thought that GTK did that for us, with theme changes. | 14:38 |
htorque | c10ud, i just feel bad without my system applet in the panel | 14:38 |
c10ud | has it been removed? (i'm still on lucid) | 14:39 |
htorque | i don't think there will be a possibility to add gnome-applets to unity's top panel | 14:40 |
c10ud | oh, right, unity.. | 14:40 |
htorque | tedg, so it would rather be a gtk bug then? | 14:41 |
tedg | htorque, Possibly. I'm curious if it's just watching the theme cache file, and waiting for that to update. | 14:42 |
htorque | 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:48 |
tedg | htorque, Yeah, I was more thinking it was watching the cache file. Try updating the state, then touching the cache file. | 14:49 |
htorque | tedg, touching or running update-icon-caches - no change | 14:54 |
tedg | 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:00 |
htorque | 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 |
tedg | htorque, Yeah, it must be. Sorry :( | 15:05 |
sense | jcastro: Ah, a bounty! | 15:05 |
htorque | tedg, thanks anyway! | 15:05 |
sense | jcastro: Ouch, that is such a painful way of solving this! | 15:06 |
htorque | sense, yeah, i know :P | 15:06 |
sense | htorque: Ah, you asked the question. :) | 15:07 |
htorque | sense, yes. i'm not even a programmer and i know that the way i try to do this is rather "painful" | 15:07 |
htorque | 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:39 |
tedg | htorque, Hmm, that's good, but means that it's probably entirely my fault :) | 15:53 |
htorque | 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:54 |
htorque | do i need to force the indicator to redraw or something like that? | 15:55 |
tedg | htorque, Hmm, I'm not sure how you'd do that. You could probably do it using the attention state. | 15:57 |
htorque | woohoo, that seems to work | 15:59 |
htorque | 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! | 16:03 |
=== Cimi__ is now known as Cimi | ||
=== gabaug1 is now known as gabaug | ||
kklimonda | Cimi: ping? How can I get a color of selection background in Gtk+ ? | 20:41 |
kklimonda | gtk_style_lookup_color ? | 20:41 |
kklimonda | (if so, what's the right name? :) ) | 20:41 |
Cimi | kklimonda: one sec | 20:41 |
kklimonda | some parts of Gtk+ documentation are so useles.. | 20:42 |
kklimonda | useless even* | 20:42 |
Cimi | GtkStyle * style; | 20:42 |
Cimi | style = gtk_widget_get_style (widget); | 20:42 |
Cimi | then | 20:43 |
Cimi | if you want colors to use them easily with cairo | 20:43 |
Cimi | you could create a struct | 20:44 |
Cimi | typedef struct | 20:44 |
Cimi | 86{ | 20:44 |
Cimi | 87 double r; | 20:44 |
Cimi | 88 double g; | 20:44 |
Cimi | 89 double b; | 20:44 |
Cimi | ops | 20:44 |
Cimi | without the numbers | 20:44 |
kklimonda | no problem, I can still parse it :) | 20:44 |
Cimi | mmm let me write the code for you | 20:44 |
kklimonda | isn't this struct similar to Gdk.Color ? | 20:44 |
kklimonda | it has r, g, b instead of red, green, blue so no.. | 20:45 |
Cimi | mmm maybe gdk.color is new in gtk+3 | 20:46 |
Cimi | mmm no, gdkcolor is 0 - 65536 iirc | 20:46 |
kklimonda | bah, something has to be broken if something that simple is not ;) | 20:48 |
Cimi | http://pastebin.ca/1988460 kklimonda | 20:51 |
kklimonda | thanks | 20:53 |
Cimi | yw | 20:53 |
kklimonda | bah, my text isn't pixel perfect :/ | 21:23 |
kklimonda | Cimi: where can I read how text alligning in Gtk+/Pango world works? | 22:19 |
Cimi | kklimonda: what do you mean? | 22:29 |
kklimonda | Cimi: meh, my text is one pixel to the right.. and pango_layout_set_alignment do funny things. ;) | 22:32 |
kklimonda | (what I'm trying to do is more or less duplicating indicator-messages counters) | 22:33 |
kklimonda | 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:37 |
Cimi | maybe it's a matter of alignment | 22:43 |
gabaug | kklimonda: maybe affected by http://cairographics.org/FAQ/#sharp_lines ? | 22:48 |
kklimonda | 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 ;) | 22:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!