Simple patch to make the location bar occupy all the available
horizontal space.
Этот коммит содержится в:
родитель
2db4ccf25e
Коммит
eb560f7e15
@ -1,3 +1,9 @@
|
|||||||
|
1999-02-06 Ettore Perazzoli <ettore@comm2000.it>
|
||||||
|
|
||||||
|
* gscreen.c (x_create_panel): The location bar is now a simple
|
||||||
|
GtkHBox instead of a GtkToolbar, and as a consequence the location
|
||||||
|
entry widget is expanded to fill all of the window horizontally.
|
||||||
|
|
||||||
1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
1999-02-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||||
|
|
||||||
* gdesktop.c (drag_data_get): Set the Netscape URL from the icon
|
* gdesktop.c (drag_data_get): Set the Netscape URL from the icon
|
||||||
|
@ -2424,21 +2424,17 @@ x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel)
|
|||||||
else if (panel->list_type == list_user)
|
else if (panel->list_type == list_user)
|
||||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (viewbar[3].widget), TRUE);
|
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (viewbar[3].widget), TRUE);
|
||||||
|
|
||||||
/*
|
status_line = gtk_hbox_new (FALSE, 2);
|
||||||
* Here we make the view buttons.
|
|
||||||
*/
|
|
||||||
status_line = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
|
|
||||||
gtk_container_set_border_width (GTK_CONTAINER (status_line), 3);
|
gtk_container_set_border_width (GTK_CONTAINER (status_line), 3);
|
||||||
evbox = gtk_event_box_new ();
|
gtk_box_pack_start (GTK_BOX (status_line),
|
||||||
hbox = gtk_hbox_new (FALSE, 2);
|
gtk_label_new (_("Location:")), FALSE, FALSE, 0);
|
||||||
gtk_container_add (GTK_CONTAINER (evbox), hbox);
|
gtk_box_pack_start (GTK_BOX (status_line),
|
||||||
gtk_toolbar_append_widget (GTK_TOOLBAR (status_line),
|
cwd, TRUE, TRUE, 0);
|
||||||
evbox,
|
|
||||||
NULL, NULL);
|
dock = gnome_dock_item_new ("gmc-toolbar1",
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), gtk_label_new (_("Location:")), FALSE, FALSE, 0);
|
(GNOME_DOCK_ITEM_BEH_EXCLUSIVE
|
||||||
gtk_box_pack_start (GTK_BOX (hbox), cwd, TRUE, TRUE, 0);
|
| GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL));
|
||||||
dock = gnome_dock_item_new ("gmc-toolbar1", GNOME_DOCK_ITEM_BEH_EXCLUSIVE | GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL);
|
gtk_container_add (GTK_CONTAINER(dock), status_line);
|
||||||
gtk_container_add (GTK_CONTAINER(dock),status_line);
|
|
||||||
gnome_dock_add_item (GNOME_DOCK(GNOME_APP (panel->xwindow)->dock),
|
gnome_dock_add_item (GNOME_DOCK(GNOME_APP (panel->xwindow)->dock),
|
||||||
GNOME_DOCK_ITEM (dock), GNOME_DOCK_TOP, 1, 0, 0, FALSE);
|
GNOME_DOCK_ITEM (dock), GNOME_DOCK_TOP, 1, 0, 0, FALSE);
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user