file-chooser: style save mode name box as a search bar
So we get a bottom border etc. https://bugzilla.gnome.org/show_bug.cgi?id=722211
This commit is contained in:

committed by
Matthias Clasen

parent
22e3552a9d
commit
b05b91c692
@ -1960,9 +1960,12 @@ save_widgets_create (GtkFileChooserWidget *impl)
|
||||
location_switch_to_path_bar (impl);
|
||||
|
||||
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 10);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (vbox), "search-bar");
|
||||
|
||||
gtk_container_set_border_width (GTK_CONTAINER (vbox), 0);
|
||||
|
||||
priv->save_widgets_table = gtk_grid_new ();
|
||||
gtk_container_set_border_width (GTK_CONTAINER (priv->save_widgets_table), 10);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), priv->save_widgets_table, FALSE, FALSE, 0);
|
||||
gtk_widget_show (priv->save_widgets_table);
|
||||
gtk_grid_set_row_spacing (GTK_GRID (priv->save_widgets_table), 12);
|
||||
|
Reference in New Issue
Block a user