diff --git a/hw/xquartz/X11Controller.h b/hw/xquartz/X11Controller.h
index 7942bc44b..c6c719461 100644
--- a/hw/xquartz/X11Controller.h
+++ b/hw/xquartz/X11Controller.h
@@ -78,7 +78,6 @@
- (void) server_ready;
- (IBAction) apps_table_show:(id)sender;
-- (IBAction) apps_table_cancel:(id)sender;
- (IBAction) apps_table_done:(id)sender;
- (IBAction) apps_table_new:(id)sender;
- (IBAction) apps_table_duplicate:(id)sender;
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m
index 19a4d2b8f..a56fc5c3a 100644
--- a/hw/xquartz/X11Controller.m
+++ b/hw/xquartz/X11Controller.m
@@ -389,12 +389,14 @@
- (IBAction) apps_table_show:sender
{
NSArray *columns;
+ NSMutableArray *oldapps = nil;
- if (table_apps == nil) {
- table_apps = [[NSMutableArray alloc] initWithCapacity:1];
-
- if (apps != nil)[table_apps addObjectsFromArray:apps];
- }
+ if (table_apps != nil)
+ oldapps = table_apps;
+
+ table_apps = [[NSMutableArray alloc] initWithCapacity:1];
+ if(apps != nil)
+ [table_apps addObjectsFromArray:apps];
columns = [apps_table tableColumns];
[[columns objectAtIndex:0] setIdentifier:@"0"];
@@ -405,15 +407,9 @@
[apps_table selectRow:0 byExtendingSelection:NO];
[[apps_table window] makeKeyAndOrderFront:sender];
-}
-
-- (IBAction) apps_table_cancel:sender
-{
- [[apps_table window] orderOut:sender];
[apps_table reloadData];
-
- [table_apps release];
- table_apps = nil;
+ if(oldapps != nil)
+ [oldapps release];
}
- (IBAction) apps_table_done:sender
diff --git a/hw/xquartz/bundle/Resources/English.lproj/main.nib/designable.nib b/hw/xquartz/bundle/Resources/English.lproj/main.nib/designable.nib
index fd7d85a7c..ea5dd835d 100644
--- a/hw/xquartz/bundle/Resources/English.lproj/main.nib/designable.nib
+++ b/hw/xquartz/bundle/Resources/English.lproj/main.nib/designable.nib
@@ -8,7 +8,7 @@
352.00
{{0, 0}, {1280, 938}}
- {213, 129}
+ {320, 262}
{3.40282e+38, 3.40282e+38}
x11_prefs
@@ -1101,7 +1100,7 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
{3.40282e+38, 3.40282e+38}
{320, 240}
-
+
256
YES
@@ -1190,14 +1189,14 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
YES
-
- 9.900000e+01
- 4.000000e+01
+
+ 1.217310e+02
+ 6.273100e+01
1.000000e+03
-
+
338820672
1024
Text Cell
@@ -1227,19 +1226,19 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
YES
-
- 1.217310e+02
- 6.273100e+01
+
+ 9.900000e+01
+ 4.000000e+01
1.000000e+03
-
+
338820672
1024
Text Cell
@@ -1393,8 +1392,34 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
25
+
+
+ 289
+ {{340, 12}, {100, 32}}
+
+ YES
+
+ 67239424
+ 137887744
+ Done
+
+
+ -2038284033
+ 1
+
+
+
+
+
+
+
+ 200
+ 25
+
+
{454, 271}
+
{{0, 0}, {1280, 938}}
{320, 262}
@@ -1939,6 +1964,14 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
300394
+
+
+ apps_table_done:
+
+
+
+ 300420
+
@@ -2551,6 +2584,7 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
+
@@ -2959,6 +2993,20 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
+
+ 300418
+
+
+ YES
+
+
+
+
+
+ 300419
+
+
+
@@ -3091,6 +3139,8 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
300368.ImportedFromIB2
300370.IBPluginDependency
300370.ImportedFromIB2
+ 300418.IBPluginDependency
+ 300418.ImportedFromIB2
305.IBPluginDependency
305.ImportedFromIB2
310.IBPluginDependency
@@ -3266,9 +3316,9 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
com.apple.InterfaceBuilder.CocoaPlugin
{{271, 666}, {301, 153}}
- {{313, 353}, {484, 280}}
+ {{423, 622}, {484, 280}}
com.apple.InterfaceBuilder.CocoaPlugin
- {{313, 353}, {484, 280}}
+ {{423, 622}, {484, 280}}
{{184, 290}, {481, 345}}
@@ -3284,11 +3334,11 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
{{100, 746}, {155, 33}}
com.apple.InterfaceBuilder.CocoaPlugin
- {{407, 585}, {454, 271}}
+ {{68, 708}, {454, 271}}
com.apple.InterfaceBuilder.CocoaPlugin
- {{407, 585}, {454, 271}}
+ {{68, 708}, {454, 271}}
{{433, 406}, {486, 327}}
@@ -3430,6 +3480,8 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+
{{12, 633}, {218, 203}}
com.apple.InterfaceBuilder.CocoaPlugin
@@ -3466,7 +3518,7 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
- 300397
+ 300420
@@ -3496,6 +3548,109 @@ d2hpY2ggbWF5IHByZXZlbnQgWDExIGFwcGxpY2F0aW9ucyBmcm9tIGxhdW5jaGluZy4
+
+ YES
+
+ X11Controller
+ NSObject
+
+ YES
+
+ YES
+ apps_table_delete:
+ apps_table_done:
+ apps_table_duplicate:
+ apps_table_new:
+ apps_table_show:
+ bring_to_front:
+ close_window:
+ enable_fullscreen_changed:
+ minimize_window:
+ next_window:
+ prefs_changed:
+ prefs_show:
+ previous_window:
+ quit:
+ toggle_fullscreen:
+ x11_help:
+ zoom_window:
+
+
+ YES
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+ id
+
+
+
+ YES
+
+ YES
+ apps_separator
+ apps_table
+ click_through
+ depth
+ dock_apps_menu
+ dock_menu
+ dock_window_separator
+ enable_auth
+ enable_fullscreen
+ enable_keyequivs
+ enable_tcp
+ fake_buttons
+ focus_follows_mouse
+ focus_on_new_window
+ prefs_panel
+ sync_keymap
+ toggle_fullscreen_item
+ use_sysbeep
+ window_separator
+ x11_about_item
+
+
+ YES
+ NSMenuItem
+ NSTableView
+ NSButton
+ NSPopUpButton
+ NSMenu
+ NSMenu
+ NSMenuItem
+ NSButton
+ NSButton
+ NSButton
+ NSButton
+ NSButton
+ NSButton
+ NSButton
+ NSPanel
+ NSButton
+ NSMenuItem
+ NSButton
+ NSMenuItem
+ NSMenuItem
+
+
+
+ IBDocumentRelativeSource
+ ../../../X11Controller.h
+
+
+
0
../X11.xcodeproj
diff --git a/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib b/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib
index fc82ba062..e65937ed5 100644
Binary files a/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib and b/hw/xquartz/bundle/Resources/English.lproj/main.nib/keyedobjects.nib differ