Unverified Commit d97307a7 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui
Browse files

reverse colors: add a tooltip to the button

parent 52594bc7
Pipeline #181962 passed with stage
in 22 minutes and 47 seconds
......@@ -80,6 +80,7 @@ impl ObjectImpl for WindowPrivate {
self.bg_entry.get_entry().get_style_context().add_class("bg-entry");
let reverse_btn = gtk::Button::new();
reverse_btn.set_tooltip_text(Some(&gettext("Reverse Colours")));
reverse_btn.set_halign(gtk::Align::Center);
reverse_btn.set_action_name(Some("window.reverse-colors"));
let reverse_img = gtk::Image::new_from_icon_name(Some("network-transmit-receive-symbolic"), gtk::IconSize::Button);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment