Permalink
Browse files

added tooltip text to color dropdown, whitespace fix

  • Loading branch information...
1 parent 83ce44b commit 9792696ad06056d78c49cf8742746df548c1e349 @scdwyer scdwyer committed May 20, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 sw/lib/ocaml/papget_renderer.ml
  2. +2 −0 sw/lib/ocaml/widgets.glade
View
2 sw/lib/ocaml/papget_renderer.ml
@@ -83,7 +83,7 @@ class canvas_text = fun ?(config=[]) canvas_group x y ->
size <- text_editor#spinbutton_size#value in
ignore (text_editor#spinbutton_size#connect#value_changed ~callback);
let callback = fun () ->
- color <- text_editor#comboboxentry_color#entry#text in
+ color <- text_editor#comboboxentry_color#entry#text in
ignore (text_editor#comboboxentry_color#connect#changed ~callback);
end
View
2 sw/lib/ocaml/widgets.glade
@@ -80,6 +80,8 @@
<child>
<widget class="GtkComboBoxEntry" id="comboboxentry_color">
<property name="visible">True</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip" translatable="yes">Colors defined in X11 rgb.txt</property>
<property name="items" translatable="yes">green
red
blue

0 comments on commit 9792696

Please sign in to comment.