Changeset 1848


Ignore:
Timestamp:
04/26/07 17:25:20 (6 years ago)
Author:
rob
Message:

Swich over to MokoScrolledPane?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007/applications/openmoko-appmanager/src/detail-area.c

    r1421 r1848  
    1818 *  @author Chaowei Song (songcw@fic-sh.com.cn) 
    1919 */ 
    20 #include <libmokoui/moko-details-window.h> 
     20#include <libmokoui/moko-scrolled-pane.h> 
    2121#include <string.h> 
    2222 
     
    3535  GtkWidget    *text; 
    3636  GtkWidget    *detail; 
    37   GtkWidget    *box; 
    38  
    39   detail = moko_details_window_new (); 
    40   box = moko_details_window_put_in_box (MOKO_DETAILS_WINDOW (detail)); 
     37 
     38  detail = moko_scrolled_pane_new (); 
    4139 
    4240  text = gtk_text_view_new (); 
     
    4644  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text), GTK_WRAP_WORD); 
    4745 
    48   gtk_container_add (GTK_CONTAINER (detail), text); 
     46  moko_scrolled_pane_pack (MOKO_SCROLLED_PANE (detail), text); 
    4947  application_manager_data_set_tvdetail (appdata, text); 
    5048 
Note: See TracChangeset for help on using the changeset viewer.