Commit 1d364491 authored by Tristan Matthews's avatar Tristan Matthews

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

parent 4b6b2cbf
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment