Commits

ryanackley committed bdc0a48

No functional changes, I was experimenting with the modal dialog

  • Participants
  • Parent commits d11c545

Comments (0)

Files changed (1)

X11/DialogManagerX11.cpp

 				      NULL,
 				      forFile ? GTK_FILE_CHOOSER_ACTION_OPEN : GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
 				      GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-				      GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+				      GTK_STOCK_OPEN, GTK_RESPONSE_OK,
 				      NULL);
+
+
     gtk_widget_realize(dialog);
     GdkWindow* gdk_window = gtk_widget_get_window(dialog);
     Window w = getActiveWindow();
+
     if (w != None)
     {
 		XSetTransientForHint(GDK_WINDOW_XDISPLAY(gdk_window),
 							   GDK_WINDOW_XID(gdk_window),
 							   w);
     }
-    if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
+    if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK)
     {
         char *filename;
         filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));