Diff of /trunk/src/html.c

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

revision 140 by harbaum, Thu Oct 22 14:02:43 2009 UTC revision 226 by harbaum, Wed Dec 2 20:05:52 2009 UTC
# Line 424  GtkWidget *html_view(appdata_t *appdata, Line 424  GtkWidget *html_view(appdata_t *appdata,
424      gtk_text_view_set_editable(GTK_TEXT_VIEW(view), FALSE);      gtk_text_view_set_editable(GTK_TEXT_VIEW(view), FALSE);
425      gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(view), FALSE);      gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(view), FALSE);
426    
427        /* make this look nicer in fremantle and not just black-on-white */
428        /* just use the default style */
429    #ifdef USE_STACKABLE_WINDOW
430        /* in fremantle this is really tricky and we need to inherit the */
431        /* style from the topmost window in the stack */
432        HildonWindowStack *stack = hildon_window_stack_get_default();
433        GList *list = hildon_window_stack_get_windows(stack);
434        gtk_widget_set_style(view, GTK_WIDGET(list->data)->style);
435        g_list_free(list);
436    #else
437        gtk_widget_set_style(view, GTK_WIDGET(appdata->window)->style);
438    #endif
439    
440  #ifndef NO_COPY_N_PASTE  #ifndef NO_COPY_N_PASTE
441      g_signal_connect(G_OBJECT(view), "destroy",      g_signal_connect(G_OBJECT(view), "destroy",
442                       G_CALLBACK(on_destroy_textview), appdata);                       G_CALLBACK(on_destroy_textview), appdata);

Legend:
Removed from v.140  
changed lines
  Added in v.226