[Xfce4-commits] [apps/xfdashboard] 02/03: Typo fixes:

noreply at xfce.org noreply at xfce.org
Tue Jun 26 19:11:19 CEST 2018


This is an automated email from the git hooks/post-receive script.

n   o   m   a   d       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfdashboard.

commit 84e5d8587bcd2c5b8643d2873a7e0364039b11f1
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Jun 26 16:22:25 2018 +0200

    Typo fixes:
    
    enviroment → environment
    criterias → criteria
    colum → column
    
    Thanks to Unit 193 :)
---
 libxfdashboard/application-tracker.c          | 12 ++++++------
 libxfdashboard/application.c                  |  2 +-
 libxfdashboard/applications-search-provider.c |  2 +-
 libxfdashboard/scaled-table-layout.c          |  2 +-
 libxfdashboard/search-view.c                  |  4 ++--
 libxfdashboard/search-view.h                  |  2 +-
 libxfdashboard/stage.c                        |  4 ++--
 settings/plugins.c                            |  2 +-
 8 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/libxfdashboard/application-tracker.c b/libxfdashboard/application-tracker.c
index c3c8ab0..c56c0b6 100644
--- a/libxfdashboard/application-tracker.c
+++ b/libxfdashboard/application-tracker.c
@@ -286,7 +286,7 @@ static GHashTable* _xfdashboard_application_tracker_get_environment_from_pid(gin
 		return(NULL);
 	}
 
-	/* Open enviroment variables of process.
+	/* Open environment variables of process.
 	 * This is the initial set of environment variables set when process was spawned.
 	 * But that is ok because the environment variables we lookup are set
 	 * at launch time and do not change.
@@ -298,7 +298,7 @@ static GHashTable* _xfdashboard_application_tracker_get_environment_from_pid(gin
 	if(!g_file_get_contents(procEnvFile, &envContent, &envLength, &error))
 	{
 		XFDASHBOARD_DEBUG(_xfdashboard_application_tracker, APPLICATIONS,
-							"Could not read enviroment varibles for PID %d at %s: %s",
+							"Could not read environment varibles for PID %d at %s: %s",
 							inPID,
 							procEnvFile,
 							error ? error->message : _("Unknown error"));
@@ -314,12 +314,12 @@ static GHashTable* _xfdashboard_application_tracker_get_environment_from_pid(gin
 	}
 
 	XFDASHBOARD_DEBUG(_xfdashboard_application_tracker, APPLICATIONS,
-						"Enviroment set for PID %d at %s is %lu bytes long",
+						"environment set for PID %d at %s is %lu bytes long",
 						inPID,
 						procEnvFile,
 						envLength);
 
-	/* Iterate through enviroment variables and insert copy of environment
+	/* Iterate through environment variables and insert copy of environment
 	 * variable's name as key and the copy of its value as value into hash-table.
 	 */
 	iter=envContent;
@@ -355,7 +355,7 @@ static GHashTable* _xfdashboard_application_tracker_get_environment_from_pid(gin
 		}
 		if(*iter!='=')
 		{
-			g_warning(_("Malformed enviroment '%s' in environment set for PID %d at %s"),
+			g_warning(_("Malformed environment '%s' in environment set for PID %d at %s"),
 						name,
 						inPID,
 						procEnvFile);
@@ -545,7 +545,7 @@ static GAppInfo* _xfdashboard_application_tracker_get_desktop_id_from_environmen
 	 * application database.
 	 */
 	XFDASHBOARD_DEBUG(self, APPLICATIONS,
-						"Resolved enviroment variables of window '%s' to desktop ID '%s'",
+						"Resolved environment variables of window '%s' to desktop ID '%s'",
 						xfdashboard_window_tracker_window_get_name(inWindow),
 						foundAppInfo ? g_app_info_get_id(foundAppInfo) : "<nil>");
 
diff --git a/libxfdashboard/application.c b/libxfdashboard/application.c
index f99f0ae..5063092 100644
--- a/libxfdashboard/application.c
+++ b/libxfdashboard/application.c
@@ -364,7 +364,7 @@ static gboolean _xfdashboard_application_initialize_full(XfdashboardApplication
 		 */
 		desktop="XFCE";
 	}
-		/* If desktop enviroment was found but has no name
+		/* If desktop environment was found but has no name
 		 * set NULL to get all menu items shown.
 		 */
 		else if(*desktop==0) desktop=NULL;
diff --git a/libxfdashboard/applications-search-provider.c b/libxfdashboard/applications-search-provider.c
index 32eee07..719f82e 100644
--- a/libxfdashboard/applications-search-provider.c
+++ b/libxfdashboard/applications-search-provider.c
@@ -1221,7 +1221,7 @@ static XfdashboardSearchResultSet* _xfdashboard_applications_search_provider_get
 	terms=g_new(gchar*, numberTerms+1);
 	if(!terms)
 	{
-		g_critical(_("Could not allocate memory to copy search criterias for case-insensitive search"));
+		g_critical(_("Could not allocate memory to copy search criteria for case-insensitive search"));
 		return(NULL);
 	}
 
diff --git a/libxfdashboard/scaled-table-layout.c b/libxfdashboard/scaled-table-layout.c
index 02c5c0c..c66bbc0 100644
--- a/libxfdashboard/scaled-table-layout.c
+++ b/libxfdashboard/scaled-table-layout.c
@@ -120,7 +120,7 @@ static void _xfdashboard_scaled_table_layout_update_rows_and_columns(Xfdashboard
 		g_object_notify_by_pspec(G_OBJECT(self), XfdashboardScaledTableLayoutProperties[PROP_NUMBER_CHILDREN]);
 	}
 
-	/* Get request mode to determine if more rows than colums are needed
+	/* Get request mode to determine if more rows than columns are needed
 	 * or the opposite
 	 */
 	requestMode=clutter_actor_get_request_mode(CLUTTER_ACTOR(inContainer));
diff --git a/libxfdashboard/search-view.c b/libxfdashboard/search-view.c
index 9486e35..bdeb697 100644
--- a/libxfdashboard/search-view.c
+++ b/libxfdashboard/search-view.c
@@ -1,5 +1,5 @@
 /*
- * search-view: A view showing applications matching search criterias
+ * search-view: A view showing applications matching search criteria
  * 
  * Copyright 2012-2017 Stephan Haller <nomad at froevel.de>
  * 
@@ -736,7 +736,7 @@ static gboolean _xfdashboard_search_view_can_do_incremental_search(XfdashboardSe
 	 */
 	if(!(*iterProvider) && !(*iterCurrent)) return(TRUE);
 
-	/* If we get here both terms list the criterias do not match
+	/* If we get here both terms list the criteria do not match
 	 * and an incremental search cannot be done. Return FALSE
 	 * to indicate that a full search is needed.
 	 */
diff --git a/libxfdashboard/search-view.h b/libxfdashboard/search-view.h
index 8fbc7f2..6bd2310 100644
--- a/libxfdashboard/search-view.h
+++ b/libxfdashboard/search-view.h
@@ -1,5 +1,5 @@
 /*
- * search-view: A view showing applications matching search criterias
+ * search-view: A view showing applications matching search criteria
  * 
  * Copyright 2012-2017 Stephan Haller <nomad at froevel.de>
  * 
diff --git a/libxfdashboard/stage.c b/libxfdashboard/stage.c
index 50e0821..b4fac5c 100644
--- a/libxfdashboard/stage.c
+++ b/libxfdashboard/stage.c
@@ -484,7 +484,7 @@ static void _xfdashboard_stage_on_searchbox_text_changed(XfdashboardStage *self,
 	/* Check if current text length if greater than zero and previous text length
 	 * was zero. If check is successful it marks the start of a search. Emit the
 	 * "search-started" signal. There is no need to start a search a search over
-	 * all search providers as it will be done later by updating search criterias.
+	 * all search providers as it will be done later by updating search criteria.
 	 * There is also no need to activate search view because we will ensure that
 	 * search view is activate on any change in search text box but we enable that
 	 * view to be able to activate it ;)
@@ -515,7 +515,7 @@ static void _xfdashboard_stage_on_searchbox_text_changed(XfdashboardStage *self,
 	}
 
 	/* Ensure that search view is active, emit signal for text changed,
-	 * update search criterias and set active toggle state at apps button
+	 * update search criteria and set active toggle state at apps button
 	 */
 	xfdashboard_viewpad_set_active_view(XFDASHBOARD_VIEWPAD(priv->viewpad), searchView);
 	xfdashboard_search_view_update_search(XFDASHBOARD_SEARCH_VIEW(searchView), text);
diff --git a/settings/plugins.c b/settings/plugins.c
index 418b4fd..1b544c6 100644
--- a/settings/plugins.c
+++ b/settings/plugins.c
@@ -290,7 +290,7 @@ static gboolean _xfdashboard_settings_plugins_on_treeview_button_pressed(Xfdashb
 		!path ||
 		!column)
 	{
-		g_debug("Could not get path and colum in tree view for position %.2f, %.2f",
+		g_debug("Could not get path and column in tree view for position %.2f, %.2f",
 				inEvent->button.x,
 				inEvent->button.y);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list