comparison pidgin/gtkprefs.c @ 28555:ba35d96b9440

Wordwrap just a little bit.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 04 Sep 2009 03:45:43 +0000
parents de93712181c1
children 18d299472a97
comparison
equal deleted inserted replaced
28554:de93712181c1 28555:ba35d96b9440
932 static GtkWidget * 932 static GtkWidget *
933 prefs_build_theme_combo_box(GtkListStore *store, const gchar *current_theme, gchar *type) 933 prefs_build_theme_combo_box(GtkListStore *store, const gchar *current_theme, gchar *type)
934 { 934 {
935 GtkCellRenderer *cell_rend; 935 GtkCellRenderer *cell_rend;
936 GtkWidget *combo_box; 936 GtkWidget *combo_box;
937 GtkTargetEntry te[3] = {{"text/plain", 0, 0},{"text/uri-list", 0, 1},{"STRING", 0, 2}}; 937 GtkTargetEntry te[3] = {
938 {"text/plain", 0, 0},
939 {"text/uri-list", 0, 1},
940 {"STRING", 0, 2}
941 };
938 942
939 g_return_val_if_fail(store != NULL && current_theme != NULL, NULL); 943 g_return_val_if_fail(store != NULL && current_theme != NULL, NULL);
940 944
941 combo_box = gtk_combo_box_new_with_model(GTK_TREE_MODEL(store)); 945 combo_box = gtk_combo_box_new_with_model(GTK_TREE_MODEL(store));
942 946
1088 GtkCellRenderer *rend; 1092 GtkCellRenderer *rend;
1089 GtkTreeViewColumn *col; 1093 GtkTreeViewColumn *col;
1090 GtkTreeSelection *sel; 1094 GtkTreeSelection *sel;
1091 GtkTreeRowReference *rowref; 1095 GtkTreeRowReference *rowref;
1092 GtkWidget *label; 1096 GtkWidget *label;
1093 GtkTargetEntry te[3] = {{"text/plain", 0, 0},{"text/uri-list", 0, 1},{"STRING", 0, 2}}; 1097 GtkTargetEntry te[3] = {
1098 {"text/plain", 0, 0},
1099 {"text/uri-list", 0, 1},
1100 {"STRING", 0, 2}
1101 };
1094 1102
1095 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE); 1103 ret = gtk_vbox_new(FALSE, PIDGIN_HIG_CAT_SPACE);
1096 gtk_container_set_border_width (GTK_CONTAINER (ret), PIDGIN_HIG_BORDER); 1104 gtk_container_set_border_width (GTK_CONTAINER (ret), PIDGIN_HIG_BORDER);
1097 1105
1098 label = gtk_label_new(_("Select a smiley theme that you would like to use from the list below. New themes can be installed by dragging and dropping them onto the theme list.")); 1106 label = gtk_label_new(_("Select a smiley theme that you would like to use from the list below."
1107 " New themes can be installed by dragging and dropping them onto the theme list."));
1099 1108
1100 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); 1109 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
1101 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 1110 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
1102 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); 1111 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
1103 1112