tomboy r1766 - in trunk: . Tomboy Tomboy/Addins/FileSystemSyncService Tomboy/Addins/SshSyncService Tomboy/Addins/WebDavSyncService
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1766 - in trunk: . Tomboy Tomboy/Addins/FileSystemSyncService Tomboy/Addins/SshSyncService Tomboy/Addins/WebDavSyncService
- Date: Sat, 12 Jan 2008 14:53:28 +0000 (GMT)
Author: sharm
Date: Sat Jan 12 14:53:28 2008
New Revision: 1766
URL: http://svn.gnome.org/viewvc/tomboy?rev=1766&view=rev
Log:
* Tomboy/PreferencesDialog.cs,
Tomboy/Addins/WebDavSyncService/WebDavSyncServiceAddin.cs,
Tomboy/Addins/FileSystemSyncService/FileSystemSyncServiceAddin.cs,
Tomboy/Addins/SshSyncService/SshSyncServiceAddin.cs: Added
mnemonics to sync preferences tab and associated widgets. Fixes
bug #501600. Patch courtesy of Alex Kloss.
Modified:
trunk/ChangeLog
trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncServiceAddin.cs
trunk/Tomboy/Addins/SshSyncService/SshSyncServiceAddin.cs
trunk/Tomboy/Addins/WebDavSyncService/WebDavSyncServiceAddin.cs
trunk/Tomboy/PreferencesDialog.cs
Modified: trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncServiceAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncServiceAddin.cs (original)
+++ trunk/Tomboy/Addins/FileSystemSyncService/FileSystemSyncServiceAddin.cs Sat Jan 12 14:53:28 2008
@@ -88,16 +88,17 @@
if (GetConfigSettings (out syncPath) == false)
syncPath = string.Empty;
- Label l = new Label (Catalog.GetString ("Folder Path:"));
+ Label l = new Label (Catalog.GetString ("_Folder Path:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 0, 1);
pathEntry = new Entry ();
pathEntry.Text = syncPath;
table.Attach (pathEntry, 1, 2, 0, 1);
+ l.MnemonicWidget = pathEntry;
Image browseImage = new Image (Stock.Open, IconSize.Button);
- Label browseLabel = new Label (Catalog.GetString ("Browse..."));
+ Label browseLabel = new Label (Catalog.GetString ("_Browse..."));
HBox browseBox = new HBox (false, 0);
browseBox.PackStart (browseImage);
@@ -105,6 +106,7 @@
Button browseButton = new Button ();
browseButton.Add (browseBox);
+ browseLabel.MnemonicWidget = browseButton;
browseButton.Clicked += OnBrowseButtonClicked;
table.Attach (browseButton, 2, 3, 0, 1, AttachOptions.Shrink, AttachOptions.Expand, 0, 0);
Modified: trunk/Tomboy/Addins/SshSyncService/SshSyncServiceAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/SshSyncService/SshSyncServiceAddin.cs (original)
+++ trunk/Tomboy/Addins/SshSyncService/SshSyncServiceAddin.cs Sat Jan 12 14:53:28 2008
@@ -38,27 +38,30 @@
if (username == null)
username = string.Empty;
- Label l = new Label (Catalog.GetString ("Server:"));
+ Label l = new Label (Catalog.GetString ("Se_rver:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 0, 1);
serverEntry = new Entry ();
+ l.MnemonicWidget = serverEntry;
serverEntry.Text = server;
table.Attach (serverEntry, 1, 2, 0, 1);
- l = new Label (Catalog.GetString ("Username:"));
+ l = new Label (Catalog.GetString ("User_name:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 1, 2);
usernameEntry = new Entry ();
+ l.MnemonicWidget = usernameEntry;
usernameEntry.Text = username;
table.Attach (usernameEntry, 1, 2, 1, 2);
- l = new Label (Catalog.GetString ("Folder Path (optional):"));
+ l = new Label (Catalog.GetString ("_Folder Path (optional):"));
l.Xalign = 1;
table.Attach (l, 0, 1, 2, 3);
folderEntry = new Entry ();
+ l.MnemonicWidget = folderEntry;
folderEntry.Text = folder;
table.Attach (folderEntry, 1, 2, 2, 3);
Modified: trunk/Tomboy/Addins/WebDavSyncService/WebDavSyncServiceAddin.cs
==============================================================================
--- trunk/Tomboy/Addins/WebDavSyncService/WebDavSyncServiceAddin.cs (original)
+++ trunk/Tomboy/Addins/WebDavSyncService/WebDavSyncServiceAddin.cs Sat Jan 12 14:53:28 2008
@@ -48,27 +48,30 @@
if (password == null)
password = string.Empty;
- Label l = new Label (Catalog.GetString ("URL:"));
+ Label l = new Label (Catalog.GetString ("_URL:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 0, 1);
urlEntry = new Entry ();
+ l.MnemonicWidget = urlEntry;
urlEntry.Text = url;
table.Attach (urlEntry, 1, 2, 0, 1);
- l = new Label (Catalog.GetString ("Username:"));
+ l = new Label (Catalog.GetString ("User_name:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 1, 2);
usernameEntry = new Entry ();
+ l.MnemonicWidget = usernameEntry;
usernameEntry.Text = username;
table.Attach (usernameEntry, 1, 2, 1, 2);
- l = new Label (Catalog.GetString ("Password:"));
+ l = new Label (Catalog.GetString ("_Password:"));
l.Xalign = 1;
table.Attach (l, 0, 1, 2, 3);
passwordEntry = new Entry ();
+ l.MnemonicWidget = passwordEntry;
passwordEntry.Text = password;
passwordEntry.Visibility = false;
table.Attach (passwordEntry, 1, 2, 2, 3);
Modified: trunk/Tomboy/PreferencesDialog.cs
==============================================================================
--- trunk/Tomboy/PreferencesDialog.cs (original)
+++ trunk/Tomboy/PreferencesDialog.cs Sat Jan 12 14:53:28 2008
@@ -390,7 +390,7 @@
Gtk.HBox hbox = new Gtk.HBox (false, 4);
- Gtk.Label label = new Gtk.Label (Catalog.GetString ("Service:"));
+ Gtk.Label label = new Gtk.Label (Catalog.GetString ("Ser_vice:"));
label.Xalign = 0;
label.Show ();
hbox.PackStart (label, false, false, 0);
@@ -407,6 +407,7 @@
}
syncAddinCombo = new Gtk.ComboBox (syncAddinStore);
+ label.MnemonicWidget = syncAddinCombo;
Gtk.CellRendererText crt = new Gtk.CellRendererText ();
syncAddinCombo.PackStart (crt, true);
syncAddinCombo.SetCellDataFunc (crt,
@@ -462,7 +463,7 @@
bbox.LayoutStyle = Gtk.ButtonBoxStyle.End;
// "Advanced..." button to bring up extra sync config dialog
- Gtk.Button advancedConfigButton = new Gtk.Button (Catalog.GetString ("Advanced..."));
+ Gtk.Button advancedConfigButton = new Gtk.Button (Catalog.GetString ("_Advanced..."));
advancedConfigButton.Clicked += OnAdvancedSyncConfigButton;
advancedConfigButton.Show ();
bbox.PackStart (advancedConfigButton, false, false, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]