aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@src.gnome.org>2007-08-10 18:23:08 +0800
committerJohnny Jacob <jjohnny@src.gnome.org>2007-08-10 18:23:08 +0800
commit93a1b30a56a529a95055e5397a3c64379a6720db (patch)
treeecb0a5e2026fdba75ecce6ac0ba40be2f18d54f2
parent12612097ba3d19e3c471152d8226caaa87d74989 (diff)
downloadgsoc2013-evolution-93a1b30a56a529a95055e5397a3c64379a6720db.tar.gz
gsoc2013-evolution-93a1b30a56a529a95055e5397a3c64379a6720db.tar.zst
gsoc2013-evolution-93a1b30a56a529a95055e5397a3c64379a6720db.zip
Fix for bug #428125 Added mnemonic for "Plain Text Mode" in preferences.
Fix for bug #428125 Added mnemonic for "Plain Text Mode" in preferences. svn path=/trunk/; revision=33978
-rw-r--r--plugins/prefer-plain/ChangeLog9
-rw-r--r--plugins/prefer-plain/prefer-plain.c4
2 files changed, 11 insertions, 2 deletions
diff --git a/plugins/prefer-plain/ChangeLog b/plugins/prefer-plain/ChangeLog
index c4fc6331c4..da61ef43d7 100644
--- a/plugins/prefer-plain/ChangeLog
+++ b/plugins/prefer-plain/ChangeLog
@@ -1,3 +1,12 @@
+2007-08-05 Johnny Jacob <jjohnny@novell.com>
+
+ * Committed on behalf of Anand V M <avmuttagi@gmail.com>
+
+ ** Fix for bug #428125
+
+ * prefer-plain.c: Added mnemonic for "Plain Text Mode" in
+ preferences
+
2007-04-02 Sankar P <psankar@novell.com>
* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index 6707f0924f..515645bbad 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -147,9 +147,9 @@ org_gnome_prefer_plain_config_mode(struct _EPlugin *epl, struct _EConfigHookItem
g_signal_connect(dropdown, "changed", G_CALLBACK(epp_mode_changed), NULL);
gtk_widget_show((GtkWidget *)dropdown);
- w = gtk_label_new(_("HTML Mode"));
+ w = gtk_label_new_with_mnemonic(_("HTML _Mode"));
gtk_widget_show(w);
-
+ gtk_label_set_mnemonic_widget(GTK_LABEL(w),(GtkWidget *)dropdown);
i = ((GtkTable *)data->parent)->nrows;
gtk_table_attach((GtkTable *)data->parent, w, 0, 1, i, i+1, 0, 0, 0, 0);
gtk_table_attach((GtkTable *)data->parent, (GtkWidget *)dropdown, 1, 2, i, i+1, GTK_FILL|GTK_EXPAND, 0, 0, 0);