[xiph-commits] r18420 - trunk/spectrum
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Tue Jun 19 22:45:36 PDT 2012
Author: xiphmont
Date: 2012-06-19 22:45:35 -0700 (Tue, 19 Jun 2012)
New Revision: 18420
Modified:
trunk/spectrum/version.h
trunk/spectrum/wave_panel.c
Log:
Move plot type selector to upper group
Modified: trunk/spectrum/version.h
===================================================================
--- trunk/spectrum/version.h 2012-06-20 05:40:47 UTC (rev 18419)
+++ trunk/spectrum/version.h 2012-06-20 05:45:35 UTC (rev 18420)
@@ -1,2 +1,2 @@
#define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Wed Jun 20 01:39:44 EDT 2012] */
+/* DO NOT EDIT: Automated versioning hack [Wed Jun 20 01:44:39 EDT 2012] */
Modified: trunk/spectrum/wave_panel.c
===================================================================
--- trunk/spectrum/wave_panel.c 2012-06-20 05:40:47 UTC (rev 18419)
+++ trunk/spectrum/wave_panel.c 2012-06-20 05:45:35 UTC (rev 18420)
@@ -695,7 +695,20 @@
}
gtk_combo_box_set_active(GTK_COMBO_BOX(scalemenu),0);
gtk_combo_box_set_active(GTK_COMBO_BOX(rangemenu),4);
+
+ /* plot type */
{
+ GtkWidget *menu=gtk_combo_box_new_text();
+ char *entries[]={"zero-hold","interpolated","lollipop",NULL};
+ for(i=0;entries[i];i++)
+ gtk_combo_box_append_text (GTK_COMBO_BOX (menu), entries[i]);
+ gtk_combo_box_set_active(GTK_COMBO_BOX(menu),0);
+ g_signal_connect (G_OBJECT (menu), "changed",
+ G_CALLBACK (plotchange), NULL);
+ gtk_box_pack_start(GTK_BOX(bbox),menu,0,0,0);
+ }
+
+ {
GtkWidget *sep=gtk_hseparator_new();
gtk_box_pack_start(GTK_BOX(bbox),sep,0,0,4);
}
@@ -746,19 +759,7 @@
gtk_box_pack_start(GTK_BOX(bbox),menu,1,1,0);
}
- /* plot type */
{
- GtkWidget *menu=gtk_combo_box_new_text();
- char *entries[]={"zero-hold","interpolated","lollipop",NULL};
- for(i=0;entries[i];i++)
- gtk_combo_box_append_text (GTK_COMBO_BOX (menu), entries[i]);
- gtk_combo_box_set_active(GTK_COMBO_BOX(menu),0);
- g_signal_connect (G_OBJECT (menu), "changed",
- G_CALLBACK (plotchange), NULL);
- gtk_box_pack_start(GTK_BOX(bbox),menu,0,0,0);
- }
-
- {
GtkWidget *sep=gtk_hseparator_new();
gtk_box_pack_start(GTK_BOX(bbox),sep,0,0,4);
}
More information about the commits
mailing list