libgnomeui 2.12.0
-----------------
What's new since 2.11.4
Bug fixes:
- API doc updates (Kjartan)
- Fix a compiler warning that broke compilation on AIX
- Add gnome-keyring to Requires in the pkg-config file
- Include developer docs in the devel zip file for Win32 (Tor)
Updated translations:
- Basque, Galician, Indonesian, Korean, Kurkish,
Russian, Turkish.
libgnomeui 2.11.4
-----------------
What's new since 2.11.3
Bug fixes:
- Fix a bad crasher in the file selector (Matthias)
http://bugzilla.gnome.org/show_bug.cgi?id=314586
Translations:
- Estonian, French, Vietnamese
libgnomeui 2.11.3
-----------------
What's new since 2.11.2
Bug fixes:
- Don't crash on trash:/// bookmarks (Matthias)
- Fix build in gnome-ui-init.h
libgnomeui 2.11.2
-----------------
What's new since 2.11.1
Features:
- Add support for .desktop file links in the file chooser
(Federico)
Bug fixes:
- Make buttons work as accessible children of GnomeDruid
(Padraig)
- Add a window icon for the segv dialog (Jaap)
Translations:
- Everyone :-)
libgnomeui 2.11.1
-----------------
What's new since 2.10.x
Features:
- Port to Win32 (Tor Lillquist)
- Implement bookmark renaming in the file chooser
(Matthias Clasen)
Bug fixes:
- Make the file chooser work better with AFS
(Federico Mena Quintero)
- Fix crash when escaping the password dialog
(Martin Wehner, Balamurali V.)
- Fix crash when opening the panel properties dialog
(Vincent Vuntz)
- Fix for possible wrong activation URI when drive is
mounted from the file chooser (David Zeuthen)
- Fix icon entry button to not clip the label incorrectly
- Make it possible to select a folder in the file entry
in the icon entry. (Christian Neumair)
- Make sure to use UTF-8 locales in the file chooser
for apps that don't use libgnomeui directly such as
Firefox (Frederic Crozat)
- HIGify the password dialog (Michael Terry)
- HIGify the games menu entries (Dennis Cranston)
- Code cleanup and leak fixes (Kjartan, Matthias)
- Build fixes (Kjartan, Hans Petter Jansson, Lazslo Peter)
- Fix GCC warnings (Kjartan)
Translations:
- Updated Bulgarian (bg), Canadian English (en_CA), Czech (cs),
Danish (da), Greek (el), Estonian (et), Norwegian bokmål (nb),
Dutch (nl), Kinyarwanda (rw), Slovak (sk),
Thai (th), Simplified Chinese (zh_CN), Traditional Chinese (zh_TW)
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
libgnomeui, AFAIK. Otherwise, some extra dependencies are introduced
without the required rpaths (the buildlink3.mk file does not set
USE_X11). This causes problems in some packages (namely gnome-spell).
Bump PKGREVISION to 3.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
While here, move the documentation to share/doc, out of share/doc/html.
libgnomeui 2.8.0
----------------
What's new since 2.7.2
* Bug fixes:
- Improved GnomeDruid theme support (Rodney Dawes)
- File chooser backend fixes (Federico Mena Quintero,
Colin Walters)
- Authentication manager and password dialog support for
anonymous logins (Laszlo Kovacs)
- Various fixes (Kjartan Maraas, Eric Zhao, William Jon McCann,
Alexander Larsson)
* Translations:
- New Breton translation (Thierry Vignaud)
- New Bostnian translation (Kenan Hadžiavdić)
- New Galician translation (Jesus Bravo Alvarez)
- Various updated translations (ar, az, bg, ca, cs, cy, da,
de, el, en_CA, en_GB, es, eu,
fi, gl, gu, hi, hu, ja, ko,
lt, mn, ms, ne, nl, nn, no,
pa, pl, pt, pt_BR, ro, ru, sk,
sq, sr, sv, tr, uk, wa, zh_CN,
zh_TW)
libgnomeui 2.7.2
----------------
What's new since 2.7.1
* Bug fixes:
- Fix GnomeDruid to be theme compliant (Rodney Dawes)
- Fixes to the VFS file-chooser backend (Federico Quintero,
Colin Walters)
- Support for anonymous logins in authentication manager (Laszlo
Kovacs)
* Translations:
- Various updated translations (ne)
libgnomeui 2.7.1
----------------
What's new since 2.6.1
* Improvements:
- Update to automake 1.7 (James Henstridge)
- Icon list API additions (Damien Carbery)
* Bug fixes:
- Authentication manager fixes (Fernando Herrera)
- Various fixes (Steve Chaplin, Torsten Schoenfeld, Anders Carlsson,
Leena Gunda, Christian Rose, Fernando Herrera,
Takao Fujiwara, Damien Carbery, Martin Wehner)
* Translations:
- Added Turkmen translation (Gurban Mühemmet Tewekgeli)
- Various updated translations (bg, no, es, zh_CN, sk, sq, cs,
en_CA, en_GB, ko)
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2003-09-09 Anders Carlsson <andersca@gnome.org>
* configure.in: Release 2.4.0.1
2003-09-01 Anders Carlsson <andersca@gnome.org>
* configure.in: Release 2.4.0
2003-08-25 Anders Carlsson <andersca@gnome.org>
* configure.in: Release 2.3.7
2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
* configure.in: Added "bn" to ALL_LINGUAS.
2003-09-01 Laurent Dhima <laurenti@alblinux.net>
* configure.in: Added "sq" to ALL_LINGUAS.
2003-08-11 Anders Carlsson <andersca@codefactory.se>
* configure.in: Release 2.3.6
2003-07-04 Anders Carlsson <andersca@codefactory.se>
* configure.in: Release 2.3.3.1
Fri Jul 4 04:27:42 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* libgnomeui/gnome-app.c (gnome_app_add_toolbar): remove setting
of border width, thus getting rid of double bevels.
2003-07-03 Anders Carlsson <andersca@codefactory.se>
* doc/reference/.cvsignore:
* doc/reference/Makefile.am:
* doc/reference/libgnomeui-docs.sgml:
Generate xml reference docs (#111798, Matthias Clasen)
2003-07-01 Kjartan Maraas <kmaraas@gnome.org>
* libgnomeui/gnome-thumbnail-pixbuf-utils.c (vfs_src): Merge
fix for bug #114928
* libgnomeui/gnome-ui-init.c: Merge fix for bug #111496.
2003-06-25 Thomas Vander Stichele <thomas at apestaart dot org>
* po/az.po: removed \- which was causing msgfmt to break
2003-06-15 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-icon-theme.c: (load_themes),
(string_from_suffix), (suffix_from_name), (scan_directory):
Treat files ending with ".svgz" as svg files.
2003-06-05 Alexander Larsson <alexl@redhat.com>
* libgnomeui/gnome-thumbnail.c (gnome_thumbnail_factory_ensure_failed_uptodate):
Avoid using uninitialized value tv.tv_sec
Wed Jun 04 15:54:18 2003 George Lebl <jirka@5z.com>
* libgnomeui/gnome-password-dialog.c: fix cast warning
* libgnomeui/gnome-ui-init.c: things that are normally only
with HAVE_ESD were generating a warning so added #ifdef HAVE_ESD
around those as well.
2003-05-26 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-file-entry.c: (browse_dialog_ok):
Fix a warning.
* libgnomeui/Makefile.am:
* libgnomeui/gnome-authentication-manager.c:
(construct_password_dialog),
(present_authentication_dialog_blocking),
(mark_callback_completed), (authentication_dialog_button_clicked),
(authentication_dialog_closed), (authentication_dialog_destroyed),
(present_authentication_dialog_nonblocking),
(vfs_async_authentication_callback), (vfs_authentication_callback),
(gnome_authentication_manager_init):
* libgnomeui/gnome-authentication-manager.h:
* libgnomeui/gnome-password-dialog.c:
(gnome_password_dialog_get_type),
(gnome_password_dialog_class_init), (gnome_password_dialog_init),
(gnome_password_dialog_finalize), (dialog_show_callback),
(dialog_close_callback), (add_row), (username_entry_activate),
(gnome_password_dialog_new), (gnome_password_dialog_run_and_block),
(gnome_password_dialog_set_username),
(gnome_password_dialog_set_password),
(gnome_password_dialog_set_readonly_username),
(gnome_password_dialog_get_username),
(gnome_password_dialog_get_password):
* libgnomeui/gnome-password-dialog.h:
* libgnomeui/gnome-stock-icons.c: (get_default_icons):
* libgnomeui/gnome-stock-icons.h:
* libgnomeui/libgnomeui.h:
* libgnomeui/pixmaps/Makefile.am:
* test-gnome/Makefile.am:
* test-gnome/test-password-dialog.c: (authenticate_boink_callback),
(exit_callback), (main):
Add authentication callbacks, a password dialog, and a authentication
stock icon.
2003-05-26 Kjartan Maraas <kmaraas@gnome.org>
* libgnomeui/gnome-app.c: Merge fix for
bug #111168 from stable.
2003-05-24 Kjartan Maraas <kmaraas@gnome.org>
* libgnomeui/gnome-file-entry.c: Merge fix for
bug #110500 from stable.
* libgnomeui/gnome-icon-entry.c: Merge fix for
bug #106298 from stable branch.
* libgnomeui/gnome-icon-entry.c: Merge fix for
bug #112651 from stable.
* libgnomeui/gnome-color-picker.c: Merge fix for
bug #105730 from stable.
* libgnomeui/gnome-entry.c: Merge fix for
bug #105388 from branch.
* libgnomeui/gnome-ui-init.c: Fix the fix for
bug #84778. Patch from <malcolm@commsecure.com.au>
* libgnomeui/gnome-icon-list.c: Merge fix for
bug #83748 from stable branch.
* libgnomeui/gnome-app.c: Merge fix for bug #106342
from stable branch.
2003-05-20 Kenneth Rohde Christiansen <kenneth@gnu.org>
* configure.in: Added Limburgish to ALL_LINGUAS
2003-05-19 Christian Neumair <chris@gnome-de.org>
* libgnomeui/gnome-ui/gnome-about.c: HIGified about dialog.
2003-05-19 Kjartan Maraas <kmaraas@gnome.org>
* libgnomeui/gnome-ui-init.c: (libgnomeui_segv_handle): Merge fix
for bug #84778 from branch.
2003-05-19 Kjartan Maraas <kmaraas@gnome.org>
* glade/glade-gnome.c: (icon_entry_set_max_saved):
* libgnomeui/gnome-icon-entry.c: (gnome_icon_entry_set_max_saved):
* libgnomeui/gnome-icon-entry.h: Patch from Jacob Berkman that
adds an API entry point to work around another being deprecated.
Fixes bug #79324.
2003-05-15 Jaka Mocnik <jaka@gnu.org>
* libgnomeui/gnome-mdi.c: fixed referencing problems. sink the object
instead of unrefing them. patch by Ecmel Ercan. this is actually not
a Proper(tm) fix, but it serves its purpose: finalization is done
properly. the Right Way(tm) would be to make GnomeMDI and
GnomeMDIChild GObject descendants, but since the MDI API is
deprecated, I won't bother.
2003-05-13 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-app-helper.c: Accept both-horiz here too.
2003-05-09 Telsa Gwynne <hobbit@aloss.ukuu.org.uk>
* configure.in: Added cy to ALL_LINGUAS
2003-05-08 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* configure.in: call AC_LIBTOOL_WIN32_DLL which is necessary for
building shared library on win32 platform.
* libgnomeui/Makefile.am (libgnomeui_2_la_LDFLAGS):
* glade/Makefile.am (libgnome_la_LDFLAGS):
add -no-undefined which is necessary for building shared library
on some platforms (e.g. Win32, BeOS).
2003-05-06 Danilo Šegan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-05-01 Kjartan Maraas <kmaraas@gnome.org>
* libgnomeui/gnome-about.c: Pass NULL to g_string_new.
* libgnomeui/gnome-app-helper.c: Same
* libgnomeui/gnome-client.c: Reapply Arjan's leak
patch. And don't break it in the process this time :-)
Fixes bug #104986.
2003-04-23 Gustavo Giraldez <gustavo.giraldez@gmx.net>
* libgnomeui/gnome-icon-theme.c (gnome_icon_theme_class_init):
Set parent_class.
(gnome_icon_theme_finalize): Chain parent_class' finalize.
2003-04-07 Mark McLoughlin <mark@skynet.ie>
* libgnomeui/gnome-icon-theme.c: (theme_lookup_icon):
Merge the two seperate iterations of the theme's directory
list into a single iteration.
2003-04-02 Loban A Rahman <loban@earthling.net>
* libgnomeui/gnome-color-picker.h: Fixed bug #106154,
header misdocumentation.
2003-03-27 Anders Carlsson <andersca@codefactory.se>
* configure.in: Release 2.3.0
2003-03-26 Christian Rose <menthos@menthos.com>
* configure.in: Added "yi" to ALL_LINGUAS.
2003-03-24 Narayana Pattipati <narayana.pattipati@wipro.com>
*libgnomeui/gnome-file-entry.c (browse_clicked): Fix the problem
application crash when Gnome File Selector widget's OK button is
double clicked. Fixes bugzilla bug#104906
2003-03-19 Paul Duffy <dubhthach@frink.nuigalway.ie>
* configure.in: Added "ga" to ALL_LINGUAS.
2003-03-13 Christian Rose <menthos@menthos.com>
* configure.in: Added "ml" to ALL_LINGUAS.
2003-03-10 Christian Rose <menthos@menthos.com>
* configure.in: Added "eo" to ALL_LINGUAS.
2003-03-09 Narayana Pattipati <narayana.pattipati@wipro.com>
*libgnomeui/gnome-icon-entry.c (ientry_browse): Fix the problem
of Browse dialog(gnome-file-entry) being non-responsive to user
inputs. Fixes bugzilla bug#107255.
2003-03-08 Sebastian Rittau <srittau@jroger.in-berlin.de>
Documentation fixes:
* libgnomeui/gnome-client.c (gnome_client_set_discard_command): Removed
doc string and added a comment where the true doc string can be found.
(Namely in the corresponding templates file.)
* doc/reference/libgnomeui-sections.txt: Inserted *Class definitions
in the Standard sections.
* doc/reference/libgnomeui-docs.sgml: FIXME -> Miscellaneous Widgets
2003-03-05 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-icon-list.c:
Don't return FALSE in pointer functions.
#107652, reported by Morten Welinder.
2003-03-04 Malcolm Tredinnick <malcolm@commsecure.com.au>
* libgnomeui/gnome-icon-theme.c (gnome_icon_theme_rescan_if_needed):
* libgnomeui/gnome-thumbnail-pixbuf-utils.c (convert_cmyk_to_rgb):
* libgnomeui/gnome-thumbnail.c (read_scripts):
Remove unused variables to eliminate compiler warnings.
* libgnomeui/gnome-theme-parser.c (parse_key_value):
Initialise locale_end to some value (NULL) before use.
2003-03-02 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-icon-lookup.c:
(mimetype_supported_by_gdk_pixbuf), (gnome_icon_lookup):
* libgnomeui/gnome-thumbnail.c: (mimetype_supported_by_gdk_pixbuf):
Ask gdk-pixbuf for supported mime types, fixes#106609, reported by
Christian Schaller.
2003-02-21 Roozbeh Pournader <roozbeh@sharif.edu>
* configure.in: Added "fa" to ALL_LINGUAS.
2003-02-13 Kjartan Maraas <kmaraas@gnome.org>
* libgnome/gnome-font-picker.c
(gnome_font_picker_label_use_font_in_label): Fix a leak.
2003-02-10 Mohammad DAMT <mdamt@bisnisweb.com>
* po/id.po: Added Indonesian translation
* configure.in: Added "id" to ALL_LINGUAS
2003-02-09 Christian Rose <menthos@menthos.com>
* configure.in: Added "kn" to ALL_LINGUAS.
2003-02-04 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-client.c: (client_set_restart_command):
Revert fix since it caused brokenness.
2003-02-01 Anders Carlsson <andersca@codefactory.se>
* libgnomeui/gnome-client.c (client_set_restart_command): Fix
memory leak, patch by Arjan van de Ven, #104986.
2003-01-31 Alexander Larsson <alexl@redhat.com>
* libgnomeui/gnome-icon-lookup.c (gnome_icon_lookup):
Use gnome-regular for text files if
GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT is set.
This enables top-left text for nautilus.
2003-01-25 Samúel Jón Gunnarsson <sammi@techattack.nu>
* configure.in: Added "is" to ALL_LINUGAS.
2003-01-23 Alexander Larsson <alexl@redhat.com>
* configure.in (LIBGNOMEUI_AGE):
Add EXTRAVERSION and set to .1
* libgnomeui/Makefile.am (libgnomeui_2_la_LDFLAGS):
Correct version number bug
2003-01-22 Christian Rose <menthos@menthos.com>
* configure.in: Added "mn" to ALL_LINGUAS.
Library:
* Fix a memory leak in the pixbuf utils.
Patch by Takuro Ashie <ashie@homa.ne.jp>. Fixes bug #114928
* Fix a bunch of typos (Kjartan)
* Fix problems with sound event handling (Leena)
Translations:
* Dafydd Harries (cy), Joel Brich (eo), Arafat Mendini (ar).
* Fix toolbars to be consistent (Rodney Dawes)
* Fix gnome-segv to not loop when it crashes itself (Malcolm Tredinnick,
Damon Chaplin)
* Make fonts in icon labels respect font size changes (Pasupathi Duraisamy)
* Skip hidden pages in the druid (Ricardo Fernández Pascual)
* Fix referencing problem with MDI (Jaka Mocnic)
* Fix leaks in session management and score handling (Kjartan Maraas,
Arjan Van de Ven)
* Bugfix for gnome-icon-theme (Gustavo Giraldez)
* Don't crash when double clicking the OK button in the fileselector
(Narayana Pattipati)
* API documentation fixes (Sebastian Rittau)
* Don't return FALSE in pointer functions (Morten Welinder)
* Fix compiler warnings and uninitialised vars (Malcolm Tredinnick)
* Ask gdk-pixbuf for supported mime types in gnome-icon-lookup.c
(Anders Carlsson, Christian Schaller)
* Fix leak in the font picker (Kjartan Maraas)
* Fix top-left text for icons in nautilus (Alex Larsson)
* Fix the file entry to use utf8 when setting the selected file name
(Hidetoshi Tajima)
* Fix a crash in the icon entry (Balamurali Viswanathan)
* Don't open an infinite amount of preview widgets in the icon entry
* Enable color palette in the color picker (Gustavo Carneiro)
* Clear entry items properly in gnome-entry.c (Marco Pesenti Gritti)
* Fix problems with python-based apps and non-initialized memory
(Marcus at freebsd org)
* configure.in (LIBGNOMEUI_AGE): Add EXTRAVERSION and set to .1
* libgnomeui/Makefile.am (libgnomeui_2_la_LDFLAGS): Correct version number bug
* configure.in: Added "mn" to ALL_LINGUAS.
* configure.in: Fixup libtool versioning and release 2.2.0
* configure.in: Added Amharic (am), Arabic (ar), Macedonian (mk) and Dutch
(nl) to ALL_LINGUAS.
* libgnomeui/gnome-icon-theme.c (theme_lookup_icon): Don't scale up unless we
have to. Scaling down gives much better results.
* libgnomeui/gnome-uidefs.h (GNOME_KEY_MOD_PAUSE_GAME): Use GDK_Pause as the
pause key. #92358.
* libgnomeui/gnome-app-helper.c: (gnome_app_install_statusbar_menu_hints):
Apply fix for #102812, by Tom Ball.
* libgnomeui/gnome-popup-menu.c: (gnome_popup_menu_do_popup_modal): Apply fix
for #96899, by Erwann Chenede.
* Added am, be, da translations.
* libgnomeui/gnome-druid.c (gnome_druid_instance_init): Grab the focus on the
next button rather than just setting the HAS_FOCUS flag.