From d85dfd0e7c104e7032a9f09516b6d2c79658d258 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sun, 5 Dec 2010 15:03:53 +0000 Subject: Rationalise titles and styles of various GTK windows svn path=/trunk/netsurf/; revision=11002 --- gtk/dialogs/gtk_source.c | 4 ++-- gtk/res/cookies.glade | 24 ++++++++++---------- gtk/res/downloads.glade | 57 +++++++++++++++++++++++++++++++----------------- gtk/res/hotlist.glade | 2 +- 4 files changed, 52 insertions(+), 35 deletions(-) (limited to 'gtk') diff --git a/gtk/dialogs/gtk_source.c b/gtk/dialogs/gtk_source.c index 842d4c4ef..b7dec945b 100644 --- a/gtk/dialogs/gtk_source.c +++ b/gtk/dialogs/gtk_source.c @@ -178,8 +178,8 @@ void nsgtk_source_dialog_init(GtkWindow *parent, struct browser_window *bw) thiswindow->sourcewindow = wndSource; thiswindow->bw = bw; - char title[strlen(thiswindow->url) + SLEN("Source of ") + 1]; - sprintf(title, "Source of %s", thiswindow->url); + char title[strlen(thiswindow->url) + SLEN("Source of - NetSurf") + 1]; + sprintf(title, "Source of %s - NetSurf", thiswindow->url); thiswindow->next = nsgtk_source_list; thiswindow->prev = NULL; diff --git a/gtk/res/cookies.glade b/gtk/res/cookies.glade index 2bb92f372..9fc5de148 100644 --- a/gtk/res/cookies.glade +++ b/gtk/res/cookies.glade @@ -1,13 +1,12 @@ - - - + + + - NetSurf Cookies - GTK_WIN_POS_CENTER + Cookies - NetSurf + mouse 600 500 - GDK_WINDOW_TYPE_HINT_UTILITY True @@ -30,7 +29,7 @@ Deletes selected nodes _Delete True - + @@ -45,7 +44,7 @@ True _Select all True - + @@ -53,7 +52,7 @@ True _Clear selection True - + @@ -141,18 +140,19 @@ False + 0 True True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC + automatic + automatic True - GTK_RESIZE_QUEUE + queue True diff --git a/gtk/res/downloads.glade b/gtk/res/downloads.glade index 72adc29df..706bfe19a 100644 --- a/gtk/res/downloads.glade +++ b/gtk/res/downloads.glade @@ -1,13 +1,14 @@ - + + + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK - NetSurf Downloads - GTK_WIN_POS_CENTER_ON_PARENT + Downloads - NetSurf + mouse 500 300 True - GDK_WINDOW_TYPE_HINT_DIALOG True @@ -15,8 +16,8 @@ True True - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC + never + automatic True @@ -27,6 +28,9 @@ + + 0 + @@ -55,23 +59,30 @@ + + 0 + True True - GTK_BUTTONBOX_END + end + gtk-media-pause True False True True - gtk-media-pause - GTK_RELIEF_NONE + none True - 0 + + False + False + 0 + @@ -79,8 +90,7 @@ False True True - GTK_RELIEF_NONE - 0 + none True @@ -88,8 +98,11 @@ True gtk-media-play - 2 + 2 + + 0 + @@ -104,36 +117,40 @@ + False + False 1 + gtk-cancel True False True True - gtk-cancel - GTK_RELIEF_NONE + none True - 0 + False + False 2 + gtk-clear True False True True - gtk-clear - GTK_RELIEF_NONE + none True - 0 + False + False 3 @@ -141,7 +158,7 @@ False False - GTK_PACK_END + end 1 diff --git a/gtk/res/hotlist.glade b/gtk/res/hotlist.glade index a01fc30d8..8f0a6ecc7 100644 --- a/gtk/res/hotlist.glade +++ b/gtk/res/hotlist.glade @@ -3,7 +3,7 @@ - Bookmarks + Bookmarks - NetSurf mouse 600 500 -- cgit v1.2.3