Commit 0be21f78 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

checked in a buggy version before ;)

1999-03-14  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* libgimp/gimppatheditor.c: checked in a buggy version before ;)
parent 98f9e4e4
1999-03-14 Michael Natterer <mitschel@cs.tu-berlin.de>
* libgimp/gimppatheditor.c: checked in a buggy version before ;)
1999-03-14 Michael Natterer <mitschel@cs.tu-berlin.de>
* app/app_procs.c: only save sessionrc if the corresponding
......
......@@ -404,8 +404,7 @@ gimp_path_editor_new_callback (GtkWidget *widget,
gtk_widget_set_sensitive (gpe->delete_button, FALSE);
gtk_widget_set_sensitive (gpe->up_button, FALSE);
gtk_widget_set_sensitive (gpe->down_button, FALSE);
gtk_widget_set_sensitive (GIMP_FILE_SELECTION (gpe->file_selection)->entry, TRUE);
gtk_widget_set_sensitive (GIMP_FILE_SELECTION (gpe->file_selection)->browse_button, TRUE);
gtk_widget_set_sensitive (gpe->file_selection, TRUE);
gtk_editable_set_position (GTK_EDITABLE (GIMP_FILE_SELECTION (gpe->file_selection)->entry), -1);
/* gtk_editable_select_region (GTK_EDITABLE (gpe->entry), 0, -1); */
......@@ -488,6 +487,8 @@ gimp_path_editor_filesel_callback (GtkWidget *widget,
gchar *directory;
directory = gimp_file_selection_get_filename (GIMP_FILE_SELECTION (widget));
if (strcmp (directory, "") == 0)
return;
if (gpe->selected_item == NULL)
{
......
......@@ -404,8 +404,7 @@ gimp_path_editor_new_callback (GtkWidget *widget,
gtk_widget_set_sensitive (gpe->delete_button, FALSE);
gtk_widget_set_sensitive (gpe->up_button, FALSE);
gtk_widget_set_sensitive (gpe->down_button, FALSE);
gtk_widget_set_sensitive (GIMP_FILE_SELECTION (gpe->file_selection)->entry, TRUE);
gtk_widget_set_sensitive (GIMP_FILE_SELECTION (gpe->file_selection)->browse_button, TRUE);
gtk_widget_set_sensitive (gpe->file_selection, TRUE);
gtk_editable_set_position (GTK_EDITABLE (GIMP_FILE_SELECTION (gpe->file_selection)->entry), -1);
/* gtk_editable_select_region (GTK_EDITABLE (gpe->entry), 0, -1); */
......@@ -488,6 +487,8 @@ gimp_path_editor_filesel_callback (GtkWidget *widget,
gchar *directory;
directory = gimp_file_selection_get_filename (GIMP_FILE_SELECTION (widget));
if (strcmp (directory, "") == 0)
return;
if (gpe->selected_item == NULL)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment