[empathy: 1/4] no need to use a #define



commit ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Aug 27 10:00:27 2010 +0200

    no need to use a #define

 src/empathy-main-window.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 0efa4a9..381f2fd 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -91,9 +91,6 @@
 /* Name in the geometry file */
 #define GEOMETRY_NAME "main-window"
 
-/* Labels for empty contact list */
-#define NO_MATCH_FOUND _("No match found")
-
 G_DEFINE_TYPE (EmpathyMainWindow, empathy_main_window, GTK_TYPE_WINDOW);
 
 #define GET_PRIV(self) ((EmpathyMainWindowPriv *)((EmpathyMainWindow *) self)->priv)
@@ -376,7 +373,8 @@ main_window_row_deleted_cb (GtkTreeModel      *model,
 		if (empathy_individual_view_is_searching (
 				priv->individual_view)) {
 			gtk_label_set_text (GTK_LABEL (priv->no_entry_label),
-					NO_MATCH_FOUND);
+					_("No match found"));
+
 			gtk_notebook_set_current_page (
 					GTK_NOTEBOOK (priv->notebook),
 					0);



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