X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-window-title.c;h=250498e3619fd03b03298df680b57d6d688830a9;hb=f6d7d0d57eeb150d45379c61161d2b699af30960;hp=2e28c63b002f8199e2f00bf4120abda268bd6c13;hpb=c4b192c34c4758bd078d1a212d69c6ae5084d6c8;p=evince.git diff --git a/shell/ev-window-title.c b/shell/ev-window-title.c index 2e28c63b..250498e3 100644 --- a/shell/ev-window-title.c +++ b/shell/ev-window-title.c @@ -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 @@ -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;