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. r1443 - trunk/src/target/OM-2007/artwork/icons
([EMAIL PROTECTED])
2. r1444 - trunk/src/target/debug/input ([EMAIL PROTECTED])
3. r1445 - in trunk/src/host/dfu-util: . src
([EMAIL PROTECTED])
4. r1446 - trunk/oe/packages/openmoko-base ([EMAIL PROTECTED])
5. r1447 - trunk/oe/conf/distro/include ([EMAIL PROTECTED])
6. r1448 - trunk/oe/packages/tasks ([EMAIL PROTECTED])
7. r1449 - trunk/src/target/OM-2007/openmoko-libs/libmokoui
([EMAIL PROTECTED])
8. r1450 -
trunk/src/target/OM-2007/applications/openmoko-mainmenu/src
([EMAIL PROTECTED])
9. r1451 -
trunk/src/target/OM-2007/applications/openmoko-messages/src
([EMAIL PROTECTED])
--- Begin Message ---
Author: thomas
Date: 2007-03-20 17:58:37 +0100 (Tue, 20 Mar 2007)
New Revision: 1443
Added:
trunk/src/target/OM-2007/artwork/icons/AUTHORS
trunk/src/target/OM-2007/artwork/icons/COPYING
trunk/src/target/OM-2007/artwork/icons/ChangeLog
trunk/src/target/OM-2007/artwork/icons/NEWS
trunk/src/target/OM-2007/artwork/icons/README
Log:
* Add files required by autotools
Added: trunk/src/target/OM-2007/artwork/icons/AUTHORS
===================================================================
Added: trunk/src/target/OM-2007/artwork/icons/COPYING
===================================================================
Added: trunk/src/target/OM-2007/artwork/icons/ChangeLog
===================================================================
Added: trunk/src/target/OM-2007/artwork/icons/NEWS
===================================================================
Added: trunk/src/target/OM-2007/artwork/icons/README
===================================================================
--- trunk/src/target/OM-2007/artwork/icons/README 2007-03-20 16:42:36 UTC
(rev 1442)
+++ trunk/src/target/OM-2007/artwork/icons/README 2007-03-20 16:58:37 UTC
(rev 1443)
@@ -0,0 +1,10 @@
+OpenMoko Icon Theme
+===================
+
+This package contains the standard icon theme for OpenMoko.
+
+Please make sure you use appropriate filenames when adding icons to this
+package. See the icon naming specification[1] for more details.
+
+
+[1]
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 18:14:11 +0100 (Tue, 20 Mar 2007)
New Revision: 1444
Removed:
trunk/src/target/debug/input/input
Modified:
trunk/src/target/debug/input/input.c
Log:
debug-input: remove bogus binary
Deleted: trunk/src/target/debug/input/input
===================================================================
(Binary files differ)
Modified: trunk/src/target/debug/input/input.c
===================================================================
--- trunk/src/target/debug/input/input.c 2007-03-20 16:58:37 UTC (rev
1443)
+++ trunk/src/target/debug/input/input.c 2007-03-20 17:14:11 UTC (rev
1444)
@@ -47,7 +47,7 @@
}
if ( maxfd == -1 )
{
- g_debug( "can't open ANY input events -- aborting." );
+ g_debug( "can't open ANY input event nodes -- aborting." );
return -1;
}
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 18:39:52 +0100 (Tue, 20 Mar 2007)
New Revision: 1445
Modified:
trunk/src/host/dfu-util/configure.ac
trunk/src/host/dfu-util/src/Makefile.am
Log:
dfu-util: use pkg-config to check for libusb
Modified: trunk/src/host/dfu-util/configure.ac
===================================================================
--- trunk/src/host/dfu-util/configure.ac 2007-03-20 17:14:11 UTC (rev
1444)
+++ trunk/src/host/dfu-util/configure.ac 2007-03-20 17:39:52 UTC (rev
1445)
@@ -14,12 +14,15 @@
AC_PROG_CC
# Checks for libraries.
-AC_CHECK_LIB([usb], [usb_control_msg],,
- [AC_MSG_ERROR([libusb not found])] )
+PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
+ AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed
***]))
+LIBS="$LIBS $USB_LIBS"
+CFLAGS="$CFLAGS $USB_CFLAGS"
+
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([usb.h stdlib.h string.h stdio.h])
+AC_CHECK_HEADERS([stdlib.h string.h stdio.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
Modified: trunk/src/host/dfu-util/src/Makefile.am
===================================================================
--- trunk/src/host/dfu-util/src/Makefile.am 2007-03-20 17:14:11 UTC (rev
1444)
+++ trunk/src/host/dfu-util/src/Makefile.am 2007-03-20 17:39:52 UTC (rev
1445)
@@ -1,10 +1,9 @@
AM_CFLAGS = -Wall
bin_PROGRAMS = dfu-util dfu-util_static
dfu_util_SOURCES = main.c sam7dfu.c dfu.c dfu.h
-dfu_util_LDFLAGS = -lusb
dfu_util_static_SOURCES = main.c sam7dfu.c dfu.c dfu.h
-dfu_util_static_LDFLAGS = -static -lusb
+dfu_util_static_LDFLAGS = -static
# commands.c commands.h sam7dfu.c
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 18:53:17 +0100 (Tue, 20 Mar 2007)
New Revision: 1446
Added:
trunk/oe/packages/openmoko-base/openmoko-icon-theme-standard_svn.bb
Log:
oe: add recipe for openmoko-icon-theme
Added: trunk/oe/packages/openmoko-base/openmoko-icon-theme-standard_svn.bb
===================================================================
--- trunk/oe/packages/openmoko-base/openmoko-icon-theme-standard_svn.bb
2007-03-20 17:39:52 UTC (rev 1445)
+++ trunk/oe/packages/openmoko-base/openmoko-icon-theme-standard_svn.bb
2007-03-20 17:53:17 UTC (rev 1446)
@@ -0,0 +1,12 @@
+DESCRIPTION = "Standard Gtk+ icon theme for the OpenMoko distribution"
+SECTION = "openmoko/base"
+PV = "0.0+svn${SRCDATE}"
+PR = "r0"
+
+inherit openmoko-base autotools
+
+SRC_URI =
"${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=icons;proto=http"
+S = "${WORKDIR}/icons"
+
+PACKAGE_ARCH = "all"
+
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 18:53:55 +0100 (Tue, 20 Mar 2007)
New Revision: 1447
Modified:
trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
Log:
oe/conf: add openmoko-icon-theme-standard
Modified: trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
===================================================================
--- trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
2007-03-20 17:53:17 UTC (rev 1446)
+++ trunk/oe/conf/distro/include/preferred-openmoko-versions.inc
2007-03-20 17:53:55 UTC (rev 1447)
@@ -14,12 +14,14 @@
SRCDATE_linux-gta01-nobbt = "now"
SRCDATE_s3c2410-boot-usb-native = "now"
SRCDATE_sjf2410-linux-native = "now"
+SRCDATE_dfu-util = "now"
SRCDATE_dfu-util-native = "now"
SRCDATE_libgsmd = "now"
SRCDATE_openmoko-session = "now"
SRCDATE_openmoko-common = "now"
SRCDATE_openmoko-theme-standard = "now"
+SRCDATE_openmoko-icon-theme-standard = "now"
SRCDATE_openmoko-libs = "now"
#
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 18:54:41 +0100 (Tue, 20 Mar 2007)
New Revision: 1448
Modified:
trunk/oe/packages/tasks/task-openmoko.bb
Log:
oe/tasks: add openmoko-icon-theme to task-openmoko
Modified: trunk/oe/packages/tasks/task-openmoko.bb
===================================================================
--- trunk/oe/packages/tasks/task-openmoko.bb 2007-03-20 17:53:55 UTC (rev
1447)
+++ trunk/oe/packages/tasks/task-openmoko.bb 2007-03-20 17:54:41 UTC (rev
1448)
@@ -5,7 +5,7 @@
LICENSE = "MIT"
PROVIDES = "task-openmoko-everything"
DEPENDS = "dropbear"
-PR = "r29"
+PR = "r30"
PACKAGES = "\
task-openmoko-linux \
@@ -95,6 +95,7 @@
openmoko-common \
openmoko-session \
openmoko-theme-standard \
+ openmoko-icon-theme-standard \
# psplash \
"
--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-03-20 23:41:16 +0100 (Tue, 20 Mar 2007)
New Revision: 1449
Modified:
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-panel-applet.h
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
Log:
openmoko-libs/libmokoui: fix brackets in macros and clean up a bit. patch by
Holger 'Zecke' Freyther -- thanks!
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-wheel.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -26,7 +26,7 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_FINGER_WHEEL moko_finger_wheel_get_type()
+#define MOKO_TYPE_FINGER_WHEEL (moko_finger_wheel_get_type())
#define MOKO_FINGER_WHEEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_FINGER_WHEEL, MokoFingerWheel))
#define MOKO_FINGER_WHEEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MOKO_TYPE_FINGER_WHEEL, MokoFingerWheelClass))
#define MOKO_IS_FINGER_WHEEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_FINGER_WHEEL))
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-fixed.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -25,16 +25,11 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_FIXED moko_fixed_get_type()
-
+#define MOKO_TYPE_FIXED (moko_fixed_get_type())
#define MOKO_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_FIXED, MokoFixed))
-
#define MOKO_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MOKO_TYPE_FIXED, MokoFixedClass))
-
#define MOKO_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_FIXED))
-
#define MOKO_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
MOKO_TYPE_FIXED))
-
#define MOKO_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
MOKO_TYPE_FIXED, MokoFixedClass))
typedef struct {
Modified:
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-navigation-list.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -32,7 +32,7 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_NAVIGATION_LIST moko_navigation_list_get_type()
+#define MOKO_TYPE_NAVIGATION_LIST (moko_navigation_list_get_type())
#define MOKO_NAVIGATION_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_NAVIGATION_LIST, MokoNavigationList))
#define MOKO_NAVIGATION_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST
((klass), MOKO_TYPE_NAVIGATION_LIST, MokoNavigationListClass))
#define MOKO_IS_NAVIGATION_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_NAVIGATION_LIST))
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-panel-applet.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-panel-applet.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-panel-applet.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -41,7 +41,7 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_PANEL_APPLET moko_panel_applet_get_type()
+#define MOKO_TYPE_PANEL_APPLET (moko_panel_applet_get_type())
#define MOKO_PANEL_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_PANEL_APPLET, MokoPanelApplet))
#define MOKO_PANEL_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MOKO_TYPE_PANEL_APPLET, MokoPanelAppletClass))
#define MOKO_IS_PANEL_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_PANEL_APPLET))
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-pixmap-button.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -30,7 +30,7 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_PIXMAP_BUTTON moko_pixmap_button_get_type()
+#define MOKO_TYPE_PIXMAP_BUTTON (moko_pixmap_button_get_type())
#define MOKO_PIXMAP_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_PIXMAP_BUTTON, MokoPixmapButton))
#define MOKO_PIXMAP_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MOKO_TYPE_PIXMAP_BUTTON, MokoPixmapButtonClass))
#define MOKO_IS_PIXMAP_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_PIXMAP_BUTTON))
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
2007-03-20 17:54:41 UTC (rev 1448)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-tree-view.h
2007-03-20 22:41:16 UTC (rev 1449)
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
-#define MOKO_TYPE_TREE_VIEW moko_tree_view_get_type()
+#define MOKO_TYPE_TREE_VIEW (moko_tree_view_get_type())
#define MOKO_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
MOKO_TYPE_TREE_VIEW, MokoTreeView))
#define MOKO_TREE_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
MOKO_TYPE_TREE_VIEW, MokoTreeViewClass))
#define MOKO_IS_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
MOKO_TYPE_TREE_VIEW))
--- End Message ---
--- Begin Message ---
Author: zhiyong_sun
Date: 2007-03-21 02:00:18 +0100 (Wed, 21 Mar 2007)
New Revision: 1450
Modified:
trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/fingermenu.c
Log:
make figner wheel and toolbox show
Modified:
trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
2007-03-20 22:41:16 UTC (rev 1449)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/callbacks.c
2007-03-21 01:00:18 UTC (rev 1450)
@@ -40,17 +40,18 @@
current = moko_finger_menu_get_current_item (fm);
- if (current->type != ITEM_TYPE_ROOT)
- {
- current = mokodesktop_item_get_parent(current);
- moko_finger_menu_update_content (fm, current);
- }
- else
- {
- //gtk_window_iconify (GTK_WINDOW (mma->window));
- g_debug ("Call moko finger menu hide");
- moko_dbus_send_message ("");
- }
+ if (current->type != ITEM_TYPE_ROOT)
+ {
+ current = mokodesktop_item_get_parent(current);
+ moko_finger_menu_update_content (fm, current);
+ }
+ else
+ {
+ //gtk_window_iconify (GTK_WINDOW (mma->window));
+ moko_finger_menu_hide(fm);
+ g_debug ("Call moko finger menu hide");
+ moko_dbus_send_message ("");
+ }
}
Modified:
trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/fingermenu.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/fingermenu.c
2007-03-20 22:41:16 UTC (rev 1449)
+++ trunk/src/target/OM-2007/applications/openmoko-mainmenu/src/fingermenu.c
2007-03-21 01:00:18 UTC (rev 1450)
@@ -99,8 +99,8 @@
gtk_widget_show_all (self->mm);
//gtk_widget_show (GTK_WIDGET(self->window));
- // gtk_widget_show (GTK_WIDGET(self->toolbox));
- // gtk_widget_show (GTK_WIDGET(self->wheel));
+ gtk_widget_show (GTK_WIDGET(self->toolbox));
+ gtk_widget_show (GTK_WIDGET(self->wheel));
gtk_window_present (GTK_WINDOW (self->window));
}
@@ -108,13 +108,11 @@
void
moko_finger_menu_hide (MokoFingerMenu *self)
{
- if (!self)
- return;
- if (GTK_WIDGET_VISIBLE (GTK_WIDGET(self->window)))
- //gtk_widget_hide (GTK_WIDGET(self->window));
- //gtk_widget_hide (GTK_WIDGET(self->toolbox));
- //gtk_widget_hide (GTK_WIDGET(self->wheel));
- gtk_window_iconify (GTK_WINDOW (self->window));
+ if (!self)
+ return;
+
+ if (GTK_WIDGET_VISIBLE (GTK_WIDGET(self->window)))
+ gtk_window_iconify (GTK_WINDOW (self->window));
}
void
--- End Message ---
--- Begin Message ---
Author: alex_tang
Date: 2007-03-21 04:43:11 +0100 (Wed, 21 Mar 2007)
New Revision: 1451
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.h
trunk/src/target/OM-2007/applications/openmoko-messages/src/main.c
Log:
Fix gtk critical in detail area.
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
2007-03-21 01:00:18 UTC (rev 1450)
+++ trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.c
2007-03-21 03:43:11 UTC (rev 1451)
@@ -76,7 +76,7 @@
static void
detail_area_init (DetailArea *self)
{
- gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(self),
GTK_POLICY_NEVER, GTK_POLICY_NEVER );
+ gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(self),
GTK_POLICY_NEVER, GTK_POLICY_NEVER );
self->readAttributes = g_malloc (sizeof(ReadAttributes));
self->editAttributes = g_malloc (sizeof(EditAttributes));
@@ -88,8 +88,8 @@
//gtk_notebook_append_page
(self->notebook,detail_area_mode_membership(self),NULL);
gtk_notebook_set_show_tabs (self->notebook,FALSE);
gtk_notebook_set_show_border (self->notebook,FALSE);
- gtk_scrolled_window_add_with_viewport( GTK_SCROLLED_WINDOW(self),
GTK_WIDGET(self->notebook) );
-
+ //gtk_scrolled_window_add_with_viewport( GTK_SCROLLED_WINDOW(self),
GTK_WIDGET(self->notebook) );
+
}
GtkWidget* detail_area_new (void)
@@ -97,6 +97,10 @@
return GTK_WIDGET(g_object_new(TYPE_DETAIL_AREA, NULL ));
}
+GtkWidget* detail_area_get_notebook(DetailArea* self)
+{
+ return self->notebook;
+}
GtkWidget* detail_area_mode_edit (DetailArea* self)
{
/* create detail box */
Modified:
trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.h
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.h
2007-03-21 01:00:18 UTC (rev 1450)
+++ trunk/src/target/OM-2007/applications/openmoko-messages/src/detail-area.h
2007-03-21 03:43:11 UTC (rev 1451)
@@ -32,7 +32,7 @@
#define TYPE_DETAIL_AREA detail_area_get_type()
#define DETAIL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
TYPE_DETAIL_AREA, DetailArea))
-#define DETAIL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
DETAIL_AREA, DetailAreaClass))
+#define DETAIL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
TYPE_DETAIL_AREA, DetailAreaClass))
#define IS_DETAIL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
TYPE_DETAIL_AREA))
#define IS_DETAIL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
TYPE_DETAIL_AREA))
#define DETAIL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
TYPE_DETAIL_AREA, DetailAreaClass))
@@ -68,6 +68,7 @@
GType detail_area_get_type();
GtkWidget* detail_area_new(void);
+GtkWidget* detail_area_get_notebook(DetailArea* self);
void detail_new_sms (DetailArea* self);
void detail_read_message (DetailArea* self, message* msg);
Modified: trunk/src/target/OM-2007/applications/openmoko-messages/src/main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-messages/src/main.c
2007-03-21 01:00:18 UTC (rev 1450)
+++ trunk/src/target/OM-2007/applications/openmoko-messages/src/main.c
2007-03-21 03:43:11 UTC (rev 1451)
@@ -368,6 +368,7 @@
{
d->details = detail_area_new();
gtk_widget_show (d->details);
+ gtk_scrolled_window_add_with_viewport( GTK_SCROLLED_WINDOW(d->details),
detail_area_get_notebook(d->details));
moko_paned_window_set_lower_pane( d->window,
GTK_WIDGET(moko_details_window_put_in_box(d->details)));
}
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog