{"id":408,"date":"2011-03-11T15:05:07","date_gmt":"2011-03-11T14:05:07","guid":{"rendered":"http:\/\/gnome\/gtk-meego-handset-week6"},"modified":"2011-03-11T15:05:07","modified_gmt":"2011-03-11T14:05:07","slug":"gtkmeego-handset-integration-week-6","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/carlosgc\/2011\/03\/11\/gtkmeego-handset-integration-week-6\/","title":{"rendered":"GTK+\/MeeGo Handset integration: Week 6"},"content":{"rendered":"<p><strong>GtkWidget::press-and-hold signal<\/strong><\/p>\n<p>It&#8217;s unclear to me whether we really need a new signal for this, or we can just synthesize right click events after the long press. So, I&#8217;ve <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=315645#c42\">reworked<\/a> the patch to do the latter, showing the same animation and sending a right click event only when the toucscreen mode is enabled (GtkSettings:gtk-touchscreen-mode). Instead of using the touchscreen setting, we could get the source device of the button press event to enable press-and-hold only when it&#8217;s originated by a stylus or the finger, but there&#8217;s not a GdkInputSource for the finger yet.<\/p>\n<p><strong>GtkEntry:placeholder-text<\/strong><\/p>\n<p><a href=\"http:\/\/blogs.gnome.org\/otte\">Company<\/a> reviewed my patch and pointed out that we could use a single pango layout instead of having one for the main entry text and another one for the hint text. Both texts are never shown at the same time, so it should be possible to use a single pango layout. He also proposed to rename it to placeholder-text, which is the name used in maemo indeed. So, I <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=440963#c42\">rewrote the patch<\/a> addressing both issues.<\/p>\n<p><a href=\"http:\/\/blogs.igalia.com\/apinheiro\">API<\/a> also <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=440963#c41\">commented on the bug<\/a> regarding the GailEntry patch. In order to make sure the placeholder text is always available for the a11y system, no matter whether there&#8217;s a tooltip text or not, <a href=\"http:\/\/blogs.igalia.com\/apinheiro\">API<\/a> suggested to use the AtkObject attributes instead of the description, adding a new attribute for the placeholder text. I <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=440963#c43\">reworked the GailEntry patch<\/a> to do exactly that.<\/p>\n<p><strong>Gtk Meeting<\/strong><\/p>\n<p>During the <a href=\"https:\/\/mail.gnome.org\/archives\/gtk-devel-list\/2011-March\/msg00027.html\">GTK+ meeting<\/a> I proposed to include all the bugs of this project into the list of <a href=\"https:\/\/bugzilla.gnome.org\/buglist.cgi?quicksearch=target:3.2+product:gtk+\">bugs targeted for 3.2<\/a>. <a href=\"http:\/\/blogs.fedoraproject.org\/wp\/mclasen\">Matthias<\/a> has already <a href=\"http:\/\/git.gnome.org\/browse\/gtk+\/log\/?h=gtk-3-0\">branched<\/a> so master branch is now open for new stuff.<\/p>\n<p><strong>Next week<\/strong><\/p>\n<p>I&#8217;ll be on <a href=\"http:\/\/sierranevada.es\/\">vacation<\/a> for the whole week \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GtkWidget::press-and-hold signal It&#8217;s unclear to me whether we really need a new signal for this, or we can just synthesize right click events after the long press. So, I&#8217;ve reworked the patch to do the latter, showing the same animation &hellip; <a href=\"https:\/\/blogs.igalia.com\/carlosgc\/2011\/03\/11\/gtkmeego-handset-integration-week-6\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[15],"class_list":["post-408","post","type-post","status-publish","format-standard","hentry","category-gnome","category-igalia","tag-gtk"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}