r1848 - trunk/src/target/OM-2007/applications/openmoko-appmanager/src
rob at sita.openmoko.org
rob at sita.openmoko.org
Thu Apr 26 17:25:20 CEST 2007
Author: rob
Date: 2007-04-26 17:25:20 +0200 (Thu, 26 Apr 2007)
New Revision: 1848
Modified:
trunk/src/target/OM-2007/applications/openmoko-appmanager/src/detail-area.c
Log:
Swich over to MokoScrolledPane.
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/detail-area.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/detail-area.c 2007-04-26 14:45:17 UTC (rev 1847)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/detail-area.c 2007-04-26 15:25:20 UTC (rev 1848)
@@ -17,7 +17,7 @@
*
* @author Chaowei Song (songcw at fic-sh.com.cn)
*/
-#include <libmokoui/moko-details-window.h>
+#include <libmokoui/moko-scrolled-pane.h>
#include <string.h>
#include "detail-area.h"
@@ -34,10 +34,8 @@
{
GtkWidget *text;
GtkWidget *detail;
- GtkWidget *box;
- detail = moko_details_window_new ();
- box = moko_details_window_put_in_box (MOKO_DETAILS_WINDOW (detail));
+ detail = moko_scrolled_pane_new ();
text = gtk_text_view_new ();
gtk_widget_show (text);
@@ -45,7 +43,7 @@
gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (text), FALSE);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text), GTK_WRAP_WORD);
- gtk_container_add (GTK_CONTAINER (detail), text);
+ moko_scrolled_pane_pack (MOKO_SCROLLED_PANE (detail), text);
application_manager_data_set_tvdetail (appdata, text);
return GTK_WIDGET (box);
More information about the commitlog
mailing list