1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-22 07:51:17 -08:00
emacs/src
Jan Djärv c195f2de12 Fix resize and change of scroll bar width for Gtk3.
* configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3.

* src/emacsgtkfixed.c, src/emacsgtkfixed.h: New files.

* src/gtkutil.c: Include src/emacsgtkfixed.h if HAVE_GTK3.
(int_gtk_range_get_value): Move to the scroll bar part of the file.
(style_changed_cb): Call update_theme_scrollbar_width and call
x_set_scroll_bar_default_width and xg_frame_set_char_size for
all frames.
(xg_create_frame_widgets): Call emacs_fixed_new if HAVE_GTK3 (Bug#8505).
Call gtk_window_set_resizable if HAVE_GTK3.
(x_wm_set_size_hint): Call emacs_fixed_set_min_size with min width
and height if HAVE_GTK3 (Bug#8505).
(scroll_bar_width_for_theme): New variable.
(update_theme_scrollbar_width): New function.
(xg_get_default_scrollbar_width): Move code to
update_theme_scrollbar_width, just return scroll_bar_width_for_theme.
(xg_initialize): Call update_theme_scrollbar_width.

* src/gtkutil.h (xg_get_default_scrollbar_width): Remove argument.

* src/xfns.c (x_set_scroll_bar_default_width): Remove argument to
xg_get_default_scrollbar_width.
2011-06-14 23:08:20 +02:00
..
bitmaps
m
s
.dbxinit
.gdbinit
.gitignore
alloc.c
atimer.c
atimer.h
autodeps.mk
bidi.c
bidimirror.h
biditype.h
blockinput.h
buffer.c
buffer.h
bytecode.c
callint.c
callproc.c
casefiddle.c
casetab.c
category.c
category.h
ccl.c
ccl.h
ChangeLog Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
character.c
character.h
charset.c
charset.h
chartab.c
cm.c
cm.h
cmds.c
coding.c
coding.h
commands.h
composite.c
composite.h
COPYING
data.c
dbusbind.c
deps.mk
dired.c
dispextern.h
dispnew.c
disptab.h
doc.c
doprnt.c
dosfns.c
dosfns.h
editfns.c
emacs-icon.h
emacs.c
emacsgtkfixed.c Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
emacsgtkfixed.h Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
epaths.in
eval.c
fileio.c
filelock.c
firstfile.c
floatfns.c
fns.c
font.c
font.h
fontset.c
fontset.h
frame.c
frame.h
fringe.c
ftfont.c
ftfont.h
ftxfont.c
getpagesize.h
gmalloc.c
gnutls.c
gnutls.h
gtkutil.c Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
gtkutil.h Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
image.c
indent.c
indent.h
insdel.c
intervals.c
intervals.h
keyboard.c
keyboard.h
keymap.c
keymap.h
lastfile.c
lisp.h
lisp.mk
lread.c
macros.c
macros.h
Makefile.in
makefile.w32-in
marker.c
mem-limits.h
menu.c
menu.h
minibuf.c
msdos.c
msdos.h
ndir.h
ns.mk
nsfns.m
nsfont.m
nsgui.h
nsimage.m
nsmenu.m
nsselect.m
nsterm.h
nsterm.m
pre-crt0.c
print.c
process.c
process.h
puresize.h
ralloc.c
README
regex.c
regex.h
region-cache.c
region-cache.h
scroll.c
search.c
sheap.c
sound.c
stamp-h.in
syntax.c
syntax.h
sysdep.c
sysselect.h
syssignal.h
systime.h
systty.h
syswait.h
term.c
termcap.c
termchar.h
termhooks.h
terminal.c
terminfo.c
termopts.h
textprop.c
tparam.c
tparam.h
undo.c
unexaix.c
unexcoff.c
unexcw.c
unexec.h
unexelf.c
unexhp9k800.c
unexmacosx.c
unexsol.c
unexw32.c
vm-limit.c
w16select.c
w32.c
w32.h
w32console.c
w32fns.c
w32font.c
w32font.h
w32gui.h
w32heap.c
w32heap.h
w32inevt.c
w32inevt.h
w32menu.c
w32proc.c
w32reg.c
w32select.c
w32term.c
w32term.h
w32uniscribe.c
w32xfns.c
widget.c
widget.h
widgetprv.h
window.c
window.h
xdisp.c
xfaces.c
xfns.c Fix resize and change of scroll bar width for Gtk3. 2011-06-14 23:08:20 +02:00
xfont.c
xftfont.c
xgselect.c
xgselect.h
xmenu.c
xml.c
xrdb.c
xselect.c
xsettings.c
xsettings.h
xsmfns.c
xterm.c
xterm.h

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2011  Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs (on Unix systems) is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

Under GNU and Unix systems, the file `Makefile.in' is used as a
template by the script `../configure' to produce `Makefile'.  This
is the file which actually controls the compilation of Emacs.
All of this should work transparently to the user; you should only
need to run `../configure', and then type `make'.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.