[gedit] Don't use stock in the infobar
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Don't use stock in the infobar
- Date: Mon, 15 Jul 2013 16:08:53 +0000 (UTC)
commit 058afdfb3a9fb742e204a196601d1f12f57fa0dd
Author: William Jon McCann <william jon mccann gmail com>
Date: Mon Jul 15 08:49:27 2013 -0400
Don't use stock in the infobar
gedit/gedit-io-error-info-bar.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index d4da6bb..b15944d 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -151,9 +151,9 @@ create_io_loading_error_info_bar (const gchar *primary_text,
{
GtkWidget *info_bar;
- info_bar = gtk_info_bar_new_with_buttons (
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- NULL);
+ info_bar = gtk_info_bar_new_with_buttons (_("_Cancel"),
+ GTK_RESPONSE_CANCEL,
+ NULL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_ERROR);
@@ -499,7 +499,7 @@ create_conversion_error_info_bar (const gchar *primary_text,
}
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
- GTK_STOCK_CANCEL,
+ _("_Cancel"),
GTK_RESPONSE_CANCEL);
hbox_content = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
@@ -1194,7 +1194,7 @@ gedit_externally_modified_info_bar_new (GFile *location,
_("_Reload"),
GTK_RESPONSE_OK);
gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
- GTK_STOCK_CANCEL,
+ _("_Cancel"),
GTK_RESPONSE_CANCEL);
gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
GTK_MESSAGE_WARNING);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]