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