ailo_ | paultag: Im trying to figure out how to set a checkbutton checked without having that button send a signal. Is it possible? | 01:45 |
---|---|---|
ailo_ | I'm reading the gtk reference, but I can't find anything that would do that. | 01:46 |
paultag | ailo_: I think you can set it to checked with a call, what are you trying to do? | 01:48 |
paultag | ailo_: to check stuff that should be checked or something? | 01:48 |
ailo_ | paultag: Yeah, but I don't want the button to send a signal after it was checked. | 01:48 |
ailo_ | Just set in checked mode so to speak | 01:49 |
paultag | ailo_: I'm pretty sure you can do that | 01:49 |
paultag | ailo_: let me fire up some man pages | 01:49 |
paultag | moment | 01:49 |
ailo_ | paultag: Maybe I'm just going about it in the wrong way. I want to read settings and set the buttons accordingly. | 01:49 |
paultag | ailo_: yuppers | 01:50 |
paultag | ailo_: looks like it forces it's state | 01:57 |
paultag | ailo_: why not set button states before you hook up callbacks? | 01:57 |
paultag | the more I think about it, that's how I'd do it, I think | 01:57 |
ailo_ | Did you do any coding yet? My work today feels very hacky then anything. | 01:58 |
paultag | ailo_: yeah I started prototyping some of where I thought it will go, and I feel like it's hacky as well | 01:58 |
paultag | ailo_: I feel like most of this is becoming wrapped shell calls | 01:58 |
paultag | ailo_: so I'm thinking about it right now, I've got the code up | 01:58 |
ailo_ | Are you using subprocess? | 01:58 |
paultag | ailo_: I'm just going to wrap system(), screw it :) | 01:59 |
paultag | ailo_: anyway, it's ok | 02:00 |
paultag | ailo_: I think I have a good way to do most of this (in my head) | 02:00 |
ailo_ | paultag: Yeah, most of it is just installing/removing so far. Don't think there will be a realtime kernel. | 02:02 |
paultag | ailo_: damn. | 02:02 |
paultag | ailo_: anyway, yeah, we can just "batch" up actions in a queue, then push them all out and process them at once when we hit ok / apply | 02:02 |
ailo_ | I mean -realtime. -lowlatency I'm hoping will be in the repos, though | 02:02 |
ailo_ | That's what I figured, why I create a list of packages to be installed/removed | 02:03 |
ailo_ | I've been trying to figure out how to edit the audio.conf file. Still not piecing it together fully. | 02:04 |
ailo_ | And what is missing is check if user is in audio group | 02:04 |
paultag | ailo_: it's going to be a hack, for sure. Let's not kid ourselfs, it's going to be a hack! :) | 02:04 |
paultag | ailo_: we'll just find a way to get it done and do it, we've got 9 days till we *need* to be done | 02:05 |
paultag | :) | 02:05 |
paultag | I think doing a line-by-line read and replace might be the way to go | 02:05 |
paultag | we need only put a warning up on top that it might be upgefucked | 02:05 |
ailo_ | Yeah, we need to add some warnings here and there. First I thought we get the all the functions working, and that's why I think it would be nice if we have a working program within a few days | 02:07 |
paultag | aye | 02:07 |
paultag | we're honestly not that far | 02:07 |
ailo_ | I've been working on the packages thing. Memlock/audio.conf needs to be done, adding user to audio group, and finally running all commands in one single shell command. | 02:08 |
ailo_ | We need to ask for password, but only once | 02:09 |
paultag | truth | 02:09 |
ailo_ | paultag: If we drop the combobox for choosing a user we'll make it easier on ourself. Also, if no one know how to set what kernel to boot by default (-generic, -lowlatency) we can drop that too for now. | 02:31 |
ailo_ | What is left is just installing packages, adding the current user to audio group, adding audio.conf or reading memlock value from it(and editing it). | 02:32 |
ailo_ | I'm pretty close at finishing up the package install lists as well as syncing the buttons to that. | 02:33 |
ailo_ | paultag: We'll need to redesign the glade file a bit, by just copy/paste the controls a bit. | 02:35 |
ailo_ | paultag: I think I want to finish the program today, just that it will probably be ugly and in the worst case buggy. I thought if I do that, you can use that code if you want to or not. Also, since we won't have all the features present in the current glade file it makes more sence to have a one window app, so I will redesign the glade file today as well. What do you think? | 12:48 |
ailo_ | ScottL_: persia: Let's get the -lowlatency in. What's missing, guys? | 12:51 |
ScottL_ | i think that is between abogannia and persia at this time ailo_ | 13:43 |
ScottL_ | perhaps alessio is waiting for me to build the -lowlatency kernel myself as well, dunno? | 13:44 |
ailo_ | ScottL_: paultag: Again, a version with everything on one page. Do we need more features than this for this release? http://imagebin.org/138867 | 14:03 |
ailo_ | ScottL_: paultag: Will this do? http://imagebin.org/138870 | 14:27 |
ailo_ | Made it a little prettier | 14:27 |
ScottL_ | ailo_, the second one certainly looks prettier :) | 15:00 |
ScottL_ | ailo_, an explanation for "set ubuntu studio defaults" might be helpful to users | 15:00 |
ailo_ | Scott_: I will add popups for those. Also hitting accept or Ok will popup an explanation as to what is going to happen, and let the user decide to accept or not. | 15:01 |
ailo_ | After the app is done, I will create a wiki page for the controls | 15:01 |
ScottL_ | cool | 15:01 |
ailo_ | So, hitting help will open a browser to that page | 15:01 |
ScottL_ | ailo_, there is a page for the controls, you might want to update that one | 15:01 |
ScottL_ | but that is a very cool idea :) | 15:02 |
ailo_ | ScottL_: Ok, good. | 15:02 |
ScottL_ | ailo_, this is the page: https://help.ubuntu.com/community/UbuntuStudioControls | 15:11 |
ScottL_ | notice that i deprecated the old stuff, can you please do that for this as well? | 15:11 |
ScottL_ | if someone is running the LTS version then they would probably appreciate "current" information for their -controls | 15:11 |
ailo_ | ScottL: I'll have a look. I'll focus more on the wiki as soon as the -controls are out of the way. | 15:33 |
paultag | ailo_: that will do for sure | 16:17 |
paultag | ailo_: feeling good? | 16:18 |
ailo_ | paultag: I'm fine. You? | 16:18 |
paultag | ailo_: quite well, thanks. Feeling good about the code? | 16:19 |
ailo_ | paultag: It's ok. A little messy right now, but that's just because I'm not used to coding. | 16:20 |
ailo_ | I'll try to finish what I can and clean it up | 16:20 |
paultag | :) | 16:21 |
ailo_ | I was using tabs all the time. Seems to work, but isn't Python-like | 16:21 |
paultag | ailo_: I use tabs | 16:21 |
paultag | :) | 16:23 |
paultag | Now, time to see if this package rocks or not :) | 16:24 |
paultag | fluxbox is looking fly as all hell | 16:24 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!