[libgnomekbd] Removed "Keyboard Layout" prefix from the preview dialog
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] Removed "Keyboard Layout" prefix from the preview dialog
- Date: Fri, 25 Feb 2011 01:16:54 +0000 (UTC)
commit fdc887cb775ef81c0590e40f8f83df5b401b7b1f
Author: Sergey V. Udaltsov <svu gnome org>
Date: Fri Feb 25 01:16:11 2011 +0000
Removed "Keyboard Layout" prefix from the preview dialog
https://bugzilla.gnome.org/show_bug.cgi?id=642903
libgnomekbd/gkbd-keyboard-drawing.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index f8fe56e..f9991ff 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -2567,10 +2567,7 @@ static void
gkbd_keyboard_drawing_dialog_set_layout_name (GtkWidget * dialog,
const gchar * layout_name)
{
- char title[128] = "";
- snprintf (title, sizeof (title), _("Keyboard Layout \"%s\""),
- layout_name);
- gtk_window_set_title (GTK_WINDOW (dialog), title);
+ gtk_window_set_title (GTK_WINDOW (dialog), layout_name);
g_object_set_data_full (G_OBJECT (dialog), "layout_name",
g_strdup (layout_name), g_free);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]