[gtranslator] Fixed bug using TM shortcuts (see bug #672079)
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Fixed bug using TM shortcuts (see bug #672079)
- Date: Sat, 31 Mar 2012 12:01:06 +0000 (UTC)
commit 2ad9aacea49367e929697ea73f13641250c7ce32
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Sat Mar 31 14:00:58 2012 +0200
Fixed bug using TM shortcuts (see bug #672079)
.../translation-memory/gtr-translation-memory-ui.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/translation-memory/gtr-translation-memory-ui.c b/plugins/translation-memory/gtr-translation-memory-ui.c
index fdb4600..e3c587a 100644
--- a/plugins/translation-memory/gtr-translation-memory-ui.c
+++ b/plugins/translation-memory/gtr-translation-memory-ui.c
@@ -128,7 +128,7 @@ showed_message_cb (GtrTab *tab, GtrMsg *msg, GtrTranslationMemoryUi *tm_ui)
GtkTreeViewColumn *level_column;
const gchar *msgid;
gint i = 1;
- gint j = 1;
+ gint j = 0;
gint k = 1;
GList *tm_list = NULL;
GList *l = NULL;
@@ -225,7 +225,7 @@ showed_message_cb (GtrTab *tab, GtrMsg *msg, GtrTranslationMemoryUi *tm_ui)
item_name);
gtk_menu_item_set_accel_path (GTK_MENU_ITEM (tm_item), accel_path);
- gtk_accel_map_add_entry (accel_path, GDK_KEY_0 + (j - 1), GDK_CONTROL_MASK);
+ gtk_accel_map_add_entry (accel_path, GDK_KEY_0 + (j), GDK_CONTROL_MASK);
g_free (accel_path);
g_free (item_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]