r3000 - in trunk/src/target/OM-2007.2/applications/openmoko-browser2: . src

zecke at sita.openmoko.org zecke at sita.openmoko.org
Tue Sep 18 03:40:57 CEST 2007


Author: zecke
Date: 2007-09-18 03:40:56 +0200 (Tue, 18 Sep 2007)
New Revision: 3000

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-browser2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-browser2/src/open-pages-page.c
Log:
2007-09-17 Holger Hans Peter Freyther <zecke at selfish.org>

        Due the Gtk+ bug disable automatically switching pages. This
        will be reenabled once GtkTreeView, GtkTreeSelection is battled
        again.

        * src/open-pages-page.c:
        (selection_changed):


Modified: trunk/src/target/OM-2007.2/applications/openmoko-browser2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-browser2/ChangeLog	2007-09-18 01:40:53 UTC (rev 2999)
+++ trunk/src/target/OM-2007.2/applications/openmoko-browser2/ChangeLog	2007-09-18 01:40:56 UTC (rev 3000)
@@ -1,5 +1,14 @@
 2007-09-17  Holger Hans Peter Freyther  <zecke at selfish.org>
 
+        Due the Gtk+ bug disable automatically switching pages. This
+        will be reenabled once GtkTreeView, GtkTreeSelection is battled
+        again.
+
+        * src/open-pages-page.c:
+        (selection_changed):
+
+2007-09-17  Holger Hans Peter Freyther  <zecke at selfish.org>
+
         Implement to switch pages. Currently Gtk+ is broken and
         insists in changing the GtkTreeSelection and there is no
         working way to unselect the selection.

Modified: trunk/src/target/OM-2007.2/applications/openmoko-browser2/src/open-pages-page.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-browser2/src/open-pages-page.c	2007-09-18 01:40:53 UTC (rev 2999)
+++ trunk/src/target/OM-2007.2/applications/openmoko-browser2/src/open-pages-page.c	2007-09-18 01:40:56 UTC (rev 3000)
@@ -59,10 +59,8 @@
      * now find a page a BrowserPage
      */
     GList* element = g_list_find_custom(data->browserPages, page, (GCompareFunc)find_browser_page);
-    if (element) {
+    if (element)
         set_current_page ((struct BrowserPage*)element->data, data);
-        gtk_notebook_set_current_page (GTK_NOTEBOOK (data->mainNotebook), 0);
-    }
     
     g_object_unref (page);
 }





More information about the commitlog mailing list