mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02: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:
parent
4519dd8cf9
commit
82895e6951
9 changed files with 278 additions and 191 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue