r2102 - in trunk/src/target/OM-2007/openmoko-libs: . libmokoui
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Wed May 30 12:05:10 CEST 2007
Author: thomas
Date: 2007-05-30 12:05:09 +0200 (Wed, 30 May 2007)
New Revision: 2102
Modified:
trunk/src/target/OM-2007/openmoko-libs/ChangeLog
trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c
Log:
* libmokoui/moko-finger-tool-box.c: (cb_configure): Remove use of
moko_application_get_style_pixmap_dir
Modified: trunk/src/target/OM-2007/openmoko-libs/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/ChangeLog 2007-05-30 09:28:23 UTC (rev 2101)
+++ trunk/src/target/OM-2007/openmoko-libs/ChangeLog 2007-05-30 10:05:09 UTC (rev 2102)
@@ -1,5 +1,10 @@
2007-05-30 Thomas Wood <thomas at openedhand.com>
+ * libmokoui/moko-finger-tool-box.c: (cb_configure): Remove use of
+ moko_application_get_style_pixmap_dir
+
+2007-05-30 Thomas Wood <thomas at openedhand.com>
+
* libmokoui/moko-application.c:
* libmokoui/moko-application.h:
Remove moko_application_get_style_pixmap_dir()
Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c 2007-05-30 09:28:23 UTC (rev 2101)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-finger-tool-box.c 2007-05-30 10:05:09 UTC (rev 2102)
@@ -231,9 +231,9 @@
if ( priv->rightArrowVisible )
{
-
+ /* FIXME: this really should be retrieved from the style */
if ( !priv->rightarrow_pixbuf )
- priv->rightarrow_pixbuf = gdk_pixbuf_new_from_file( g_build_filename( moko_application_get_style_pixmap_dir(), "btn_dialog_next.png", NULL ), NULL );
+ priv->rightarrow_pixbuf = gdk_pixbuf_new_from_file( gtk_rc_find_pixmap_in_path (gtk_settings_get_default (), NULL, "btn_dialog_next.png"), NULL);
guint rightarrow_w = gdk_pixbuf_get_width( priv->rightarrow_pixbuf );
guint rightarrow_h = gdk_pixbuf_get_height( priv->rightarrow_pixbuf );
More information about the commitlog
mailing list