Skip to content

Commit c703221

Browse files
authored
Update SettingsPopover.vala
1 parent ab0005a commit c703221

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Widgets/SettingsPopover.vala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ this.zoom_changed("zoom_in");
212212
});
213213
}
214214

215+
public void set_zoomlevel (int64 zoom) {
216+
zoom_default_button.set_label(zoom.to_string());
217+
}
218+
219+
215220
/* private static bool font_scale_to_zoom (Binding binding, Value font_scale, ref Value label) {
216221
label.set_string ("%.0f%%".printf (font_scale.get_double () * 100));
217222
return true;

0 commit comments

Comments
 (0)