]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window-title.c
Update FSF address everywhere.
[evince.git] / shell / ev-window-title.c
index 2e28c63b002f8199e2f00bf4120abda268bd6c13..250498e3619fd03b03298df680b57d6d688830a9 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <config.h>
@@ -75,7 +75,7 @@ get_filename_from_uri (const char *uri)
        char *filename;
        char *basename;
        
-       filename = escape_uri_for_display (uri);
+       filename = g_uri_unescape_string (uri, NULL);
        basename = g_path_get_basename (filename);
        g_free(filename);
 
@@ -159,7 +159,7 @@ ev_window_title_update (EvWindowTitle *window_title)
                gtk_window_set_title (window, title);
                break;
        case EV_WINDOW_TITLE_PASSWORD:
-               password_title = g_strdup_printf (_("%s - Password Required"), title);
+               password_title = g_strdup_printf (_("%s  Password Required"), title);
                gtk_window_set_title (window, password_title);
                g_free (password_title);
                break;