aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 16:00:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-27 16:00:27 +0800
commitab97f58c9a4bf3b0230693f09c76e6de5a23d3fe (patch)
tree930c12ba4a86e1729000a4f4c29ecd62f3469de0
parentc9bc158a8897e4ab2f0758d87084f048e51de165 (diff)
downloadgsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar.gz
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar.bz2
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar.lz
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar.xz
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.tar.zst
gsoc2013-empathy-ab97f58c9a4bf3b0230693f09c76e6de5a23d3fe.zip
no need to use a #define
-rw-r--r--src/empathy-main-window.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 0efa4a97d..381f2fd7a 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);