diff options
author | jstebbins <[email protected]> | 2009-07-02 14:40:23 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-02 14:40:23 +0000 |
commit | 7e0203065275983cebe1ad685d14415f2dde7d6e (patch) | |
tree | 326f4adae1f752b5660718ceef9db8c0fc91ddba /gtk/src/queuehandler.c | |
parent | 3a895bbe29848224b45de3d71b3731495cf702a6 (diff) |
LinGui: tooltip and other text changes
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2655 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index f3640a9e7..c019f2125 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -1046,12 +1046,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_widget_set_sensitive (widget, TRUE); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-stop"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Stop"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Stop Encoding"); } else { gtk_widget_set_sensitive (widget, show_start); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-play"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Start"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Start Encoding"); } widget = GHB_WIDGET (ud->builder, "queue_start2"); if (show_stop) @@ -1059,12 +1061,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_widget_set_sensitive (widget, TRUE); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-stop"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Stop"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Stop Encoding"); } else { gtk_widget_set_sensitive (widget, show_start); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-play"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Start"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Start Encoding"); } widget = GHB_WIDGET (ud->builder, "queue_pause1"); if (paused) @@ -1072,12 +1076,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_widget_set_sensitive (widget, show_stop); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-play"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Resume"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Resume Encoding"); } else { gtk_widget_set_sensitive (widget, show_stop); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-pause"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Pause"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Pause Encoding"); } widget = GHB_WIDGET (ud->builder, "queue_pause2"); if (paused) @@ -1085,12 +1091,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_widget_set_sensitive (widget, show_stop); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-play"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Resume"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Resume Encoding"); } else { gtk_widget_set_sensitive (widget, show_stop); gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(widget), "hb-pause"); gtk_tool_button_set_label(GTK_TOOL_BUTTON(widget), "Pause"); + gtk_tool_item_set_tooltip_text(GTK_TOOL_ITEM(widget), "Pause Encoding"); } action = GHB_ACTION (ud->builder, "queue_start_menu"); @@ -1099,12 +1107,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_action_set_sensitive (action, TRUE); gtk_action_set_icon_name(action, "hb-stop"); gtk_action_set_label(action, "S_top Queue"); + gtk_action_set_tooltip(action, "Stop Encoding"); } else { gtk_action_set_sensitive (action, show_start); gtk_action_set_icon_name(action, "hb-play"); gtk_action_set_label(action, "_Start Queue"); + gtk_action_set_tooltip(action, "Start Encoding"); } action = GHB_ACTION (ud->builder, "queue_pause_menu"); if (paused) @@ -1112,12 +1122,14 @@ ghb_queue_buttons_grey(signal_user_data_t *ud) gtk_action_set_sensitive (action, show_start); gtk_action_set_icon_name(action, "hb-play"); gtk_action_set_label(action, "_Resume Queue"); + gtk_action_set_tooltip(action, "Resume Encoding"); } else { gtk_action_set_sensitive (action, show_stop); gtk_action_set_icon_name(action, "hb-pause"); gtk_action_set_label(action, "_Pause Queue"); + gtk_action_set_tooltip(action, "Pause Encoding"); } } |