Skip to content

Commit

Permalink
Blending: Rename blending-tabs to blending-header for widget name
Browse files Browse the repository at this point in the history
It's not a tab bar anymore, we are using combo box.
  • Loading branch information
AlynxZhou committed Nov 27, 2023
1 parent 7e68ae2 commit feaab49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions data/themes/ansel.css
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ combobox separator
----------------------*/
notebook tabs,
#modules-tabs,
#blending-tabs,
#blending-header,
#guides-line
{
font-family: sans-serif;
Expand All @@ -961,7 +961,7 @@ notebook tabs,
background-color: @field_active_bg;
}

#blending-tabs
#blending-header
{
padding: 0 0.25em;
background-color: @grey_50;
Expand All @@ -973,14 +973,14 @@ notebook tabs,
min-height: 2em;
}

.dt_plugin_ui #blending-tabs .dt_module_btn,
.dt_plugin_ui #blending-header .dt_module_btn,
#guides-line .toggle
{
min-height: 1.3em;
}

#modules-tabs .dt_module_btn, /* This is needed separately to set a minimal width if panel is really narrow */
.dt_plugin_ui #blending-tabs .dt_module_btn,
.dt_plugin_ui #blending-header .dt_module_btn,
#guides-line .dt_module_btn
{
border-radius: 0;
Expand All @@ -989,7 +989,7 @@ notebook tabs,
}

/* reduce and align now hamburger menu of modules and blending tabs */
.dt_plugin_ui #blending-tabs .dt_module_btn,
.dt_plugin_ui #blending-header .dt_module_btn,
#modules-tabs .dt_module_btn
{
padding: 0.3em;
Expand Down Expand Up @@ -2402,7 +2402,7 @@ box *

notebook tabs,
#modules-tabs,
#blending-tabs,
#blending-header,
tooltip label,
.active_menu_item * /* needed for some Pango issues not rendering synthetic bold for all OS */
{
Expand Down
2 changes: 1 addition & 1 deletion src/develop/blend_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -3065,7 +3065,7 @@ void dt_iop_gui_init_blending(GtkWidget *iopw, dt_iop_module_t *module)
gtk_box_pack_start(GTK_BOX(bd->masks_modes_box), GTK_WIDGET(presets_button), FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(box), GTK_WIDGET(bd->masks_modes_box), FALSE, FALSE, 0);
dt_gui_add_help_link(GTK_WIDGET(bd->masks_modes_box), dt_get_help_url("masks_blending"));
gtk_widget_set_name(GTK_WIDGET(bd->masks_modes_box), "blending-tabs");
gtk_widget_set_name(GTK_WIDGET(bd->masks_modes_box), "blending-header");

bd->top_box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_VERTICAL, 0));
gtk_box_pack_start(GTK_BOX(bd->top_box), blend_modes_hbox, TRUE, TRUE, 0);
Expand Down

0 comments on commit feaab49

Please sign in to comment.