<HTML><HEAD></HEAD>
<BODY dir=ltr bgColor=#ffffff>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>You guys are so awesome!!</DIV>
<DIV> </DIV>
<DIV>Using the conf file I could make the notifications stack together (using
Group) with custom icon and they also attach to a window!</DIV>
<DIV> </DIV>
<DIV>But it attaches to the main window of my application. It seems you
can set a hint (defined by Split-In-Threads) to assign different destinations
(different windows) but I wonder how can you set the different child windows
with those values...</DIV>
<DIV> </DIV>
<DIV>... or maybe I understood it all wrong (I’m reading hildon-home
source).</DIV>
<DIV> </DIV>
<DIV> Naikel</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=mohammad7410@gmail.com
href="mailto:mohammad7410@gmail.com">Mohammad Abu-Garbeyyeh</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 1:28 AM</DIV>
<DIV><B>To:</B> <A title=naikel@gmail.com href="mailto:naikel@gmail.com">Naikel
Aparicio</A> </DIV>
<DIV><B>Cc:</B> <A title=maemo-developers@maemo.org
href="mailto:maemo-developers@maemo.org">mailto:maemo-developers@maemo.org</A>
</DIV>
<DIV><B>Subject:</B> Re: GtkWidget* handler from QWidget</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>The predefined config file can be edited (thanks to thp for his "example" -
he did it in gpodder)</DIV>
<DIV> </DIV>
<DIV>Anyway, you need to add something like this to your debian/postinst</DIV>
<DIV> </DIV><SPAN
style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 11px; -webkit-text-size-adjust: none; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469)"
class=Apple-style-span>
<DIV># Add Sociality to the notification bubble settings</DIV>
<DIV>NOTIFICATIONS_CONF="/etc/hildon-desktop/notification-groups.conf"</DIV>
<DIV>NOTIFICATIONS_KEY="sociality-new-notifications"</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>if ! grep -q "$NOTIFICATIONS_KEY" "$NOTIFICATIONS_CONF"; then</DIV>
<DIV> echo -n "Updating $NOTIFICATIONS_CONF..."</DIV>
<DIV> cat >>$NOTIFICATIONS_CONF << EOF</DIV>
<DIV> </DIV>
<DIV>### BEGIN Added by sociality postinst ###</DIV>
<DIV> </DIV>
<DIV>[sociality-new-notifications]</DIV>
<DIV>Destination=Sociality</DIV>
<DIV>Icon=general_facebook</DIV>
<DIV>LED-Pattern=PatternCommonNotification</DIV>
<DIV> </DIV>
<DIV>### END Added by sociality postinst ###</DIV>
<DIV> </DIV>
<DIV>EOF</DIV>
<DIV> echo "done."</DIV>
<DIV>fi</DIV></SPAN>
<DIV> </DIV>
<DIV>Change all values to whatever you need, then use the key you defined in
your app's code.</DIV>
<DIV>The user might need to restart parts of hildon or just reboot, but it works
:)</DIV>
<DIV> </DIV>
<DIV>--
<DIV>Regards,</DIV>
<DIV>Mohammad Abu-Garbeyyeh</DIV></DIV>
<DIV><BR>On Jun 8, 2012, at 8:34 AM, "Naikel Aparicio" <<A
href="mailto:naikel@gmail.com">naikel@gmail.com</A>> wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>Not really.</DIV>
<DIV> </DIV>
<DIV>Those are the banners and notes, as you can see in screenshots in <A
href="http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-informationbox.html">http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-informationbox.html</A></DIV>
<DIV> </DIV>
<DIV>What I want is the notification bubble. Sadly anyway I just found
libhildon-plugins-notify-sv.so didn’t implement correctly the
org.freedesktop.Notifications notifications. Maemo will only attach the
notifications depending on the hint category to a predefined program, that is
Modest for email, Conversations for IM/chat, etc. It’s not
customizable. If you don’t set a category hint in your notification the
daemon simply ignores everything and shows a notification that is totally
useless with no sound, no LED alert, no vibration, no attachment to another
widget and most importantly: it never updates itself.</DIV>
<DIV> </DIV>
<DIV>That means if you write your own email client, you can’t create
notifications that are attached to it; if you set the category “email-message”
it will always be attached to modest. When I say “attach” is that the
notification belongs to the same widget and it doesn’t appear as a new window,
it appears as if it were the same window than the application that generated
it.</DIV>
<DIV> </DIV>
<DIV> Naikel</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=timop.harkonen@gmail.com
href="mailto:timop.harkonen@gmail.com">timop.harkonen@gmail.com</A> </DIV>
<DIV><B>Sent:</B> Friday, June 08, 2012 12:24 AM</DIV>
<DIV><B>To:</B> <A title=maemo-developers@maemo.org
href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</A> ; <A
title=naikel@gmail.com href="mailto:naikel@gmail.com">Naikel Aparicio</A>
</DIV>
<DIV><B>Subject:</B> Re: GtkWidget* handler from QWidget</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV id=fenix-user-content>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0">The maemo5
module has the notification stuff. Check if it does what you need</P>
<P
style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty"> </P>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0"><A
href="http://doc.qt.nokia.com/qt-maemo/qtmaemo5.html"><SPAN
style="COLOR: #0000ff; TEXT-DECORATION: underline">http://doc.qt.nokia.com/qt-maemo/qtmaemo5.html</SPAN></A></P>
<P
style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0; -qt-paragraph-type: empty"><FONT
size=2 face=Arial></FONT> </P>
<P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0">Timo</P></DIV>
<DIV> </DIV>
<DIV id=fenix-reply-header>
<P>Naikel Aparicio kirjoitti 8.6.2012 3:27:<BR></P></DIV>
<DIV id=fenix-quoted-body>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Arial'; COLOR: #000000; FONT-SIZE: 10pt">
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Question
to my fellow developers:</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">I
want to attach a Maemo native notification (those orange bubbles) to a
QWidget. Using GLIB, it’s easy; you call
notify_notification_attach_to_widget or add a hint with
“attach-widget”.</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">The
thing is in order</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">to
do that you need the GtkWidget* handler of the window, and all I got is a
QWidget. Is there a way do it?</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Thanks
in advance,</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"> </DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
Naikel Aparicio</DIV></DIV>
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
Scorpius @ tmo</DIV></DIV></DIV></DIV></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN>_______________________________________________</SPAN><BR><SPAN>maemo-developers
mailing list</SPAN><BR><SPAN><A
href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</A></SPAN><BR><SPAN><A
href="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</A></SPAN><BR></DIV></BLOCKQUOTE></DIV></DIV></DIV></BODY></HTML>