summaryrefslogtreecommitdiffstats
path: root/src/ink-comboboxentry-action.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-08-16 08:20:16 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-08-16 08:20:16 +0000
commitb61db3c2d4c3d2fb497d62b4ddb3364031f5fdec (patch)
tree5fcd18179bd2d75c411027dcc19f4957b1b1ce2d /src/ink-comboboxentry-action.cpp
parentcode style (use NULL for pointers instead of 0) (diff)
downloadinkscape-b61db3c2d4c3d2fb497d62b4ddb3364031f5fdec.tar.gz
inkscape-b61db3c2d4c3d2fb497d62b4ddb3364031f5fdec.zip
Fix for 168164 : Font sizes in points option
(bzr r11608)
Diffstat (limited to 'src/ink-comboboxentry-action.cpp')
-rw-r--r--src/ink-comboboxentry-action.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ink-comboboxentry-action.cpp b/src/ink-comboboxentry-action.cpp
index ad9f775c4..869296f87 100644
--- a/src/ink-comboboxentry-action.cpp
+++ b/src/ink-comboboxentry-action.cpp
@@ -573,6 +573,17 @@ void ink_comboboxentry_action_popup_disable( Ink_ComboBoxEntry_Action* action )
action->entry_completion = 0;
}
}
+void ink_comboboxentry_action_set_tooltip( Ink_ComboBoxEntry_Action* action, const gchar* tooltip ) {
+
+ // Widget may not have been created....
+ if( action->entry ) {
+ gtk_widget_set_tooltip_text ( GTK_WIDGET(action->entry), tooltip);
+ }
+ if( action->combobox ) {
+ gtk_widget_set_tooltip_text ( GTK_WIDGET(action->combobox), tooltip);
+ }
+
+}
void ink_comboboxentry_action_set_warning( Ink_ComboBoxEntry_Action* action, const gchar* warning ) {