Search
lxdream.org :: lxdream/src/gui/path_dlg.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/path_dlg.c
changeset 481:3b2d6c5a19ad
prev461:63d4de8dcec6
next508:ccd2c10edfe6
author nkeynes
date Wed Oct 31 12:05:23 2007 +0000 (15 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/gui/path_dlg.c Tue Oct 23 10:48:24 2007 +0000
1.2 +++ b/src/gui/path_dlg.c Wed Oct 31 12:05:23 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: path_dlg.c,v 1.3 2007-10-23 10:48:24 nkeynes Exp $
1.6 + * $Id: path_dlg.c,v 1.4 2007-10-31 12:05:23 nkeynes Exp $
1.7 *
1.8 * Define the main (emu) GTK window, along with its menubars,
1.9 * toolbars, etc.
1.10 @@ -21,6 +21,7 @@
1.11 #include <gtk/gtk.h>
1.12
1.13 #include "dream.h"
1.14 +#include "dreamcast.h"
1.15 #include "config.h"
1.16 #include "gui/gtkui.h"
1.17
1.18 @@ -55,6 +56,7 @@
1.19 gtk_entry_set_text(GTK_ENTRY(entry), filename);
1.20 }
1.21 gtk_widget_destroy(file);
1.22 + return TRUE;
1.23 }
1.24
1.25 static gboolean path_dir_button_clicked( GtkWidget *button, gpointer user_data )
1.26 @@ -76,17 +78,12 @@
1.27 gtk_entry_set_text(GTK_ENTRY(entry), filename);
1.28 }
1.29 gtk_widget_destroy(file);
1.30 -}
1.31 -
1.32 -static gboolean path_text_changed( GtkWidget *entry, gpointer user_data )
1.33 -{
1.34 - const gchar *text = gtk_entry_get_text( GTK_ENTRY(entry) );
1.35 + return TRUE;
1.36 }
1.37
1.38 GtkWidget *path_panel_new(void)
1.39 {
1.40 GtkWidget *table = gtk_table_new( 5, 3, FALSE );
1.41 - GtkWidget *desc = gtk_label_new(NULL);
1.42 int i;
1.43 for( i=0; i<5; i++ ) {
1.44 GtkWidget *text = path_entry[i] = gtk_entry_new();
.