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