[epiphany] Improve title of Add Bookmark dialog



commit f47222869d717bb6b374245e3dcc6f05e0289bb4
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Dec 11 12:06:23 2014 +0100

    Improve title of Add Bookmark dialog
    
    "page title" Properties is a really strange name for the add bookmark
    dialog. This looks like an oversight.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741388

 src/bookmarks/ephy-bookmark-properties.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index 5f20f2d..221b686 100644
--- a/src/bookmarks/ephy-bookmark-properties.c
+++ b/src/bookmarks/ephy-bookmark-properties.c
@@ -231,7 +231,11 @@ update_window_title (EphyBookmarkProperties *properties)
        tmp = ephy_node_get_property_string (priv->bookmark,
                                             EPHY_NODE_BMK_PROP_TITLE);
 
-       title = g_strdup_printf (_("ā€œ%sā€ Properties"), tmp);
+       if (priv->creating)
+               title = g_strdup (_("Add Bookmark"));
+       else
+               title = g_strdup_printf (_("ā€œ%sā€ Properties"), tmp);
+
        gtk_window_set_title (GTK_WINDOW (properties), title);
        g_free (title);
 }


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