diff --git a/Gtk4/res/leftpanel.ui b/Gtk4/res/leftpanel.ui
index 9d10b2e..b7ba842 100644
--- a/Gtk4/res/leftpanel.ui
+++ b/Gtk4/res/leftpanel.ui
@@ -53,7 +53,7 @@
@@ -148,7 +148,7 @@
diff --git a/Gtk4/src/core/LeftPanel.cpp b/Gtk4/src/core/LeftPanel.cpp
index 4488a33..1b4bbba 100644
--- a/Gtk4/src/core/LeftPanel.cpp
+++ b/Gtk4/src/core/LeftPanel.cpp
@@ -77,7 +77,7 @@ void left_panel_set_parent(LeftPanel *self, GtkWindow *parent_win1)
// Fix the height < 400
int height = main_win_get_height(MAIN_WIN(parent_win1));
int width = main_win_get_width(MAIN_WIN(parent_win1));
- if (height < 400 || width < 800)
+ if (height <= 470 || width <= 820)
{
gtk_widget_set_size_request(self->popover1, 320, height - 40);
self->win_height = height - 60;
@@ -86,8 +86,8 @@ void left_panel_set_parent(LeftPanel *self, GtkWindow *parent_win1)
else
{
gtk_widget_set_size_request(self->popover1, 320, 400);
- self->win_height = 800;
- self->win_width = 450;
+ self->win_height = 450;
+ self->win_width = 800;
}
}
diff --git a/Gtk4/src/media_app/MediaPlayer.cpp b/Gtk4/src/media_app/MediaPlayer.cpp
index 6a36ec2..003c9fb 100644
--- a/Gtk4/src/media_app/MediaPlayer.cpp
+++ b/Gtk4/src/media_app/MediaPlayer.cpp
@@ -74,9 +74,9 @@ static void about_activated(GSimpleAction *action,
"copyright", "© 2019—2024 The Xe Project",
"comments", "A Simple Media Player",
"authors", authors,
- "logo-icon-name", "media-player1",
+ "logo-icon-name", "multimedia-player1",
"title", "About Gtk4 Media",
- NULL);
+ NULL, nullptr);
}
// static void dialog_response(GtkWidget *widget, int response, MediaPlayer *player)