Put the vertical splitter at 3/8 * screen_width.

Sat Nov 12 23:39:29 2005  Soeren Sandmann  <sandmann@redhat.com>

        * sysprof.c (set_sizes): Put the vertical splitter at 3/8 *
        screen_width.

        * configure.ac: Disable warning.
This commit is contained in:
Soeren Sandmann
2005-11-13 04:28:57 +00:00
committed by Søren Sandmann Pedersen
parent 3a306d20d0
commit b6e9105cd2
3 changed files with 33 additions and 25 deletions

View File

@ -1231,13 +1231,12 @@ set_sizes (GtkWindow *window,
gtk_window_resize (window, width, height);
gtk_paned_set_position (GTK_PANED (vpaned), height / 2);
gtk_paned_set_position (GTK_PANED (hpaned), width / 2);
gtk_paned_set_position (GTK_PANED (hpaned), width * 3 / 8);
width = monitor.width * 5 / 8;
height = monitor.height * 5/ 8;
height = monitor.height * 5 / 8;
gtk_window_resize (screenshot_window, width, height);
}
static void