mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-26 18:22:48 +08:00
opt & fix:
- main window ui: adapt pc logic - fix: platform infomation using device info plus Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
@ -41,11 +41,11 @@ static void my_application_activate(GApplication* application) {
|
||||
if (use_header_bar) {
|
||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
gtk_header_bar_set_title(header_bar, "flutter_hbb");
|
||||
gtk_header_bar_set_title(header_bar, "rustdesk");
|
||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||
} else {
|
||||
gtk_window_set_title(window, "flutter_hbb");
|
||||
gtk_window_set_title(window, "rustdesk");
|
||||
}
|
||||
|
||||
auto bdw = bitsdojo_window_from(window); // <--- add this line
|
||||
|
Reference in New Issue
Block a user