don't let session management set the size of the "Device Status" dialog,

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

        * app/devices.c: don't let session management set the size of the
        "Device Status" dialog, as the number of devices may change
        between sessions
This commit is contained in:
Michael Natterer 1999-03-11 17:16:18 +00:00 committed by Michael Natterer
parent 381f3e2c2e
commit 3e1fceb442
6 changed files with 31 additions and 5 deletions

View File

@ -1,3 +1,9 @@
1999-03-10 Michael Natterer <mitschel@cs.tu-berlin.de>
* app/devices.c: don't let session management set the size of the
"Device Status" dialog, as the number of devices may change
between sessions
Mon Mar 8 16:45:06 PST 1999 Manish Singh <yosh@gimp.org>
* Made 1.1.3 release

View File

@ -657,7 +657,11 @@ create_device_status (void)
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
session_set_window_geometry (deviceD->shell, &device_status_session_info, TRUE);
/* don't set the dialog's size, as the number of devices may have
* changed since the last session
*/
session_set_window_geometry (deviceD->shell,
&device_status_session_info, FALSE);
deviceD->num_devices = 0;
tmp_list = devices_info;

View File

@ -657,7 +657,11 @@ create_device_status (void)
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
session_set_window_geometry (deviceD->shell, &device_status_session_info, TRUE);
/* don't set the dialog's size, as the number of devices may have
* changed since the last session
*/
session_set_window_geometry (deviceD->shell,
&device_status_session_info, FALSE);
deviceD->num_devices = 0;
tmp_list = devices_info;

View File

@ -657,7 +657,11 @@ create_device_status (void)
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
session_set_window_geometry (deviceD->shell, &device_status_session_info, TRUE);
/* don't set the dialog's size, as the number of devices may have
* changed since the last session
*/
session_set_window_geometry (deviceD->shell,
&device_status_session_info, FALSE);
deviceD->num_devices = 0;
tmp_list = devices_info;

View File

@ -657,7 +657,11 @@ create_device_status (void)
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
session_set_window_geometry (deviceD->shell, &device_status_session_info, TRUE);
/* don't set the dialog's size, as the number of devices may have
* changed since the last session
*/
session_set_window_geometry (deviceD->shell,
&device_status_session_info, FALSE);
deviceD->num_devices = 0;
tmp_list = devices_info;

View File

@ -657,7 +657,11 @@ create_device_status (void)
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
session_set_window_geometry (deviceD->shell, &device_status_session_info, TRUE);
/* don't set the dialog's size, as the number of devices may have
* changed since the last session
*/
session_set_window_geometry (deviceD->shell,
&device_status_session_info, FALSE);
deviceD->num_devices = 0;
tmp_list = devices_info;