aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-10-28 20:05:56 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-10-28 20:05:56 +0800
commit58f99d294051748a4970394a4204bc2dc3951279 (patch)
tree79b5259d5b9cd297440187f884aef5b581900b43 /libempathy-gtk
parentac6c38ef3fb701ef74aef8ea4c9ec8c29061ad19 (diff)
downloadgsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar.gz
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar.bz2
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar.lz
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar.xz
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.tar.zst
gsoc2013-empathy-58f99d294051748a4970394a4204bc2dc3951279.zip
Change edit personal information window title to "Personal Information".
2007-10-28 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-contact-dialogs.c: Change edit personal information window title to "Personal Information". Fixes bug #490159. Change add contact window title to "New Contact", need a capitalized 'C'. Change edit contact information window title to "Edit Contact Information". svn path=/trunk/; revision=401
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index b2ad6e5cb..54d62a3d0 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -172,7 +172,15 @@ empathy_contact_information_dialog_show (EmpathyContact *contact,
dialog = gtk_dialog_new ();
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
- gtk_window_set_title (GTK_WINDOW (dialog), _("Contact information"));
+ if (is_user) {
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Personal Information"));
+ }
+ else if (edit) {
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Edit Contact Information"));
+ }
+ else {
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Contact Information"));
+ }
/* Close button */
button = gtk_button_new_with_label (GTK_STOCK_CLOSE);
@@ -290,7 +298,7 @@ empathy_new_contact_dialog_show (GtkWindow *parent)
dialog = gtk_dialog_new ();
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
- gtk_window_set_title (GTK_WINDOW (dialog), _("New contact"));
+ gtk_window_set_title (GTK_WINDOW (dialog), _("New Contact"));
/* Cancel button */
button = gtk_button_new_with_label (GTK_STOCK_CANCEL);