[03:45] <robru> cyphermox, still need me to file that SRU? or did you get do it already?
[10:05] <Laney> mlankhorst: impressive
[10:05] <Laney> meanwhile i got some spds and spent a lot of time falling off / being scared that i would fall off
[11:54] <darkxst_> Laney, spds are the best ;)
[11:54] <darkxst_> I cant ride without them anymore ;)
[11:55] <darkxst_> mind you I can barely walk either after todays epic
[11:58] <bashrc> To display notifications should I be using pynotify in 13.04?
[12:58] <mlankhorst> Laney: ah I'm on a normal bike, my muscles are lagging behind my heart/lung machine though, I need to do more excercise at high near my limits :/
[13:33] <bashrc> Are pynotify and MessagingMenu mutually exclusive?
[14:59] <bashrc> Does anyone know if pynotify should be used on 13.04.  It seems to be somehow mutually exclusive with MessagingMenu.
[15:04] <bashrc> Is pynotify still relevant in 13.04, or am I just chasing something that's out of date again?
[15:18] <mitya57> bashrc: pynotify was deprecated long time ago :)
[15:18] <bashrc> heh
[15:18] <mitya57> you should use either libnotify via gobject-introspection or python-notify2
[15:18] <bashrc> so what is the new hotness?
[15:19] <bashrc> there is something called gi.repository in UnityMail
[15:19] <bashrc> but no documentation for it
[15:19] <mitya57> yeah, that's gobject-introspection
[15:20] <mitya57> https://live.gnome.org/GObjectIntrospection
[15:20] <bashrc> By looking at UnityMail and some chatlogs, I figured out how to implement the messaging menu, but initiating notoifications remains elusive
[15:21] <bashrc> https://wiki.ubuntu.com/MeetingLogs/devweek1208/libmessagingmenu
[15:21] <mitya57> notifications are very simple:
[15:21] <mitya57> from gi.repository import Notify
[15:21] <mitya57> n = Notify.Notification(title, text, icon)
[15:21] <mitya57> n.show()
[15:21] <mitya57> ... and that's all
[15:22] <bashrc> ok that looks easy
[15:22] <mitya57> you can use None if you don't need text or icon
[15:23] <mitya57> https://pypi.python.org/pypi/notify2 works in a very similar way, and it doesn't require a dependency on gobject-introspection
[15:23] <mitya57> (but it needs D-Bus instead)
[15:23] <bashrc> I've no idea what D-Bus is
[15:24] <mitya57> http://www.freedesktop.org/wiki/Software/dbus
[15:25] <bashrc> ok
[15:32] <bashrc> what are the icon types for Notify.Notification ?
[15:32] <bashrc> with pynotify I was using notification-message-email
[15:42] <mitya57> bashrc: it's icon name, string
[15:43] <mitya57> 'notification-message-email' should work
[15:44] <bashrc> ok
[15:47] <bashrc> are you sutre the function is Notify.Notification?
[15:48] <bashrc> *sure
[15:50] <bashrc> I'm getting an error which indicates that Notify.Notification takes 0 arguments
[15:51] <bashrc> TypeError
[15:54] <LeartS> Hi Guys. Could someone look and approve/disapprove this patch? https://code.launchpad.net/~andyrock/unity/fix-dnd-alttab
[15:55] <LeartS> It's a fix for bug 111939, 6 years old, fixed on metacity and mutter but not compiz / unity
[15:55] <ubot2`> Launchpad bug 111939 in unity (Ubuntu) "Alt-Tab - Not possible to alt-tab during a drag-and-drop operation" [Medium,In progress] https://launchpad.net/bugs/111939
[15:55] <ubot2`> Launchpad bug 6 in Launchpad itself ""next 10 entries" at bottom of page" [Medium,Invalid] https://launchpad.net/bugs/6
[15:56] <LeartS> poor ubot2` , he tought 6 was a bug :(
[15:59] <mitya57> bashrc: ah, sorry, you should use Notify.Notification.New(...)
[15:59] <mitya57> err, .new (lowercase)
[16:00] <bashrc> ok
[16:03] <bashrc> new Notify.Notification?  I just get an invalid syntax error
[16:03] <mitya57> LeartS: try asking on Monday on #ubuntu-unity, there will be more chance you'll find someone who can do that
[16:03] <mitya57> bashrc: Notify.Notification.new(...)
[16:03] <bashrc> ah, sorry
[16:04] <LeartS> ok mitya57, thanks :)
[16:05] <bashrc> "you must call notify_init() before showing"
[16:06] <mitya57> bashrc: ah, I forgot that you should call Notify.init(your_app_name) before anything else
[16:08] <bashrc> by jove I do believe it works.  Messaging menu and notifications.
[16:09] <bashrc> But, like Columbo, there just one more thing that's bothering me.  On the messaging menu when you select a mailbox entry is there a function which can be called based upon that event?
[16:10] <mitya57> bashrc: yes, for example unity-mail does self.mmapp.connect('activate-source', self.on_mm_item_clicked)
[16:11] <bashrc> ok.  And that applies to the mailboxes in addition to the server entry?
[16:13] <mitya57> bashrc: IIRC in libmessaging-menu there's no distinction between "server" and "client" entries — everything is called "sources"
[16:13] <bashrc> oh I see
[16:13] <mitya57> maybe larsu knows better
[16:14] <bashrc> So I think that covers the Unity integration. Thanks for your assistance.
[16:15] <mitya57> you are welcome
[17:46] <bashrc> Is there any programatic way to set a keyboard shortcut to open an application?  Can it be done in a .desktop file?
[18:39] <LeartS> bashrc: when the application is not running? I hope not..