Put the vertical splitter at 3/8 * screen_width.
authorSoeren Sandmann <sandmann@redhat.com>
Sun, 13 Nov 2005 04:28:57 +0000 (04:28 +0000)
committerSøren Sandmann Pedersen <ssp@src.gnome.org>
Sun, 13 Nov 2005 04:28:57 +0000 (04:28 +0000)
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.

ChangeLog
configure.ac
sysprof.c

index a02a62a..ef92ca5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
 Sat Nov 12 19:44:43 2005  Søren Sandmann  <sandmann@redhat.com>
 
        * module/sysprof-module.c (read_frame): New function that uses
index bd9db83..d1eb3bc 100644 (file)
@@ -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
index 623c493..c7fc472 100644 (file)
--- 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