forked from AuroraMiddleware/gtk
modelbutton: Center titles
The centering of titles was broken in b5b81dea7f
.
Make it mostly work again by adding an empty end indicator.
Related: #3405
This commit is contained in:
parent
e128a77eed
commit
efbb649eee
@ -489,7 +489,7 @@ update_node_name (GtkModelButton *self)
|
|||||||
{
|
{
|
||||||
case GTK_BUTTON_ROLE_TITLE:
|
case GTK_BUTTON_ROLE_TITLE:
|
||||||
start_name = "arrow";
|
start_name = "arrow";
|
||||||
end_name = NULL;
|
end_name = "";
|
||||||
break;
|
break;
|
||||||
case GTK_BUTTON_ROLE_NORMAL:
|
case GTK_BUTTON_ROLE_NORMAL:
|
||||||
start_name = NULL;
|
start_name = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user