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:

committed by
Michael Natterer

parent
381f3e2c2e
commit
3e1fceb442
@ -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>
|
Mon Mar 8 16:45:06 PST 1999 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* Made 1.1.3 release
|
* Made 1.1.3 release
|
||||||
|
@ -657,7 +657,11 @@ create_device_status (void)
|
|||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
||||||
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
|
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;
|
deviceD->num_devices = 0;
|
||||||
tmp_list = devices_info;
|
tmp_list = devices_info;
|
||||||
|
@ -657,7 +657,11 @@ create_device_status (void)
|
|||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
||||||
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
|
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;
|
deviceD->num_devices = 0;
|
||||||
tmp_list = devices_info;
|
tmp_list = devices_info;
|
||||||
|
@ -657,7 +657,11 @@ create_device_status (void)
|
|||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
||||||
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
|
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;
|
deviceD->num_devices = 0;
|
||||||
tmp_list = devices_info;
|
tmp_list = devices_info;
|
||||||
|
@ -657,7 +657,11 @@ create_device_status (void)
|
|||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
||||||
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
|
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;
|
deviceD->num_devices = 0;
|
||||||
tmp_list = devices_info;
|
tmp_list = devices_info;
|
||||||
|
@ -657,7 +657,11 @@ create_device_status (void)
|
|||||||
|
|
||||||
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
gtk_window_set_title (GTK_WINDOW(deviceD->shell), _("Device Status"));
|
||||||
gtk_window_set_policy (GTK_WINDOW (deviceD->shell), FALSE, FALSE, TRUE);
|
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;
|
deviceD->num_devices = 0;
|
||||||
tmp_list = devices_info;
|
tmp_list = devices_info;
|
||||||
|
Reference in New Issue
Block a user