Diff of /trunk/src/html.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by harbaum, Sat Jun 20 11:44:14 2009 UTC revision 11 by harbaum, Fri Jun 26 12:24:24 2009 UTC
# Line 351  void html_copy_to_clipboard(appdata_t *a Line 351  void html_copy_to_clipboard(appdata_t *a
351  #endif  #endif
352    
353  /* panning a gtkhtml view currently doesn't work well */  /* panning a gtkhtml view currently doesn't work well */
354  #undef PANNABLE_HTML  #define PANNABLE_HTML
355    
356  #ifdef PANNABLE_HTML  #ifdef PANNABLE_HTML
357  /* eat the button events */  /* eat the button events */
# Line 419  GtkWidget *html_view(appdata_t *appdata, Line 419  GtkWidget *html_view(appdata_t *appdata,
419      GtkTextBuffer *buffer = gtk_text_buffer_new(NULL);      GtkTextBuffer *buffer = gtk_text_buffer_new(NULL);
420      gtk_text_buffer_set_text(buffer, text, strlen(text));      gtk_text_buffer_set_text(buffer, text, strlen(text));
421    
422  #ifndef USE_MAEMO  #ifndef USE_HILDON_TEXT_VIEW
423      view = gtk_text_view_new_with_buffer(buffer);      view = gtk_text_view_new_with_buffer(buffer);
424  #else  #else
425      view = hildon_text_view_new();      view = hildon_text_view_new();

Legend:
Removed from v.2  
changed lines
  Added in v.11