922 |
return name_editor; |
return name_editor; |
923 |
} |
} |
924 |
|
|
925 |
|
TopicEditor * |
926 |
|
app_transcript_get_topic_editor (AppTranscript *tx) |
927 |
|
{ |
928 |
|
TopicEditor *te = |
929 |
|
g_object_get_qdata (G_OBJECT (tx), |
930 |
|
app_transcript_topic_editor_quark ()); |
931 |
|
if (te) { |
932 |
|
gtk_window_present (GTK_WINDOW (te)); |
933 |
|
return te; |
934 |
|
} |
935 |
|
|
936 |
|
te = topic_editor_new (tx); |
937 |
|
|
938 |
|
g_object_set_qdata_full (G_OBJECT (tx), |
939 |
|
app_transcript_topic_editor_quark (), |
940 |
|
te, (GDestroyNotify) gtk_object_destroy); |
941 |
|
|
942 |
|
gtk_widget_show_all (GTK_WIDGET (te)); |
943 |
|
return te; |
944 |
|
} |
945 |
|
|
946 |
static void |
static void |
947 |
_t_calc_text_tags (GtkAdjustment *adj, AppTranscript *tx) |
_t_calc_text_tags (GtkAdjustment *adj, AppTranscript *tx) |
948 |
{ app_ip_calc_text_tags (tx->tagtable, adj->value); } |
{ app_ip_calc_text_tags (tx->tagtable, adj->value); } |