diff options
author | fiaxh <git@lightrise.org> | 2022-05-14 14:45:59 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-07-27 20:34:20 +0200 |
commit | f44cbe02c17df1f02ad49c63cd784fec0ea02d85 (patch) | |
tree | 4cab9b5f84d88769d19b0698e24b318f50b6144e /main/src/ui/main_window.vala | |
parent | 2b3ce5fc95c63ed7d54e207db0585c8b8bbcd603 (diff) | |
download | dino-f44cbe02c17df1f02ad49c63cd784fec0ea02d85.tar.gz dino-f44cbe02c17df1f02ad49c63cd784fec0ea02d85.zip |
Improve Gtk4 port
Diffstat (limited to 'main/src/ui/main_window.vala')
-rw-r--r-- | main/src/ui/main_window.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/main_window.vala b/main/src/ui/main_window.vala index a7e78b5d..1f1a7688 100644 --- a/main/src/ui/main_window.vala +++ b/main/src/ui/main_window.vala @@ -49,7 +49,7 @@ public class MainWindow : Gtk.Window { this.title = "Dino"; - this.get_style_context().add_class("dino-main"); + this.add_css_class("dino-main"); Gtk.Settings.get_default().notify["gtk-decoration-layout"].connect(set_window_buttons); ((Widget)this).realize.connect(set_window_buttons); @@ -77,7 +77,7 @@ public class MainWindow : Gtk.Window { search_frame.set_child(global_search.get_widget()); Image conversation_list_placeholder_image = (Image) builder.get_object("conversation_list_placeholder_image"); - conversation_list_placeholder_image.set_from_pixbuf(new Pixbuf.from_resource("/im/dino/Dino/icons/dino-conversation-list-placeholder-arrow.svg")); + conversation_list_placeholder_image.set_from_pixbuf(new Pixbuf.from_resource("/im/dino/Dino/icons/scalable/ui/dino-conversation-list-placeholder-arrow.svg")); } private void setup_headerbar() { |