gladish: adjust initial box position randomization algorithm; increase default window size to 800x600

This commit is contained in:
Nedko Arnaudov 2009-12-22 00:12:59 +02:00
parent a1f4684a34
commit 617158f6f9
2 changed files with 4 additions and 4 deletions

View File

@ -252,7 +252,7 @@ client_appeared(
&x_str))
{
x_str = NULL;
x = width / 2 - 100 + rand() % 400;
x = width / 2 - 200 + rand() % 300;
}
if (!graph_proxy_dict_entry_get(
@ -263,7 +263,7 @@ client_appeared(
&y_str))
{
y_str = NULL;
y = height / 2 - 100 + rand() % 400;
y = height / 2 - 200 + rand() % 300;
}
if (x_str != NULL || y_str != NULL)

View File

@ -5,8 +5,8 @@
<widget class="GtkWindow" id="main_win">
<property name="border_width">1</property>
<property name="title" translatable="yes">LADI Session Handler</property>
<property name="default_width">70</property>
<property name="default_height">400</property>
<property name="default_width">800</property>
<property name="default_height">600</property>
<child>
<widget class="GtkVBox" id="main_vbox">
<property name="visible">True</property>