Skip to content
Snippets Groups Projects
Commit 1d364491 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #29977: gnome: always put volume controls above dialpad

parent 4b6b2cbf
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,12 @@ create_main_window(SFLPhoneClient *client)
g_object_ref(speaker_control);
g_object_ref(mic_control);
if (g_settings_get_boolean(client->settings, "show-dialpad")) {
dialpad = create_dialpad(client);
gtk_box_pack_end(GTK_BOX(subvbox), dialpad, FALSE, TRUE, 0);
gtk_widget_show_all(dialpad);
}
if (must_show_volume(client)) {
gtk_box_pack_end(GTK_BOX(subvbox), speaker_control, FALSE, TRUE, 0);
gtk_box_pack_end(GTK_BOX(subvbox), mic_control, FALSE, TRUE, 0);
......@@ -330,11 +336,6 @@ create_main_window(SFLPhoneClient *client)
gtk_widget_hide(mic_control);
}
if (g_settings_get_boolean(client->settings, "show-dialpad")) {
dialpad = create_dialpad(client);
gtk_box_pack_end(GTK_BOX(subvbox), dialpad, FALSE, TRUE, 0);
gtk_widget_show_all(dialpad);
}
/* Status bar */
statusBar = gtk_statusbar_new();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment