region: Use view-more-symbolic for the "More" list item
We've had some early reports that the ellipsis used to label the "More" item in some of the lists isn't clear. https://bugzilla.gnome.org/show_bug.cgi?id=694927
This commit is contained in:
parent
ee9dc7a176
commit
d7cecdca2f
3 changed files with 28 additions and 3 deletions
|
@ -164,9 +164,18 @@ static GtkWidget *
|
|||
more_widget_new (void)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *arrow;
|
||||
|
||||
widget = padded_label_new ("…", FALSE);
|
||||
widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
|
||||
gtk_widget_set_tooltip_text (widget, _("More…"));
|
||||
|
||||
arrow = gtk_image_new_from_icon_name ("view-more-symbolic", GTK_ICON_SIZE_MENU);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (arrow), "dim-label");
|
||||
gtk_widget_set_margin_top (widget, 10);
|
||||
gtk_widget_set_margin_bottom (widget, 10);
|
||||
gtk_misc_set_alignment (GTK_MISC (arrow), 0.5, 0.5);
|
||||
gtk_box_pack_start (GTK_BOX (widget), arrow, TRUE, TRUE, 0);
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
|
|
|
@ -254,9 +254,18 @@ static GtkWidget *
|
|||
more_widget_new (void)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *arrow;
|
||||
|
||||
widget = padded_label_new ("…", FALSE);
|
||||
widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
|
||||
gtk_widget_set_tooltip_text (widget, _("More…"));
|
||||
|
||||
arrow = gtk_image_new_from_icon_name ("view-more-symbolic", GTK_ICON_SIZE_MENU);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (arrow), "dim-label");
|
||||
gtk_widget_set_margin_top (widget, 10);
|
||||
gtk_widget_set_margin_bottom (widget, 10);
|
||||
gtk_misc_set_alignment (GTK_MISC (arrow), 0.5, 0.5);
|
||||
gtk_box_pack_start (GTK_BOX (widget), arrow, TRUE, TRUE, 0);
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
|
|
|
@ -166,10 +166,17 @@ static GtkWidget *
|
|||
more_widget_new (void)
|
||||
{
|
||||
GtkWidget *widget;
|
||||
GtkWidget *arrow;
|
||||
|
||||
widget = padded_label_new ("…", ROW_LABEL_POSITION_CENTER, ROW_TRAVEL_DIRECTION_NONE, FALSE);
|
||||
widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
|
||||
gtk_widget_set_tooltip_text (widget, _("More…"));
|
||||
|
||||
arrow = gtk_image_new_from_icon_name ("view-more-symbolic", GTK_ICON_SIZE_MENU);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (arrow), "dim-label");
|
||||
set_row_widget_margins (arrow);
|
||||
gtk_misc_set_alignment (GTK_MISC (arrow), 0.5, 0.5);
|
||||
gtk_box_pack_start (GTK_BOX (widget), arrow, TRUE, TRUE, 0);
|
||||
|
||||
return widget;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue