summaryrefslogtreecommitdiffstats
path: root/src/toolbars/navigation/history-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbars/navigation/history-button.c')
-rw-r--r--src/toolbars/navigation/history-button.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/toolbars/navigation/history-button.c b/src/toolbars/navigation/history-button.c
index 63736f7..53fe0ac 100644
--- a/src/toolbars/navigation/history-button.c
+++ b/src/toolbars/navigation/history-button.c
@@ -24,6 +24,8 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include "../../i18n.h"
+
struct _MqHistoryButton {
GtkToolButton parent_instance;
};
@@ -51,11 +53,12 @@ mq_history_button_init(MqHistoryButton *history_button)
gtk_tool_button_set_icon_widget(GTK_TOOL_BUTTON(history_button),
gtk_image_new_from_icon_name("document-open-recent",
GTK_ICON_SIZE_SMALL_TOOLBAR));
- gtk_tool_button_set_label(GTK_TOOL_BUTTON(history_button), "History");
+ gtk_tool_button_set_label(GTK_TOOL_BUTTON(history_button),
+ _("History"));
gtk_widget_set_can_focus(gtk_bin_get_child(GTK_BIN(history_button)),
FALSE);
gtk_widget_set_tooltip_text(GTK_WIDGET(history_button),
- "Show browsing history");
+ _("Show browsing history"));
gtk_widget_set_sensitive(GTK_WIDGET(history_button), FALSE); /*TODO*/
g_signal_connect(history_button, "clicked",
G_CALLBACK(clicked_cb), NULL);