changeset 985:029056fb9f9d trunk

[svn] - rename titles of configure windows. - change packing order of OK and Cancel button in MP3 configuration window. now these buttons use stock icons.
author yaz
date Mon, 30 Apr 2007 20:24:34 -0700
parents df7b09989aee
children 5523559a1eac
files ChangeLog src/filewriter/filewriter.c src/filewriter/mp3.c
diffstat 3 files changed, 33 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Apr 30 14:16:32 2007 -0700
+++ b/ChangeLog	Mon Apr 30 20:24:34 2007 -0700
@@ -1,3 +1,25 @@
+2007-04-30 21:16:32 +0000  Michael Farber <01mf02@gmail.com>
+  revision [2108]
+  - We got a new plugin, captain!
+  - FileWriter is the ultimate plugin for dumping audio to files. It 
+  should be the successor of Disk Writer and Out-Lame, as it supports the 
+  same output formats as those (WAVE and MP3). The main advantage of 
+  having only one file dumping plugin for many formats is that not every 
+  plugin has to think about file handling (where to write files to, how to 
+  call them etc.) that much anymore.
+  - FileWriter is also very extensible - adding new output formats should 
+  be very easy.
+  
+  
+  trunk/src/filewriter/Makefile     |   15 
+  trunk/src/filewriter/filewriter.c |  624 +++++++++++
+  trunk/src/filewriter/filewriter.h |   64 +
+  trunk/src/filewriter/mp3.c        | 1999 ++++++++++++++++++++++++++++++++++++++
+  trunk/src/filewriter/plugins.h    |   30 
+  trunk/src/filewriter/wav.c        |  118 ++
+  6 files changed, 2850 insertions(+)
+
+
 2007-04-28 22:27:15 +0000  Michael Farber <01mf02@gmail.com>
   revision [2106]
   - Out-Lame can now prepend the playlist position to the filename if the 
--- a/src/filewriter/filewriter.c	Mon Apr 30 14:16:32 2007 -0700
+++ b/src/filewriter/filewriter.c	Mon Apr 30 20:24:34 2007 -0700
@@ -473,7 +473,7 @@
                            &configure_win);
 
         gtk_window_set_title(GTK_WINDOW(configure_win),
-                             _("Disk Writer Configuration"));
+                             _("File Writer Configuration"));
         gtk_window_set_position(GTK_WINDOW(configure_win), GTK_WIN_POS_MOUSE);
 
         gtk_container_set_border_width(GTK_CONTAINER(configure_win), 10);
--- a/src/filewriter/mp3.c	Mon Apr 30 14:16:32 2007 -0700
+++ b/src/filewriter/mp3.c	Mon Apr 30 20:24:34 2007 -0700
@@ -665,7 +665,7 @@
                            GTK_SIGNAL_FUNC(gtk_widget_destroyed),
                            &configure_win);
         gtk_window_set_title(GTK_WINDOW(configure_win),
-                             "Out-Lame Configuration");
+                             "MP3 Configuration");
         gtk_window_set_position(GTK_WINDOW(configure_win),
                                 GTK_WIN_POS_MOUSE);
         gtk_window_set_policy(GTK_WINDOW(configure_win), FALSE, TRUE,
@@ -1965,7 +1965,15 @@
         gtk_button_box_set_spacing(GTK_BUTTON_BOX(configure_bbox), 5);
         gtk_box_pack_start(GTK_BOX(vbox), configure_bbox, FALSE, FALSE, 0);
 
-        configure_ok = gtk_button_new_with_label("Ok");
+        configure_cancel = gtk_button_new_from_stock(GTK_STOCK_CANCEL);
+        gtk_signal_connect_object(GTK_OBJECT(configure_cancel), "clicked",
+                                  GTK_SIGNAL_FUNC(gtk_widget_destroy),
+                                  GTK_OBJECT(configure_win));
+        GTK_WIDGET_SET_FLAGS(configure_cancel, GTK_CAN_DEFAULT);
+        gtk_box_pack_start(GTK_BOX(configure_bbox), configure_cancel, TRUE,
+                           TRUE, 0);
+
+        configure_ok = gtk_button_new_from_stock(GTK_STOCK_OK);
         gtk_signal_connect(GTK_OBJECT(configure_ok), "clicked",
                            GTK_SIGNAL_FUNC(configure_ok_cb), NULL);
         GTK_WIDGET_SET_FLAGS(configure_ok, GTK_CAN_DEFAULT);
@@ -1974,14 +1982,6 @@
         gtk_widget_show(configure_ok);
         gtk_widget_grab_default(configure_ok);
 
-        configure_cancel = gtk_button_new_with_label("Cancel");
-        gtk_signal_connect_object(GTK_OBJECT(configure_cancel), "clicked",
-                                  GTK_SIGNAL_FUNC(gtk_widget_destroy),
-                                  GTK_OBJECT(configure_win));
-        GTK_WIDGET_SET_FLAGS(configure_cancel, GTK_CAN_DEFAULT);
-        gtk_box_pack_start(GTK_BOX(configure_bbox), configure_cancel, TRUE,
-                           TRUE, 0);
-
         /* Set States */
 
         if (vbr_on == 1)