[14:56] <rigved> hi everyone. can anyone tell me what are the names of the various urgency levels in Notify.Urgency? I know one is LOW.
[15:16] <rigved> hi everyone. can anyone tell me what are the names of the various urgency levels in Notify.Urgency? I know one is LOW.
[15:20] <noodles775> rigved: hi - I don't know,and a quick search only shows me https://wiki.ubuntu.com/NotifyOSD
[15:21] <noodles775> (ie. 2 == critical)
[15:27] <rigved> noodles775: thanks! so, it LOW and CRITICAL are the two levels. i tested both. worked.
[16:07] <james_w> jml, a nice easy one if you have a couple of minutes: https://code.launchpad.net/~james-w/pkgme-binary/db-name-in-config/+merge/85150
[16:34] <jml> james_w: approved.
[16:34] <james_w> thanks
[17:20] <umpirsky> Hi everyone. I'm new in python, trying to create simple app, and I'm having trouble adding a simle dialog. I followed the pattern generated by quickly, but Glade is producing some problems, can someone help?
[17:20] <umpirsky> I posted question on http://askubuntu.com/questions/86466/custom-pygtk-dialog-with-glade
[17:24] <james_w> hi umpirsky
[17:27] <james_w> umpirsky, it looks like you need to define a catalog for glade to find your widget
[17:27] <james_w> I've put a couple of links on askubuntu, you can see if they help
[17:28] <umpirsky> Хи јамес, тханкс, цхецкинг..
[17:28] <umpirsky> Hi james, thanks, checking...
[17:30] <umpirsky> But where should I add this definition?
[17:31] <umpirsky> How come other dialogs in ubuntu template app created with quicky does not have one?
[17:31] <umpirsky> For example, preferences dialog.
[17:55] <umpirsky> Looks like implementing simple PyGTK dialog with Glade is a rocket science.
[18:12] <james_w> umpirsky, I'm guessing the other dialogs aren't defining custom widgets to include
[18:14] <umpirsky> james, run 'quickly create ubuntu-application foobar'
[18:14] <umpirsky> then quickly design
[18:15] <umpirsky> you will see 2 dialogs in Glade
[18:15] <umpirsky> About and Preferences
[18:15] <james_w> yes, but they aren't custom widgets
[18:15] <james_w> I might be using the wrong word
[18:16] <umpirsky> Check this http://imgur.com/UJ7VS
[18:16] <umpirsky> beside preferences_repository_notifier_dialog there is a clas sname
[18:17] <umpirsky> When I add my dialog, there is a GtkDialog instead my class name
[18:17] <umpirsky> And that is my problem
[18:17] <umpirsky> I'm spinning in circles
[18:17] <umpirsky> I ahve GtkDialog which does not work with my dialog class
[18:18] <umpirsky> or I have glade stucked if I change that by hand as I described on http://askubuntu.com/questions/86466/custom-pygtk-dialog-with-glade
[18:20] <umpirsky> And for example, if I have non custom GtkDialog, and I add button, and add signal in Glade for activate event, I can set object to my dialog which is og GtkDialog type and my custom class method is never called
[18:20] <umpirsky> I don't know if I explained it well :)
[18:21] <james_w> do you have a SaveProjectRepositoryNotifierDialog file?
[18:21] <umpirsky> Yes
[18:21] <james_w> SaveProjectRepositoryNotifierDialog.py I mean
[18:21] <umpirsky> Sure
[18:21] <umpirsky> Extends SaveProjectDialog which extends gtk.Dialog
[18:21] <umpirsky> same as preferences and about dialogs
[18:22] <umpirsky> But this glade XML file is not binded with it
[18:23] <umpirsky> in SaveProjectDialog constructor :
[18:23] <umpirsky> builder = get_builder('SaveProjectRepositoryNotifierDialog')
[18:23] <umpirsky> new_object = builder.get_object("save_project_dialog")
[18:23] <umpirsky> return new_object
[18:23] <james_w> do you have a data/ui/preferences_*.xml file ?
[18:23] <umpirsky> yes
[18:24] <james_w> you need one of those for your new dialog I expect
[18:25] <umpirsky> I have it
[18:25] <umpirsky> https://gist.github.com/1452702
[18:26] <umpirsky> How are those xml files connected to ui files?
[18:28] <umpirsky> Ah...sec...
[18:28] <umpirsky> Looks like ID was wrong
[18:28] <james_w> yeah, looks like generic_name has to be SaveProjectRepositoryNotifierDialog
[18:32] <umpirsky> That's right, save_project_repository_notifier_dialog.xml was wrong
[18:34] <umpirsky> Changed to https://gist.github.com/1452702
[18:34] <umpirsky> Now it looks ok in Glade
[18:34] <umpirsky> Shows SaveProjectRepositoryNotifierDialog class instead GtkDialog
[18:35] <umpirsky> But button activate event still does not work :(
[18:37] <umpirsky> BTW, this xml files should be created by hand?
[18:37] <umpirsky> I expected for Glade to create them on its own.
[18:38] <james_w> I don't know
[18:39] <james_w> you are hooking up to the event in SaveProjectRepositoryNotifierDialog.py ?