From b6e9105cd2697d3ebbb497e83b2212203018f402 Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Sun, 13 Nov 2005 04:28:57 +0000 Subject: [PATCH] Put the vertical splitter at 3/8 * screen_width. Sat Nov 12 23:39:29 2005 Soeren Sandmann * sysprof.c (set_sizes): Put the vertical splitter at 3/8 * screen_width. * configure.ac: Disable warning. --- ChangeLog | 7 +++++++ configure.ac | 46 ++++++++++++++++++++++++---------------------- sysprof.c | 5 ++--- 3 files changed, 33 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index a02a62a5..ef92ca59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Nov 12 23:39:29 2005 Soeren Sandmann + + * sysprof.c (set_sizes): Put the vertical splitter at 3/8 * + screen_width. + + * configure.ac: Disable warning. + Sat Nov 12 19:44:43 2005 Søren Sandmann * module/sysprof-module.c (read_frame): New function that uses diff --git a/configure.ac b/configure.ac index bd9db835..d1eb3bc2 100644 --- a/configure.ac +++ b/configure.ac @@ -117,25 +117,27 @@ Makefile AC_OUTPUT -echo -echo "%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%" -echo "@" -echo "@ Thank you for testing cvs HEAD of sysprof." -echo "%" -echo "% There are currently no known bugs in the kernel" -echo "@ module in this version, but there could easily be" -echo "% unknown ones. Please report any crashes or lockups" -echo "@ that you experience." -echo "%" -echo "@" -echo "% If you need a stable version of sysprof, either" -echo "@ get version 1.0 from" -echo "%" -echo "@ http://www.daimi.au.dk/~sandmann/sysprof" -echo "%" -echo "@ or do" -echo "%" -echo "@ cvs -z3 upd -r sysprof-1-0" -echo "%" -echo "@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@" -echo +if 0; then + echo + echo "%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%" + echo "@" + echo "% Thank you for testing cvs HEAD of sysprof." + echo "@" + echo "% There are currently no known bugs in the kernel" + echo "@ module in this version, but there could easily be" + echo "% unknown ones. Please report any crashes or lockups" + echo "@ that you experience." + echo "%" + echo "@" + echo "% If you need a stable version of sysprof, either" + echo "@ get version 1.0 from" + echo "%" + echo "@ http://www.daimi.au.dk/~sandmann/sysprof" + echo "%" + echo "@ or do" + echo "%" + echo "@ cvs -z3 upd -r sysprof-1-0" + echo "%" + echo "@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@%@" + echo +fi diff --git a/sysprof.c b/sysprof.c index 623c4934..c7fc4729 100644 --- a/sysprof.c +++ b/sysprof.c @@ -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