Diff of /trunk/src/misc.c

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

revision 164 by harbaum, Tue Oct 20 13:25:04 2009 UTC revision 165 by harbaum, Sun Nov 8 20:32:55 2009 UTC
# Line 499  GtkWidget *link_icon_button_by_id(appdat Line 499  GtkWidget *link_icon_button_by_id(appdat
499    return icon;    return icon;
500  }  }
501    
502    /* left aligned, word wrapped multiline widget */
503    GtkWidget *simple_text_widget(char *text) {
504      GtkWidget *label = gtk_label_new(text);
505    
506      gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
507      gtk_label_set_line_wrap_mode(GTK_LABEL(label), PANGO_WRAP_WORD);
508      gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
509    
510      return label;
511    }

Legend:
Removed from v.164  
changed lines
  Added in v.165