aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-04 14:08:48 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-06-04 14:08:48 +0200
commit631d57ac88a927c31435bc654f4d9bc68555e390 (patch)
treeec84b57090731b59a690ef814e07a6c69396d4d5 /lib
parent71b279783975e3542e172e23b37583583cb2482b (diff)
downloadexperiment-player-631d57ac88a927c31435bc654f4d9bc68555e390.tar.gz
only save transcript widget font and colors if they have been changed (via keyfile or dialogs)
* so if they haven't been changed, the widget defaults are active (may depend on gtk theme and RC files) * currently it is not possible reset changed fonts/colors to the widget defaults (via the UI, the keyfile may be edited manually)
Diffstat (limited to 'lib')
-rw-r--r--lib/gtk-experiment-widgets/gtk-experiment-transcript.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gtk-experiment-widgets/gtk-experiment-transcript.c b/lib/gtk-experiment-widgets/gtk-experiment-transcript.c
index 0c2b373..4d0fd46 100644
--- a/lib/gtk-experiment-widgets/gtk-experiment-transcript.c
+++ b/lib/gtk-experiment-widgets/gtk-experiment-transcript.c
@@ -110,6 +110,7 @@ gtk_experiment_transcript_init(GtkExperimentTranscript *klass)
klass->priv->interactive_format.regexp = NULL;
klass->priv->interactive_format.attribs = NULL;
+ /** @todo It should be possible to reset font and colors (to widget defaults) */
klass->priv->menu = gtk_menu_new();
gtk_menu_attach_to_widget(GTK_MENU(klass->priv->menu),
GTK_WIDGET(klass), NULL);