unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: bqa01573 <bqa01573@mbox.kyoto-inet.or.jp>
To: Emacs-devel@gnu.org
Subject: Re: Scrollbars on GTK.
Date: Wed, 11 Feb 2009 07:02:01 -0800 (PST)	[thread overview]
Message-ID: <21956186.post@talk.nabble.com> (raw)


How in this?

--- ./src/gtkutil.c.orig        2008-01-10 21:16:15.000000000 +0900
+++ ./src/gtkutil.c     2009-02-11 22:44:06.000000000 +0900
@@ -3261,14 +3261,6 @@

       adj = gtk_range_get_adjustment (GTK_RANGE (wscroll));

-      /* We do the same as for MOTIF in xterm.c, assume 30 chars per line
-         rather than the real portion value.  This makes the thumb less
likely
-         to resize and that looks better.  */
-      portion = WINDOW_TOTAL_LINES (XWINDOW (bar->window)) * 30;
-      /* When the thumb is at the bottom, position == whole.
-         So we need to increase `whole' to make space for the thumb.  */
-      whole += portion;
-
       if (whole <= 0)
         top = 0, shown = 1;
       else

-- 
View this message in context: http://www.nabble.com/Scrollbars-on-GTK.-tp20294444p21956186.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.





             reply	other threads:[~2009-02-11 15:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11 15:02 bqa01573 [this message]
2009-02-11 19:14 ` Scrollbars on GTK Jan Djärv
  -- strict thread matches above, loose matches on Subject: below --
2008-11-02 22:14 Óscar Fuentes
2008-11-03  4:38 ` Miles Bader
2008-11-03  4:58   ` Óscar Fuentes
2008-11-03  7:09     ` Miles Bader
2008-11-03  7:46     ` Jan D.
2008-11-03  9:26       ` Andreas Schwab
2008-11-03 13:40         ` Jan D.
2008-11-03 11:32       ` Stefan Monnier
2008-11-03 13:45         ` Jan D.
2008-11-03 14:38           ` Óscar Fuentes
2008-11-03 15:07             ` Andreas Schwab
2008-11-03 17:29       ` Ralf Angeli
2008-11-03  5:45   ` Stefan Monnier
2008-11-03  6:06     ` Óscar Fuentes
2008-11-03 19:41   ` Richard M. Stallman
2008-11-03 20:16     ` Eli Zaretskii
2008-11-04 20:45       ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21956186.post@talk.nabble.com \
    --to=bqa01573@mbox.kyoto-inet.or.jp \
    --cc=Emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).