format-chooser: Add tooltip to the preview button
Doing so, this button will also be a11y-labelled.
This commit is contained in:
parent
043af788c1
commit
89c58252ed
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ region_widget_new (CcFormatChooser *self,
|
|||
gtk_box_append (GTK_BOX (box), check);
|
||||
|
||||
button = gtk_button_new_from_icon_name ("view-reveal-symbolic");
|
||||
gtk_widget_set_tooltip_text (button, _("Preview"));
|
||||
gtk_widget_add_css_class (button, "flat");
|
||||
g_signal_connect_object (button, "clicked", G_CALLBACK (preview_button_clicked_cb),
|
||||
self, G_CONNECT_SWAPPED);
|
||||
|
|
Loading…
Add table
Reference in a new issue