]> git.0d.be Git - empathy.git/commitdiff
no need to use a #define
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 Aug 2010 08:00:27 +0000 (10:00 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 Aug 2010 08:00:27 +0000 (10:00 +0200)
src/empathy-main-window.c

index 0efa4a97d13c054ab4423402137c9b9439ea4abe..381f2fd7a698bc776d5e2655744b8bf608f09aea 100644 (file)
@@ -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);