/[xlog]/xlog/src/gui_pathselectiondialog.c
ViewVC logotype

Diff of /xlog/src/gui_pathselectiondialog.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by pa4tu, Tue Sep 28 19:49:21 2004 UTC revision 1.5 by pa4tu, Thu Sep 30 16:38:16 2004 UTC
# Line 52  on_pathbutton_clicked (GtkButton * butto Line 52  on_pathbutton_clicked (GtkButton * butto
52                  gtk_window_set_icon (GTK_WINDOW (pathselection), pathselection_icon_pixbuf);                  gtk_window_set_icon (GTK_WINDOW (pathselection), pathselection_icon_pixbuf);
53                  g_object_unref (pathselection_icon_pixbuf);                  g_object_unref (pathselection_icon_pixbuf);
54          }          }
         gtk_dialog_set_default_response (GTK_DIALOG (pathselection), GTK_RESPONSE_OK);  
55    
56            gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (pathselection),
57                    g_get_home_dir ());
58            gtk_widget_set_sensitive (preferencesdialog, 0);
59          response = gtk_dialog_run (GTK_DIALOG(pathselection));          response = gtk_dialog_run (GTK_DIALOG(pathselection));
60          if (response == GTK_RESPONSE_OK)          if (response == GTK_RESPONSE_OK)
61          {          {
# Line 63  on_pathbutton_clicked (GtkButton * butto Line 65  on_pathbutton_clicked (GtkButton * butto
65                  gtk_entry_set_text (GTK_ENTRY (pathentry), selpath);                  gtk_entry_set_text (GTK_ENTRY (pathentry), selpath);
66                  g_free (selpath);                  g_free (selpath);
67          }          }
68            gtk_widget_set_sensitive (preferencesdialog, 1);
69          gtk_widget_destroy (pathselection);          gtk_widget_destroy (pathselection);
70  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26