Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r3009 - in
      trunk/src/target/OM-2007.2/libraries/moko-gtk-engine: . src
      ([EMAIL PROTECTED])
   2. r3010 - in trunk/src/target/OM-2007.2/libraries/libmokoui2: .
      libmokoui ([EMAIL PROTECTED])
--- Begin Message ---
Author: mickey
Date: 2007-09-19 10:56:18 +0200 (Wed, 19 Sep 2007)
New Revision: 3009

Removed:
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/sato-utils.h
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.2.tmp
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.tmp
Log:
moko-gtk-engine: remove bogus files


Deleted: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/sato-utils.h
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/sato-utils.h       
2007-09-18 14:44:43 UTC (rev 3008)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/src/sato-utils.h       
2007-09-19 08:56:18 UTC (rev 3009)
@@ -1,29 +0,0 @@
-/*
- * moko-utils.c
- * This file is part of moko-engine
- *
- * Copyright (C) 2006,2007 - OpenedHand Ltd
- *
- * Originally from OpenedHand's Sato GTK+ Engine
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-
-#include <gtk/gtk.h>
-
-void moko_shade_colour (GdkColor *a, GdkColor *b, gdouble   k);
-

Deleted: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.2.tmp
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.2.tmp       
2007-09-18 14:44:43 UTC (rev 3008)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.2.tmp       
2007-09-19 08:56:18 UTC (rev 3009)
@@ -1,7 +0,0 @@
-* Import new OpenMoko GTK+ engine
---This line, and those below, will be ignored--
-
-A    .
---This line, and those below, will be ignored--
-
-A    .

Deleted: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.tmp
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.tmp 
2007-09-18 14:44:43 UTC (rev 3008)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/svn-commit.tmp 
2007-09-19 08:56:18 UTC (rev 3009)
@@ -1,4 +0,0 @@
-* Import new OpenMoko GTK+ engine
---This line, and those below, will be ignored--
-
-A    .




--- End Message ---
--- Begin Message ---
Author: chris
Date: 2007-09-19 11:47:48 +0200 (Wed, 19 Sep 2007)
New Revision: 3010

Modified:
   trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog
   
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c
Log:
        * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_refresh):
        Take the border-width property of the container into account when
        calculating if scroll-indicators should be visible


Modified: trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog   2007-09-19 
08:56:18 UTC (rev 3009)
+++ trunk/src/target/OM-2007.2/libraries/libmokoui2/ChangeLog   2007-09-19 
09:47:48 UTC (rev 3010)
@@ -1,3 +1,9 @@
+2007-09-19  Chris Lord  <[EMAIL PROTECTED]>
+
+       * libmokoui/moko-finger-scroll.c: (moko_finger_scroll_refresh):
+       Take the border-width property of the container into account when
+       calculating if scroll-indicators should be visible
+
 2007-09-17  Thomas Wood <[EMAIL PROTECTED]>
 
        * configure.ac:

Modified: 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c
===================================================================
--- 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c  
    2007-09-19 08:56:18 UTC (rev 3009)
+++ 
trunk/src/target/OM-2007.2/libraries/libmokoui2/libmokoui/moko-finger-scroll.c  
    2007-09-19 09:47:48 UTC (rev 3010)
@@ -119,14 +119,16 @@
        GtkWidget *widget = GTK_BIN (priv->align)->child;
        gboolean vscroll, hscroll;
        GtkRequisition req;
+       guint border;
        
        if (!widget) return;
        
-       /* Calculate if we need scroll indicators */    
+       /* Calculate if we need scroll indicators */
+       border = gtk_container_get_border_width (GTK_CONTAINER (scroll));
        gtk_widget_size_request (widget, &req);
-       if (req.width > allocation->width) hscroll = TRUE;
+       if (req.width + (border * 2) > allocation->width) hscroll = TRUE;
        else hscroll = FALSE;
-       if (req.height > allocation->height) vscroll = TRUE;
+       if (req.height + (border * 2) > allocation->height) vscroll = TRUE;
        else vscroll = FALSE;
        
        /* TODO: Read ltr settings to decide which corner gets scroll




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to