<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>&nbsp;</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>&nbsp;</DIV>
<DIV>But it attaches to the main window of my application.&nbsp; 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>&nbsp;</DIV>
<DIV>... or maybe I understood it all wrong (I’m reading hildon-home 
source).</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; 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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV>The predefined config file can be edited (thanks to thp for his "example" - 
he did it in gpodder)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Anyway, you need to add something like this to your debian/postinst</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>if ! grep -q "$NOTIFICATIONS_KEY" "$NOTIFICATIONS_CONF"; then</DIV>
<DIV>&nbsp;&nbsp;&nbsp; echo -n "Updating $NOTIFICATIONS_CONF..."</DIV>
<DIV>&nbsp;&nbsp;&nbsp; cat &gt;&gt;$NOTIFICATIONS_CONF &lt;&lt; EOF</DIV>
<DIV>&nbsp;</DIV>
<DIV>### BEGIN Added by sociality postinst ###</DIV>
<DIV>&nbsp;</DIV>
<DIV>[sociality-new-notifications]</DIV>
<DIV>Destination=Sociality</DIV>
<DIV>Icon=general_facebook</DIV>
<DIV>LED-Pattern=PatternCommonNotification</DIV>
<DIV>&nbsp;</DIV>
<DIV>### END Added by sociality postinst ###</DIV>
<DIV>&nbsp;</DIV>
<DIV>EOF</DIV>
<DIV>&nbsp;&nbsp;&nbsp; echo "done."</DIV>
<DIV>fi</DIV></SPAN>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>-- 
<DIV>Regards,</DIV>
<DIV>Mohammad Abu-Garbeyyeh</DIV></DIV>
<DIV><BR>On Jun 8, 2012, at 8:34 AM, "Naikel Aparicio" &lt;<A 
href="mailto:naikel@gmail.com">naikel@gmail.com</A>&gt; 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>&nbsp;</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>&nbsp;</DIV>
  <DIV>What I want is the notification bubble.&nbsp; Sadly anyway I just found 
  libhildon-plugins-notify-sv.so didn’t implement correctly the 
  org.freedesktop.Notifications notifications.&nbsp; 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.&nbsp; It’s not 
  customizable.&nbsp; 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>&nbsp;</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.&nbsp; 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>&nbsp;</DIV>
  <DIV>&nbsp;&nbsp;&nbsp; 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>&nbsp;</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>&nbsp;</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">&nbsp;</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>&nbsp;</P>
  <P style="TEXT-INDENT: 0px; MARGIN: 0px; -qt-block-indent: 0">Timo</P></DIV>
  <DIV>&nbsp;</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">&nbsp;</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.&nbsp; Using GLIB, it’s easy;&nbsp; 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">&nbsp;</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.&nbsp; 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">&nbsp;</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">&nbsp;</DIV></DIV>
  <DIV>
  <DIV 
  style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;&nbsp;&nbsp; 
  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">&nbsp;&nbsp;&nbsp; 
  Scorpius @ tmo</DIV></DIV></DIV></DIV></DIV>
  <DIV>&nbsp;</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>