=== 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 | ||
robru | cyphermox, still need me to file that SRU? or did you get do it already? | 03:45 |
---|---|---|
=== 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 | ||
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 | 10:05 |
darkxst_ | Laney, spds are the best ;) | 11:54 |
darkxst_ | I cant ride without them anymore ;) | 11:54 |
darkxst_ | mind you I can barely walk either after todays epic | 11:55 |
bashrc | To display notifications should I be using pynotify in 13.04? | 11: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 :/ | 12:58 |
bashrc | Are pynotify and MessagingMenu mutually exclusive? | 13:33 |
=== tkamppeter_ is now known as tkamppeter | ||
bashrc | Does anyone know if pynotify should be used on 13.04. It seems to be somehow mutually exclusive with MessagingMenu. | 14:59 |
bashrc | Is pynotify still relevant in 13.04, or am I just chasing something that's out of date again? | 15:04 |
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:18 |
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:19 |
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:20 |
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:21 |
bashrc | ok that looks easy | 15:22 |
mitya57 | you can use None if you don't need text or icon | 15:22 |
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:23 |
mitya57 | http://www.freedesktop.org/wiki/Software/dbus | 15:24 |
bashrc | ok | 15:25 |
bashrc | what are the icon types for Notify.Notification ? | 15:32 |
bashrc | with pynotify I was using notification-message-email | 15:32 |
=== mlankhor1t is now known as mlankhorst | ||
mitya57 | bashrc: it's icon name, string | 15:42 |
mitya57 | 'notification-message-email' should work | 15:43 |
bashrc | ok | 15:44 |
bashrc | are you sutre the function is Notify.Notification? | 15:47 |
bashrc | *sure | 15:48 |
bashrc | I'm getting an error which indicates that Notify.Notification takes 0 arguments | 15:50 |
bashrc | TypeError | 15:51 |
LeartS | Hi Guys. Could someone look and approve/disapprove this patch? https://code.launchpad.net/~andyrock/unity/fix-dnd-alttab | 15:54 |
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:55 |
LeartS | poor ubot2` , he tought 6 was a bug :( | 15:56 |
mitya57 | bashrc: ah, sorry, you should use Notify.Notification.New(...) | 15:59 |
mitya57 | err, .new (lowercase) | 15:59 |
bashrc | ok | 16:00 |
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:03 |
LeartS | ok mitya57, thanks :) | 16:04 |
bashrc | "you must call notify_init() before showing" | 16:05 |
mitya57 | bashrc: ah, I forgot that you should call Notify.init(your_app_name) before anything else | 16:06 |
bashrc | by jove I do believe it works. Messaging menu and notifications. | 16:08 |
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:09 |
mitya57 | bashrc: yes, for example unity-mail does self.mmapp.connect('activate-source', self.on_mm_item_clicked) | 16:10 |
bashrc | ok. And that applies to the mailboxes in addition to the server entry? | 16:11 |
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:13 |
bashrc | So I think that covers the Unity integration. Thanks for your assistance. | 16:14 |
mitya57 | you are welcome | 16:15 |
=== VD is now known as Guest47623 | ||
=== mimico_ is now known as mimico | ||
bashrc | Is there any programatic way to set a keyboard shortcut to open an application? Can it be done in a .desktop file? | 17:46 |
=== attente_ is now known as attente | ||
=== Ursinha-afk is now known as Ursinha | ||
LeartS | bashrc: when the application is not running? I hope not.. | 18:39 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!