gnome-media r4057 - in trunk/gnome-volume-control: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-media r4057 - in trunk/gnome-volume-control: . src
- Date: Wed, 12 Nov 2008 19:37:50 +0000 (UTC)
Author: mccann
Date: Wed Nov 12 19:37:50 2008
New Revision: 4057
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4057&view=rev
Log:
2008-11-12 William Jon McCann <jmccann redhat com>
* src/gvc-mixer-dialog.c (gvc_mixer_dialog_constructor):
Switch order of input and output tabs.
Modified:
trunk/gnome-volume-control/ChangeLog
trunk/gnome-volume-control/src/gvc-mixer-dialog.c
Modified: trunk/gnome-volume-control/src/gvc-mixer-dialog.c
==============================================================================
--- trunk/gnome-volume-control/src/gvc-mixer-dialog.c (original)
+++ trunk/gnome-volume-control/src/gvc-mixer-dialog.c Wed Nov 12 19:37:50 2008
@@ -647,71 +647,69 @@
G_CALLBACK (on_audible_bell_toggled),
self);
- /* Output page */
- self->priv->output_box = gtk_vbox_new (FALSE, 12);
- gtk_container_set_border_width (GTK_CONTAINER (self->priv->output_box), 12);
- label = gtk_label_new (_("Output"));
+ /* Input page */
+ self->priv->input_box = gtk_vbox_new (FALSE, 12);
+ gtk_container_set_border_width (GTK_CONTAINER (self->priv->input_box), 12);
+ label = gtk_label_new (_("Input"));
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
- self->priv->output_box,
+ self->priv->input_box,
label);
- box = gtk_frame_new (_("Choose a device for sound output"));
+ self->priv->input_bar = create_bar (self);
+ gvc_channel_bar_set_name (GVC_CHANNEL_BAR (self->priv->input_bar),
+ _("Input volume: "));
+ gtk_widget_set_sensitive (self->priv->input_bar, FALSE);
+ gtk_box_pack_start (GTK_BOX (self->priv->input_box),
+ self->priv->input_bar, FALSE, FALSE, 12);
+
+ box = gtk_frame_new (_("Choose a device for sound input"));
label = gtk_frame_get_label_widget (GTK_FRAME (box));
_gtk_label_make_bold (GTK_LABEL (label));
gtk_frame_set_shadow_type (GTK_FRAME (box), GTK_SHADOW_NONE);
- gtk_box_pack_start (GTK_BOX (self->priv->output_box), box, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (self->priv->input_box), box, TRUE, TRUE, 0);
alignment = gtk_alignment_new (0, 0, 1, 1);
gtk_container_add (GTK_CONTAINER (box), alignment);
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 6, 0, 0, 0);
- self->priv->output_treeview = create_stream_treeview (self);
+ self->priv->input_treeview = create_stream_treeview (self);
box = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (box),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (box),
GTK_SHADOW_IN);
- gtk_container_add (GTK_CONTAINER (box), self->priv->output_treeview);
+ gtk_container_add (GTK_CONTAINER (box), self->priv->input_treeview);
gtk_container_add (GTK_CONTAINER (alignment), box);
-
- /* Input page */
- self->priv->input_box = gtk_vbox_new (FALSE, 12);
- gtk_container_set_border_width (GTK_CONTAINER (self->priv->input_box), 12);
- label = gtk_label_new (_("Input"));
+ /* Output page */
+ self->priv->output_box = gtk_vbox_new (FALSE, 12);
+ gtk_container_set_border_width (GTK_CONTAINER (self->priv->output_box), 12);
+ label = gtk_label_new (_("Output"));
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
- self->priv->input_box,
+ self->priv->output_box,
label);
- self->priv->input_bar = create_bar (self);
- gvc_channel_bar_set_name (GVC_CHANNEL_BAR (self->priv->input_bar),
- _("Input volume: "));
- gtk_widget_set_sensitive (self->priv->input_bar, FALSE);
- gtk_box_pack_start (GTK_BOX (self->priv->input_box),
- self->priv->input_bar, FALSE, FALSE, 12);
-
- box = gtk_frame_new (_("Choose a device for sound input"));
+ box = gtk_frame_new (_("Choose a device for sound output"));
label = gtk_frame_get_label_widget (GTK_FRAME (box));
_gtk_label_make_bold (GTK_LABEL (label));
gtk_frame_set_shadow_type (GTK_FRAME (box), GTK_SHADOW_NONE);
- gtk_box_pack_start (GTK_BOX (self->priv->input_box), box, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (self->priv->output_box), box, TRUE, TRUE, 0);
alignment = gtk_alignment_new (0, 0, 1, 1);
gtk_container_add (GTK_CONTAINER (box), alignment);
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 6, 0, 0, 0);
- self->priv->input_treeview = create_stream_treeview (self);
+ self->priv->output_treeview = create_stream_treeview (self);
box = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (box),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (box),
GTK_SHADOW_IN);
- gtk_container_add (GTK_CONTAINER (box), self->priv->input_treeview);
+ gtk_container_add (GTK_CONTAINER (box), self->priv->output_treeview);
gtk_container_add (GTK_CONTAINER (alignment), box);
-
/* Applications */
self->priv->applications_box = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (self->priv->applications_box), 12);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]