338 } else if(type == UI_ICON) { |
338 } else if(type == UI_ICON) { |
339 GtkWidget *image = gtk_image_new(); |
339 GtkWidget *image = gtk_image_new(); |
340 gtk_list_item_set_child(item, image); |
340 gtk_list_item_set_child(item, image); |
341 } else { |
341 } else { |
342 GtkWidget *label = gtk_label_new(NULL); |
342 GtkWidget *label = gtk_label_new(NULL); |
|
343 gtk_label_set_xalign(GTK_LABEL(label), 0); |
343 gtk_list_item_set_child(item, label); |
344 gtk_list_item_set_child(item, label); |
344 } |
345 } |
345 } |
346 } |
346 |
347 |
347 static void column_factory_bind( GtkListItemFactory *factory, GtkListItem *item, gpointer userdata) { |
348 static void column_factory_bind( GtkListItemFactory *factory, GtkListItem *item, gpointer userdata) { |