From 29d2e0b668a5b45570b7b56217cab84f756a7b7d Mon Sep 17 00:00:00 2001 From: horwitz Date: Sat, 7 Jan 2006 02:45:49 +0000 Subject: new layout for destination window, but it's not connected to any signals so far. git-svn-id: http://svn.code.sf.net/p/navit/code/branches/libglade/navit@72 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- src/gui/gtk/gui_gtk.c | 4 + src/gui/gtk/navit.glade | 695 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 698 insertions(+), 1 deletion(-) diff --git a/src/gui/gtk/gui_gtk.c b/src/gui/gtk/gui_gtk.c index b29e780f..41801d51 100644 --- a/src/gui/gtk/gui_gtk.c +++ b/src/gui/gtk/gui_gtk.c @@ -82,10 +82,14 @@ void on_Orientation_toggled(GtkWidget *widget, gpointer user_data) void on_Destination_clicked(GtkWidget *widget, gpointer user_data) { + GtkWidget *dest; struct container *co; co=get_container(widget); + dest=glade_xml_get_widget(GLADE_XML(co->win),"destinationwindow"); + gtk_widget_show_all(GTK_WIDGET(dest)); destination_address(co); + } void on_Quit_clicked(GtkWidget *widget, gpointer user_data) diff --git a/src/gui/gtk/navit.glade b/src/gui/gtk/navit.glade index 06a59d28..bfde2dc3 100644 --- a/src/gui/gtk/navit.glade +++ b/src/gui/gtk/navit.glade @@ -279,7 +279,700 @@ - + + Destination + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + 600 + 400 + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + + + + + True + False + 0 + + + + True + True + True + True + GTK_POS_TOP + False + False + + + + True + False + 0 + + + + True + 4 + 3 + False + 0 + 7 + + + + True + True + True + True + 0 + + True + * + False + + + 0 + 1 + 1 + 2 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 2 + 3 + 1 + 2 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 1 + 2 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 0 + 1 + 3 + 4 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 3 + 4 + + + + + + + True + True + True + True + 0 + + True + * + False + + + 2 + 3 + 3 + 4 + + + + + + + True + Land + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + + + + + + + + True + Ort + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 2 + 3 + 0 + 1 + + + + + + + + True + PLZ + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 0 + 1 + + + + + + + + True + Ortsteil/Gemeinde + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 2 + 3 + + + + + + + + True + Strasse + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 2 + 3 + + + + + + + + True + Nummer + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 2 + 3 + 2 + 3 + + + + + + + 0 + False + True + + + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + False + False + False + True + False + False + False + + + + + 0 + True + True + + + + + False + True + + + + + + True + Adresse + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + False + False + False + + + + + False + True + + + + + + True + Letzte Ziele + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + False + False + False + + + + + False + True + + + + + + True + Gespeicherte Ziele + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + tab + + + + + 0 + True + True + + + + + + 10 + True + GTK_BUTTONBOX_DEFAULT_STYLE + 5 + + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-jump-to + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + Karte + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + + True + False + 2 + + + + True + destination.xpm + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + Ziel + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + False + + + + -- cgit v1.2.1