diff options
-rw-r--r-- | xombrero.c | 4 | ||||
-rw-r--r-- | xombrero.css | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/xombrero.c b/xombrero.c index 417c6d2..3aeb1b7 100644 --- a/xombrero.c +++ b/xombrero.c @@ -7506,6 +7506,7 @@ create_new_tab(char *title, struct undo *u, int focus, int position) #if GTK_CHECK_VERSION(3, 0, 0) t->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); b = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); + gtk_widget_set_name(t->vbox, "vbox"); #else t->vbox = gtk_vbox_new(FALSE, 0); b = gtk_hbox_new(FALSE, 0); @@ -7575,9 +7576,6 @@ create_new_tab(char *title, struct undo *u, int focus, int position) gtk_entry_set_has_frame(GTK_ENTRY(t->cmd), FALSE); gtk_box_pack_end(GTK_BOX(t->vbox), t->cmd, FALSE, FALSE, 0); gtk_widget_modify_font(GTK_WIDGET(t->cmd), cmd_font); -#if GTK_CHECK_VERSION(3, 0, 0) - gtk_widget_set_name(GTK_WIDGET(t->cmd), "cmd"); -#endif /* status bar */ statusbar_create(t); diff --git a/xombrero.css b/xombrero.css index 75a5715..f85be5a 100644 --- a/xombrero.css +++ b/xombrero.css @@ -30,13 +30,12 @@ } .entry { - border-width: 1px; padding: 2px; color: @fg_color; } -#cmd .entry, -#statusbar .entry { +#vbox > .entry, +#statusbar * { border-width: 0px; } |