summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-25 18:23:08 +0000
committerjstebbins <[email protected]>2014-02-25 18:23:08 +0000
commit0d059773392af25d4e86aeda2edf595cd6c5dd92 (patch)
tree4b80ec15d465054000ae887d8b97694c2550a713 /gtk/src/queuehandler.c
parentf2e0749bb43ec0f8fc420087100cdfcb2fb0ed59 (diff)
LinGui: remove cruft
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6084 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 385160e06..36094deb5 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -1763,55 +1763,27 @@ ghb_queue_buttons_grey(signal_user_data_t *ud)
if (show_stop)
{
gtk_widget_set_sensitive (widget, TRUE);
-#if GTK_CHECK_VERSION(2, 16, 0)
gtk_menu_item_set_label(GTK_MENU_ITEM(widget), _("S_top Queue"));
gtk_widget_set_tooltip_text(widget, _("Stop Encoding"));
-#else
- g_object_set_property(G_OBJECT(widget), "label",
- ghb_string_value(_("S_top Queue")));
- g_object_set_property(G_OBJECT(widget), "tooltip",
- ghb_string_value(_("Stop Encoding")));
-#endif
}
else
{
gtk_widget_set_sensitive (widget, show_start);
-#if GTK_CHECK_VERSION(2, 16, 0)
gtk_menu_item_set_label(GTK_MENU_ITEM(widget), _("_Start Queue"));
gtk_widget_set_tooltip_text(widget, _("Start Encoding"));
-#else
- g_object_set_property(G_OBJECT(widget), "label",
- ghb_string_value(_("_Start Queue")));
- g_object_set_property(G_OBJECT(widget), "tooltip",
- ghb_string_value(_("Start Encoding")));
-#endif
}
widget = GHB_WIDGET (ud->builder, "queue_pause_menu");
if (paused)
{
gtk_widget_set_sensitive (widget, show_start);
-#if GTK_CHECK_VERSION(2, 16, 0)
gtk_menu_item_set_label(GTK_MENU_ITEM(widget), "_Resume Queue");
gtk_widget_set_tooltip_text(widget, "Resume Encoding");
-#else
- g_object_set_property(G_OBJECT(widget), "label",
- ghb_string_value(_("_Resume Queue")));
- g_object_set_property(G_OBJECT(widget), "tooltip",
- ghb_string_value(_("Resume Encoding")));
-#endif
}
else
{
gtk_widget_set_sensitive (widget, show_stop);
-#if GTK_CHECK_VERSION(2, 16, 0)
gtk_menu_item_set_label(GTK_MENU_ITEM(widget), _("_Pause Queue"));
gtk_widget_set_tooltip_text(widget, _("Pause Encoding"));
-#else
- g_object_set_property(G_OBJECT(widget), "label",
- ghb_string_value(_("_Pause Queue")));
- g_object_set_property(G_OBJECT(widget), "tooltip",
- ghb_string_value(_("Pause Encoding")));
-#endif
}
}