Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate

#sugar-newbies, 2010-09-23

 « Previous day | Index | Today | Next day »     Channels | Search | Join

All times shown according to UTC.

Time Nick Message
00:30 dfarning is now known as dfarning_afk
01:03 kevix has quit IRC
01:10 dfarning_afk is now known as dfarning
02:16 tabs has quit IRC
02:17 tabs <tabs!~Tabitha@> has joined #sugar-newbies
02:21 kevix <kevix!~kevin@pool-98-113-63-153.nycmny.fios.verizon.net> has joined #sugar-newbies
02:39 tabs has quit IRC
02:45 neeraj <neeraj!~chatzilla@> has joined #sugar-newbies
02:47 tabs <tabs!~Tabitha@> has joined #sugar-newbies
02:53 jimt_ <jimt_!~jim@> has joined #sugar-newbies
02:53 jimt has quit IRC
03:40 tabs has quit IRC
04:04 neeraj has quit IRC
05:14 alsroot_ is now known as alsroot
07:06 walterbender has quit IRC
07:33 MephistoM has left #sugar-newbies
10:54 silbe has quit IRC
12:29 shan <shan!~cuil@> has joined #sugar-newbies
12:58 shan has quit IRC
13:26 shan <shan!~cuil@> has joined #sugar-newbies
13:26 shan alsroot hi
13:26 alsroot shan: hi
13:27 shan i am currently working on http://bugs.sugarlabs.org/ticket/398
13:28 alsroot, regarding this i have tried to have the search feature as in the log activity
13:29 alsroot shan: yup, thats an option
13:31 manusheel_afk is now known as manusheel
13:31 shan alsroot, and since 'view source' should work on without log activity, i have tried copying all functions from logviewer.py to palettes.py
13:32 alsroot, all relevant
13:32 functions*
13:33 alsroot shan: but why to palettes? are you going to add search widget to the palette, maybe adding it to ViewSource window will make more sense
13:36 shan alsroot, yes you are right, i was actually thinking of adding it to the palette when the view source screen comes up.
13:37 alsroot shan: what about more regular way, i.e., add to ViewSource toolbar?
13:39 shan alsroot, there is some problem with my vmware, i will be right back
13:40 shan has quit IRC
13:44 shan <shan!~cuil@> has joined #sugar-newbies
13:44 shan alsroot, sorry about that am back
13:53 alsroot shan: so, why not adding search widget to toolbar like in Log activity?
13:58 shan the search box and the 'next' and 'back' icons are too big for the toolbar there, and i think that would hide 'View Source : Activity Name'.
13:58 alsroot, which is already present in the tollbar there.
14:00 toolbar* of View Source Window
14:03 alsroot shan: ok, btw did discuss it on sugar-devel@ (using [DESIGN] tag), would be useful to hear what designers think
14:05 shan alsroot, okay
14:24 anuragc <anuragc!~anurag@> has joined #sugar-newbies
14:32 ayushg <ayushg!~ayush@> has joined #sugar-newbies
14:43 manusheel shan: http://lists.sugarlabs.org/arc[…]ember/026595.html
14:46 ayushg has quit IRC
14:46 anuragc has quit IRC
14:51 anuragc <anuragc!~anurag@> has joined #sugar-newbies
14:51 ayushg <ayushg!~ayush@> has joined #sugar-newbies
15:15 masterguido <masterguido!be8743d2@gateway/web/freenode/ip.> has joined #sugar-newbies
15:18 masterguido Hi everybody! I'm programming an activity for XO but I have this problem: I want to share my activity when the user press a button. In that class I don't have the activity.Activity. How can I know yhe ide of this Activity?
15:34 alsroot masterguido: there is hello word activity for collab related code, http://git.sugarlabs.org/projects/hello-mesh/, also see actiivty guide http://en.flossmanuals.net/ActivitiesGuideSugar
15:35 ..there should info about creating collab activities
16:05 masterguido alsroot, Thank you, i will look at them
16:05 masterguido has quit IRC
16:14 satellit_ is now known as satellit_afk
16:34 anuragc has quit IRC
16:34 ayushg has quit IRC
16:44 shan alsroot, hi, i am still working on the same bug, #398, the problem is :: gtk has some properties required for gtksourceview, can that be done anyway?
16:46 alsroot shan: what properties you mean?
16:46 ayushg <ayushg!~ayush@> has joined #sugar-newbies
16:46 anuragc <anuragc!~anurag@> has joined #sugar-newbies
16:52 shan alsroot, providing same functionality as gtk.TextView.get_buffer() in gtksourceview
16:58 alsroot shan: I'm sure gtksourceview should have search highlighting functionality
16:58 ..which could be different to what Log is using
17:01 shan alsroot, yes that is the case, log uses gtk.TextView while in viewsource gtksourceview2 is used...
17:02 alsroot shan: gtksourceview is full featured thing for showing code and hightlight searched words is essential requirement
17:22 anuragc alsroot: how can we stop gtk.main() ?
17:22 alsroot anuragc: gtk.main_quit()
17:23 anuragc alsroot: but that is not working with me.. anything else?
17:24 alsroot anuragc: that should work, otherwise you are going to stop glib loop that was not started by gtk.main()
17:25 anuragc alsroot: and how do we stop the glib loop?
17:26 alsroot anuragc: http://library.gnome.org/devel[…]n-Event-Loop.html
17:26 anuragc alsroot: thanks
17:27 alsroot anuragc: read description to learn what glib loops are, http://library.gnome.org/devel[…]e-Main-Event-Loop.description
17:27 anuragc alsroot: sure
17:28 shan has quit IRC
17:34 ishan <ishan!~ishan@> has joined #sugar-newbies
17:48 neeraj <neeraj!~chatzilla@> has joined #sugar-newbies
17:48 neeraj #join #dextrose
17:48 oops !
17:56 anuragc alsroot: I have pasted my function for shutting down the sugar OS (at http://pastebin.com/MT2L9dNN) which shows the busy cursor upon pressing shutdown but the system never shutsdown and keeps playing the busy cursor.  Can you tell me why?
17:57 most probably its due to any incomplete gtk loop
17:59 ishan has quit IRC
17:59 neeraj anuragc: you have to reset it back to original state..
18:00 anuragc anuragc: reset the gtk process?
18:00 oops
18:00 neeraj: reset the gtk process?
18:03 neeraj anuragc: sorry. I interpreted it wrong. I thought you were saying that the busy cursor does n't go back to normal.
18:03 here you are facing a different problem.
18:03 anuragc anuragc:yes it seems like that
18:03 neeraj anuragc: can you tell me in which file you are making these changes?
18:04 alsroot anuragc: you code you start new(nest) main loop
18:04 ..in your code
18:04 anuragc neeraj: jarabe/view/buddymenu.py
18:21 ayushg alsroot: i am trying to use ConfirmationAlert  function from sugar.graphics.alert
18:21 alsroot: but for using it i also have to use add_alert() which should hv been inherited from sugar.graphics.window
18:22 anuragc has quit IRC
18:22 ayushg alsroot:but it show some error in shell for not being attributed in the class i hv been trying it to use in
18:23 alsroot:on explicitly using it by importing Window class from sugar.graphics.window
18:24 alsroot ayushg: could you pastebin error traceback
18:24 ayushg alsroot: sure
18:29 ayushg has quit IRC
18:41 ayush <ayush!~ayush@> has joined #sugar-newbies
18:41 ayush is now known as ayushg
18:44 ayushg alsroot: http://pastebin.com/6SGfcHLN
18:44 alsroot: this is the traceback
18:46 ayush_ <ayush_!~ayush@> has joined #sugar-newbies
18:46 manusheel ayush_: Hi Ayush.
18:46 Around?
18:47 ayush_ manusheel:Hello sir
18:47 manusheel ayush_: Did we test the busy cursor patch that I had send?
18:48 ayush_: Was the test successful?
18:48 ayush_ manusheel:Yes sir anurag is working on it he is able to display the busy icon
18:48 ayushg has quit IRC
18:48 ayush_ manusheel:but is having some problem with shutdown now
18:49 manusheel ayush_: Ok. What is the issue?
18:49 ayush_ is now known as ayushg
18:50 alsroot ayushg: well, traceback is obvious, you are trying to call add_alert for class not for class object
18:51 manusheel ayushg :^^
18:51 alsroot: Neat pointer.
18:54 ayushg: Can you send me the logs when you try doing shutdown?
18:55 ayushg alsroot: but in the error it is asking for windows instance as argument but in its definition as well in examples, self.add_alert(alert) should do the job
18:56 manusheel:sir anurag is not online ryt now he has gone to sleep so i cannot send u the logs
18:57 alsroot ayushg: anyway using self.<method> is more regular way, and BundleRegistry is not a child of Window
18:59 ayushg alsroot: but self.add_alert is giving an error that it is not attribute of Bundleregistry when i use it directly
18:59 alsroot ayushg: yup, because Bundleregistry is not a child of Window
18:59 ayushg alsroot: ok
19:00 alsroot ayushg: you need shell window instead of Bundleregistry
19:00 ayushg alsroot: and how should i use the shell window?
19:01 alsroot ayushg: btw for what reason you need to add alert?
19:02 ayushg alsroot: I am working on #2164 regarding  downgrading an activity for which u suggested to use Alert functions from sugar.graphics.alert
19:03 alsroot ayushg: so you can add alert to journal window, see journalactivity.get_journal()
19:03 ayushg alsroot: ok
19:03 alsroot: Thank you
19:03 alsroot yw
19:04 ayushg alsroot: this must be the window instance required
19:06 alsroot ayushg: yup it returns Window instance
19:07 ayushg alsroot: ok
19:08 manusheel ayushg: Did we get the alert box to render on the screen?
19:11 ayushg has quit IRC
19:36 ayush <ayush!~ayush@> has joined #sugar-newbies
19:38 ayush alsroot: i tried importing  journalactivity.get_journal() in bundleregistry.py but it is giving error there was no specific bug i can make out other than that journalactivity.py also imports bundleregistry.py
19:42 ayush has quit IRC
19:42 ayush <ayush!~ayush@> has joined #sugar-newbies
19:45 alsroot ayush: do it out of bundleregistry.py, btw it is wrong anyway, model should should not do any UI related stuff
19:48 ayush has quit IRC
20:01 jimt_ is now known as jimt
20:04 tabs <tabs!~Tabitha@60-234-149-159.bitstream.orcon.net.nz> has joined #sugar-newbies
20:08 neeraj has quit IRC
20:47 tabs has quit IRC
22:07 tabs <tabs!~Tabitha@60-234-149-159.bitstream.orcon.net.nz> has joined #sugar-newbies
22:48 kevix has quit IRC
22:58 kevix <kevix!~kevin@pool-98-113-63-153.nycmny.fios.verizon.net> has joined #sugar-newbies
23:41 satellit_afk is now known as satellit_

 « Previous day | Index | Today | Next day »     Channels | Search | Join

Powered by ilbot/Modified.