summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2007-07-11 21:31:17 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2007-07-11 21:31:17 +0000
commitdeacca988449b715e3a2b1263d46e037ae389b28 (patch)
treef0096ad74b2d363685bd4635ae632c6b2479702a
parent8b961b87a43e8c1560ad30bc67bce6ef03930a6d (diff)
downloadglade-deacca988449b715e3a2b1263d46e037ae389b28.tar.gz
added window titles to the undocked tool windows.
svn path=/trunk/; revision=1459
-rw-r--r--src/glade-window.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/glade-window.c b/src/glade-window.c
index e643df1d..897e98ac 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -1590,10 +1590,10 @@ hide_window_on_delete (GtkWidget *window, gpointer not_used, GtkUIManager *ui)
static void
doc_search_cb (GladeEditor *editor,
- const gchar *book,
- const gchar *page,
- const gchar *search,
- GladeWindow *window)
+ const gchar *book,
+ const gchar *page,
+ const gchar *search,
+ GladeWindow *window)
{
glade_util_search_devhelp (book, page, search);
}
@@ -1852,6 +1852,7 @@ toggle_palette_dock_cb (GtkAction *action, GladeWindow *window)
gtk_window_set_default_size (GTK_WINDOW (toplevel), 200, 540);
gtk_window_set_deletable (GTK_WINDOW (toplevel), FALSE);
+ gtk_window_set_title (GTK_WINDOW (toplevel), _("Palette"));
g_object_ref (window->priv->palette_dock);
gtk_container_remove (GTK_CONTAINER (window->priv->left_pane), window->priv->palette_dock);
@@ -1884,6 +1885,7 @@ toggle_inspector_dock_cb (GtkAction *action, GladeWindow *window)
gtk_window_set_default_size (GTK_WINDOW (toplevel), 300, 540);
gtk_window_set_deletable (GTK_WINDOW (toplevel), FALSE);
+ gtk_window_set_title (GTK_WINDOW (toplevel), _("Inspector"));
g_object_ref (window->priv->inspector_dock);
gtk_container_remove (GTK_CONTAINER (window->priv->right_pane), window->priv->inspector_dock);
@@ -1920,6 +1922,7 @@ toggle_editor_dock_cb (GtkAction *action, GladeWindow *window)
gtk_window_set_default_size (GTK_WINDOW (toplevel), 500, 700);
gtk_window_set_deletable (GTK_WINDOW (toplevel), FALSE);
+ gtk_window_set_title (GTK_WINDOW (toplevel), _("Properties"));
g_object_ref (window->priv->editor_dock);
gtk_container_remove (GTK_CONTAINER (window->priv->right_pane), window->priv->editor_dock);