gnome-media r3796 - in trunk: . gst-mixer/src profiles



Author: malureau
Date: Mon Mar 17 00:29:26 2008
New Revision: 3796
URL: http://svn.gnome.org/viewvc/gnome-media?rev=3796&view=rev

Log:
2008-03-17  Marc-Andre Lureau  <marcandre lureau gmail com>

        * gst-mixer/src/track.c, profiles/audio-profiles-edit.c: Move code
        comments to avoid them being close to translatable strings.
        (Closes: #504422)


Modified:
   trunk/ChangeLog
   trunk/gst-mixer/src/track.c
   trunk/profiles/audio-profiles-edit.c

Modified: trunk/gst-mixer/src/track.c
==============================================================================
--- trunk/gst-mixer/src/track.c	(original)
+++ trunk/gst-mixer/src/track.c	Mon Mar 17 00:29:26 2008
@@ -375,13 +375,12 @@
     return ctrl;
   }
 
+  /* only the record button here */
+  msg = g_strdup_printf (_("Toggle audio recording from %s"), ctrl->track->label);
   /* FIXME:
    * - there's something fishy about this button, it
    *     is always FALSE.
    */
-
-  /* only the record button here */
-  msg = g_strdup_printf (_("Toggle audio recording from %s"), ctrl->track->label);
   button = gnome_volume_control_button_new (GNOME_VOLUME_CONTROL_STOCK_RECORD,
 					    GNOME_VOLUME_CONTROL_STOCK_NORECORD,
 					    appbar, msg);

Modified: trunk/profiles/audio-profiles-edit.c
==============================================================================
--- trunk/profiles/audio-profiles-edit.c	(original)
+++ trunk/profiles/audio-profiles-edit.c	Mon Mar 17 00:29:26 2008
@@ -581,8 +581,6 @@
   GtkRequisition req;
   GtkTreeSelection *selection;
 
-  dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialog, GM_AUDIO_TYPE_PROFILES_EDIT, GMAudioProfilesEditPrivate);
-
   /*
   dialog =
     gtk_dialog_new_with_buttons (_("Edit Profiles"),
@@ -595,6 +593,8 @@
                                  NULL);
   */
                                  // FIXME: GTK_DIALOG_DESTROY_WITH_PARENT,
+  dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialog, GM_AUDIO_TYPE_PROFILES_EDIT, GMAudioProfilesEditPrivate);
+
   gtk_window_set_title (GTK_WINDOW (dialog), _("Edit GNOME Audio Profiles"));
   gtk_window_set_default_size (GTK_WINDOW (dialog), 320, 240);
   gtk_dialog_add_buttons (GTK_DIALOG (dialog),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]