[nautilus-share] Set the title of the sharing options window



commit ef321f2eacf3114ccf8cc093d5b68ad285be2d96
Author: Chow Loong Jin <hyperair gmail com>
Date:   Fri Jun 12 00:38:50 2009 +0800

    Set the title of the sharing options window
    
    The title of the standalone sharing options window is set to Nautilus's
    default, which is "File Manager". This is not translatable because the string
    is not present in our gettext domain. This patch sets the title to "Folder
    Sharing" manually which is more appropriate than "File Manager" anyway. This
    allows the string to be translated

 src/nautilus-share.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-share.c b/src/nautilus-share.c
index e81a6b9..ef3f2c4 100644
--- a/src/nautilus-share.c
+++ b/src/nautilus-share.c
@@ -1087,6 +1087,7 @@ share_this_folder_callback (NautilusMenuItem *item,
   g_assert (fileinfo != NULL);
 
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+  gtk_window_set_title (GTK_WINDOW (window), _("Folder Sharing"));
   page = create_property_page (fileinfo);
   page->standalone_window = window;
   g_signal_connect (page->button_cancel, "clicked",



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