[nautilus-actions: 12/45] Setup tooltips in the new UI



commit 7e7e3b543a9d4408e62aa8bea8bd6af39f034f7d
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Jul 19 15:27:37 2009 +0200

    Setup tooltips in the new UI

 ChangeLog                           |    4 ++++
 src/nact/nact-main-window.c         |   10 +++++-----
 src/nact/nautilus-actions-config.ui |   19 +++++++++++++++++++
 3 files changed, 28 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c318404..9d6f275 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,9 +21,13 @@
 	* src/nact/nact-iadvanced-tab.h (nact_iadvanced_tab_get_schemes):
 	New function.
 
+	* src/nact/nact-main-window.c:
+	Update menu tooltips to be dot-terminated.
+
 	* src/nact/nautilus-actions-config.ui:
 	Example label now wraps on more than two lines.
 	Scheme lists now is more than four rows.
+	All fields have tooltip.
 
 2009-07-18 Pierre Wieser <pwieser trychlos org>
 
diff --git a/src/nact/nact-main-window.c b/src/nact/nact-main-window.c
index b9a30d5..c303168 100644
--- a/src/nact/nact-main-window.c
+++ b/src/nact/nact-main-window.c
@@ -828,7 +828,7 @@ on_new_action_selected( GtkItem *item, gpointer user_data )
 			window->private->status_bar,
 			window->private->status_context,
 			/* i18n: tooltip displayed in the status bar when selecting the 'New action' item */
-			_( "Define a new action" ));
+			_( "Define a new action." ));
 }
 
 static void
@@ -846,7 +846,7 @@ on_new_profile_selected( GtkItem *item, gpointer user_data )
 			window->private->status_bar,
 			window->private->status_context,
 			/* i18n: tooltip displayed in the status bar when selecting the 'New profile' item */
-			_( "Define a new profile attached to the current action" ));
+			_( "Define a new profile attached to the current action." ));
 }
 
 static void
@@ -871,7 +871,7 @@ on_import_selected( GtkItem *item, gpointer user_data )
 			window->private->status_bar,
 			window->private->status_context,
 			/* i18n: tooltip displayed in the status bar when selecting the Import item */
-			_( "Import one or more actions from external (XML) files into your configuration" ));
+			_( "Import one or more actions from external (XML) files into your configuration." ));
 }
 
 static void
@@ -896,7 +896,7 @@ on_export_selected( GtkItem *item, gpointer user_data )
 			window->private->status_bar,
 			window->private->status_context,
 			/* i18n: tooltip displayed in the status bar when selecting the Export item */
-			_( "Export one or more actions from your configuration to external XML files" ));
+			_( "Export one or more actions from your configuration to external XML files." ));
 }
 
 /* TODO: make the website url and the mail addresses clickables
@@ -978,7 +978,7 @@ on_about_selected( GtkItem *item, gpointer user_data )
 			window->private->status_bar,
 			window->private->status_context,
 			/* i18n: tooltip displayed in the status bar when selecting the About item */
-			_( "Display informations about this program" ));
+			_( "Display informations about this program." ));
 }
 
 static void
diff --git a/src/nact/nautilus-actions-config.ui b/src/nact/nautilus-actions-config.ui
index 8f5175b..4a64292 100644
--- a/src/nact/nautilus-actions-config.ui
+++ b/src/nact/nautilus-actions-config.ui
@@ -130,6 +130,7 @@
                                   <object class="GtkEntry" id="ActionLabelEntry">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
+                                    <property name="tooltip_text" translatable="yes">Label of the menu item in the Nautilus popup menu.</property>
                                     <property name="invisible_char">&#x25CF;</property>
                                   </object>
                                   <packing>
@@ -141,6 +142,7 @@
                                   <object class="GtkEntry" id="ActionTooltipEntry">
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
+                                    <property name="tooltip_text" translatable="yes">Tooltip of the menu item that will appear in the Nautilus statusbar.</property>
                                     <property name="invisible_char">&#x25CF;</property>
                                   </object>
                                   <packing>
@@ -178,6 +180,7 @@
                                     <child>
                                       <object class="GtkComboBoxEntry" id="ActionIconComboBoxEntry">
                                         <property name="visible">True</property>
+                                        <property name="tooltip_text" translatable="yes">Select the icon which will appear in the Nautilus context menu.</property>
                                         <child>
                                           <object class="GtkCellRendererText" id="cellrenderertext1"/>
                                           <attributes>
@@ -195,6 +198,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="tooltip_text" translatable="yes">Click to choose a custom icon from a file instead of a predefined icon from the drop-down list.</property>
                                         <property name="image">image3</property>
                                         <property name="use_underline">True</property>
                                       </object>
@@ -280,6 +284,7 @@
                                       <object class="GtkEntry" id="ProfileLabelEntry">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">The name of the profile.</property>
                                         <property name="invisible_char">&#x25CF;</property>
                                       </object>
                                       <packing>
@@ -344,6 +349,7 @@
                                       <object class="GtkEntry" id="CommandPathEntry">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">The command that will be launched by selecting the action in Nautilus popup menu.</property>
                                         <property name="invisible_char">&#x25CF;</property>
                                       </object>
                                       <packing>
@@ -357,6 +363,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="tooltip_text" translatable="yes">Click to choose a command from the file chooser dialog.</property>
                                         <property name="image">image2</property>
                                         <property name="use_underline">True</property>
                                       </object>
@@ -371,6 +378,7 @@
                                       <object class="GtkEntry" id="CommandParametersEntry">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">Parameters that will be sent to the program. Click on the 'Legend' button to see the different replacement tokens.</property>
                                         <property name="invisible_char">&#x25CF;</property>
                                       </object>
                                       <packing>
@@ -386,6 +394,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="tooltip_text" translatable="yes">Click to toggle the display of the list of special tokens you can use in the parameter field.</property>
                                         <property name="image">image1</property>
                                         <property name="use_underline">True</property>
                                       </object>
@@ -518,6 +527,7 @@
                                       <object class="GtkEntry" id="ConditionsFilenamesEntry">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">A string with wildcards (? or *) that will be used to match the filenames. You can set several filename patterns by separating them with a semi-colon (;).</property>
                                         <property name="invisible_char">&#x25CF;</property>
                                       </object>
                                       <packing>
@@ -529,6 +539,7 @@
                                       <object class="GtkEntry" id="ConditionsMimetypesEntry">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">A string with wildcards (? or *) that will be used to match the mimetypes of files. You can set several mimetype patterns by separating them with a semi-colon (;).</property>
                                         <property name="invisible_char">&#x25CF;</property>
                                       </object>
                                       <packing>
@@ -544,6 +555,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
+                                        <property name="tooltip_text" translatable="yes">If selected, the filename patterns will be matched case sensitive (eg, *.jpg will not match photo.JPG).</property>
                                         <property name="xalign">0</property>
                                         <property name="active">True</property>
                                         <property name="draw_indicator">True</property>
@@ -593,6 +605,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
+                                        <property name="tooltip_text" translatable="yes">If selected, item will appear in the Nautilus context menu if and only if the selection contains only files.</property>
                                         <property name="xalign">0</property>
                                         <property name="active">True</property>
                                         <property name="draw_indicator">True</property>
@@ -607,6 +620,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
+                                        <property name="tooltip_text" translatable="yes">If selected, item will appear in the Nautilus context menu if and only if the selection contains only folders.</property>
                                         <property name="xalign">0</property>
                                         <property name="draw_indicator">True</property>
                                         <property name="group">ConditionsOnlyFilesButton</property>
@@ -621,6 +635,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
+                                        <property name="tooltip_text" translatable="yes">If selected, item will always appear in the Nautilus context menu.</property>
                                         <property name="xalign">0</property>
                                         <property name="draw_indicator">True</property>
                                         <property name="group">ConditionsOnlyFilesButton</property>
@@ -649,6 +664,7 @@
                                     <property name="visible">True</property>
                                     <property name="can_focus">True</property>
                                     <property name="receives_default">False</property>
+                                    <property name="tooltip_text" translatable="yes">If selected, item will always appear in the Nautilus context menu. Else it will appear if and only if the selection contains only one file or folder.</property>
                                     <property name="draw_indicator">True</property>
                                   </object>
                                   <packing>
@@ -721,6 +737,7 @@
                                       <object class="GtkTreeView" id="SchemesTreeView">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="tooltip_text" translatable="yes">Select the kind of files where you want your action to appear. If you don't know what to choose, try selecting just 'file' which is the most common choice. You can add a new scheme by clicking on the '+' button.</property>
                                         <property name="headers_visible">False</property>
                                         <property name="rules_hint">True</property>
                                       </object>
@@ -740,6 +757,7 @@
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="tooltip_text" translatable="yes">Click to add a new scheme.</property>
                                         <child>
                                           <object class="GtkImage" id="image16">
                                             <property name="visible">True</property>
@@ -760,6 +778,7 @@
                                         <property name="sensitive">False</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">True</property>
+                                        <property name="tooltip_text" translatable="yes">Click to remove the selected scheme.</property>
                                         <child>
                                           <object class="GtkImage" id="image17">
                                             <property name="visible">True</property>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]