Reading of PPD files collides with getting list of printers.
It helps to give higher priority to getting of PPDs than to
getting list of printers (#614581).
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
Patch from bug #591186. It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
Check for 'auth-info-required' attribute from printer attributes to
find out whether an authentization of user is needed.
Change password dialog of print backend to be able to require informations
requested thru 'auth-info-required' (#566522).
This patch tests availability of remote host before getting ppd file
for selected printer (#586207). It also adds a state message for
failure of getting details.
When a SIGPIPE signal is raised during printing with lpr,
application should not be killed by the signal but a standard
error-workflow should be performed (bug #503776).
Change default values returned by gtk_print_settings_get_printer_lpi()
and gtk_print_settings_get_resolution{_x, _y}(). New values are 150 for
lpi and 300 for resolution (instead of 0) (#590861).
Print when Enter pressed in Name entry or Command Line entry in the
print dialog (#564695).
Add gtk_printer_option_set_activates_default() function and
gtk_printer_option_get_activates_default() function to control
behaviour of GtkPrinterOptionWidget.
Bug #509650. Checks if all the predecesors (the parent widget,
his parent, etc) are visible. Only reports ATK_STATE_SHOWING when
all parents are visible.
Signed-off-by: Li Yuan <li.yuan@sun.com>
Add test for EISCONN error when testing whether a connection to CUPS server
is available (#576678 - patch by mark@ecs.vuw.ac.nz).
Signed-off-by: Marek Kasik <mkasik@redhat.com>
GtkPrintOperation is now able to render multiple pages per sheet by its
own. The most important changes are in these functions:
* increment_page_sequence
* prepare_data
* common_render_page
* print_pages_idle
Patch also changes set of choices for 2 pages per sheet mode when
landscape orientation is used to "Top to bottom" and "Bottom to top".
Only remove Selectable state from a GailButton if it is not Focusable (ie,
a TreeView column header); do not add Selectable for all focusable
buttons. Fixes a bug introduced with the fix to 433324.
Adds authentication support of CUPS backend against CUPS server.
Print dialog is now capable to ask user for password and pass it
to the CUPS server. It is also possible to authenticate user
through Kerberos (GSS-API) (#384940).
2009-03-21 Cody Russell <bratsche@gnome.org>
Bug 538840 – [Win32] GTK menu theming could be improved
* modules/engines/ms-windows/xp_theme.c
* modules/engines/ms-windows/msw_style.c: Use newer
menu styling API. This makes gtk+ look much better on
Windows Vista.
svn path=/trunk/; revision=22577
2009-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Bug 457086 - numpad does not work when the Thai-Lao input method is
used
* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
character-generating keypads as context-lost keys. (patch recommitted
after approval)
svn path=/trunk/; revision=22437
2009-02-26 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (idle_do_action):
Bug #561631. Patch from Yue Wang. Ref the button in the idle
function to prevent the button being finalized.
svn path=/trunk/; revision=22408
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_accessible_at_point):
Bug #325809. Get the cell from the coordinates based on
bin_window.
svn path=/trunk/; revision=22405
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailentry.c: (gail_entry_real_notify_gtk),
(gail_entry_idle_notify_insert), (_gail_entry_insert_text_cb):
Bug #520395. Notify the insert signal in the idle function. Let
text_util has chance to update cache.
svn path=/trunk/; revision=22404
2009-02-25 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (is_cell_showing):
Bug #571001. Set the cell's showing state based on bin_window
coordinates.
svn path=/trunk/; revision=22403
2009-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Bug 457086 - numpad does not work when the Thai-Lao input method is
used
* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
character-generating keypads as context-lost keys.
svn path=/trunk/; revision=22354
2009-02-17 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (idle_do_action):
Bug #561631. Use g_queue_get_length to determine if a queue is empty.
svn path=/trunk/; revision=22348
2009-02-12 Marek Kasik <mkasik@redhat.com>
Bug 568571 – Asian am/pm format on cups print backend's time parsing
* modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
format into formats recognized by CUPS backend
svn path=/trunk/; revision=22319
2009-02-10 Takao Fujiwara <takao.fujiwara@sun.com>
Bug 571015 libprintbackend-cups has unlocalized strings
* modules/printbackends/cups/gtkprintbackendcups.c:
Added a translator comment with the request of translators.
svn path=/trunk/; revision=22304
2009-02-04 Tor Lillqvist <tml@novell.com>
Bug 570406 - gailutil.def is in srcdir, but used from builddir
* libgail-util/Makefile.am: Use gailutil.def from srcdir. Drop
useless rules to install/uninstall import libraries, libtool knows
to install / uninstall them itself when installing / uninstalling
a .la file. Add rules to install / uninstall the def file like for
consistency, like with the other libraries in GTK+.
svn path=/trunk/; revision=22280
2009-01-21 Marek Kasik <mkasik@redhat.com>
Bug 561801 - "scheduled printing" doesn't function as expected
* gtk/gtkprintunixdialog: Add tooltip.
* modules/printbackends/cups/gtkprintbackendcups.c: Add conversion
from local time to utc time for scheduled printing.
svn path=/trunk/; revision=22158
2009-01-16 Cody Russell <bratsche@gnome.org>
Bug 567944 – [Win32] Sorted treeview columns can be unreadable
* modules/engines/ms-windows/msw_style.c: Draw selected treeview
cells according to treeview focus, but ignore whether it is in
a sorted column or not. Otherwise the intersection of a selected
row and a sorted column looks very strange if the treeview does
not have focus.
svn path=/trunk/; revision=22126
* modules/input/gtkimcontextmultipress.[ch]: Remove the namespace
prefix from functions defined locally only. Clean up the code and
change indentation to match the GTK+ coding style.
(_GtkImContextMultipress::key_sequences): Replace array of pointers
by GHashTable. Adapt the implementation accordingly.
(passthrough_enabled_for_window): Remove. The passthrough hack is
no longer necessary thanks to the recently introduced "im-module"
property of GtkEntry and GtkTextView.
(load_config): Rework to implement an improved configuration file
format. Just fetch all keys of the group instead of expecting the
keys to be named a certain way. This also allows interpreting the
config key itself as the GDK key name to bind the character sequence
to, thereby making it independent of the sequence itself.
* modules/input/im-multipress.conf: New example configuration using
the new syntax. The example sequences are now bound to the numeric
keypad and imitate the behavior of a standard mobile phone.
svn path=/trunk/; revision=22125
2008-12-15 Li Yuan <li.yuan@sun.com>
* gailitem.c:
Bug #564555. #undef GTK_DISABLE_DEPRECATED where we need to access
deprecated symbols.
svn path=/trunk/; revision=21904
2008-12-12 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: Bug #512743.
(gail_tree_view_changed_gtk): Clean cell before go through the info
list, for "changed" signal could come before a "row-deleted".
(clean_cell_info):
Prevent the thread to be scheduled before clean_cell_info
finish its job.
svn path=/trunk/; revision=21872
* modules/input/gtkimcontextmultipress.[ch]: Clean up the code
a bit to follow the GTK+ coding style more closely. Fix the code
to emit "preedit-start" and "preedit-end", too, rather than only
"preedit-changed".
(GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
gtk_im_context_multipress*. Shouldn't break API or ABI as it's
only used internally.
* modules/input/immultipress.c: More cleanup,
* modules/input/README.multipress: ditto.
svn path=/trunk/; revision=21864
2008-10-30 Marek Kasik <mkasik@redhat.com>
Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
* gtk/gtk.symbols
* gtk/gtkprintsettings.c
* gtk/gtkprintsettings.h
* docs/reference/gtk/gtk-sections.txt
* modules/printbackends/file/gtkprintbackendfile.c
* modules/printbackends/test/gtkprintbackendtest.c
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/lpr/gtkprintbackendlpr.c:
Added lpi (lines per inch) setting to GtkPrintSettings and support
for anamorphic dpi. Surface fallback resolution is set to 2*lpi.
svn path=/trunk/; revision=21733
2008-10-07 Matthias Clasen <mclasen@redhat.com>
Bug 554950 – gail must make itself resident
* gail.c: Make the module resident, since it can't handle
being unloaded.
svn path=/trunk/; revision=21601
2008-09-30 Marek Kasik <mkasik@redhat.com>
Bug 344522 – support non-local destination files (GtkPrint):
* gtk/gtkprintunixdialog.c
* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
* modules/printbackends/file/gtkprintbackendfile.c: Add ability
to save files on non-local filesystems.
svn path=/trunk/; revision=21552
2008-09-25 Marek Kasik <mkasik@redhat.com>
Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
* modules/printbackends/lpr/gtkprintbackendlpr.c:
The redundant freeing of memory was removed.
Patch by Chris Wang
svn path=/trunk/; revision=21516
2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
* modules/engines/ms-windows/*: Revert most of previous patch, as it didn't work as expected;
Some work toward #531086 - the new GtkTooltip widget doesn't theme properly on win32. Now, at least
the background color seems okay
w
svn path=/trunk/; revision=21430
2008-09-18 Dominic Lachowicz <domlachowicz@gmail.com>
* modules/engins/ms-windows/*: MS Windows style should use pango_win32_font_description_from_logfont;
Allows us to rip out a lot of potentially buggy code, and also get the font specification from the
XP theme (#434987)
svn path=/trunk/; revision=21429
2008-09-17 Matthias Clasen <mclasen@redhat.com>
Bug 346903 – gtk_enumerate_printers needs events to complete
* gtk/gtkprintbackend.h:
* gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.
* modules/printbackends/cups/gtkcupsutils.h:
* modules/printbackends/cups/gtkcupsutils.c: Turn the connection
test into a tristate available/unavailable/in progress.
* modules/printbackends/cups/gtkprintbackendcups.c: Use a single
connection test instance for getting the default printer and for
getting the printer list. Set the GtkPrintBackend::status property
according to the result of the connection test. Use the printer-type
attribute to find the default printer, if cups supports it.
* gtk/gtkprinter.c: When enumerating printers, give up when
the backend status is 'unavailable'.
* gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
when it is the default and nothing else has been selected yet.
svn path=/trunk/; revision=21417
2008-09-11 Marek Kasik <mkasik@redhat.com>
Bug 551378 - Print dialog: should try UDS when fetching PPD for
localhost
* modules/printbackends/cups/gtkprintbackendcups.c: Add ability
to get PPD file from CUPS through Unix domain socket
svn path=/trunk/; revision=21345
2008-08-21 Marek Kasik <mkasik@redhat.com>
Bug 535158 – can't rearrange the order of multi pages per side
* gtk/gtkprinter.c
* gtk/gtkprinter.h
* gtk/gtkprintunixdialog.c
* gtk/gtkprintsettings.c
* gtk/gtkprintsettings.h
* gtk/gtkenums.h
* modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
specify layout of pages per sheet in number-up mode
svn path=/trunk/; revision=21175
2008-08-21 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (model_row_deleted):
Bug #548782. Emit children-changed::remove signal when a row is
deleted in gtktreeview.
svn path=/trunk/; revision=21173
Patch by Marek Kasik:
* modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
available cover pages and the default front and back cover pages
from the cups server.
svn path=/trunk/; revision=20839
Patch by Marek Kasik, icons by Mike Langlie:
* gtk/gtk.symbols:
* gtk/gtkprintbackend.h:
* gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
and getters/setters.
* gtk/gtkstock.h:
* gtk/gtkiconfactory.c:
* gtk/Makefile.am:
* gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
* modules/printbackends/cups/gtkprintbackendcups.c:
* gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
printers.
svn path=/trunk/; revision=20838
2008-06-30 Cody Russell <bratsche@gnome.org>
* Practically everything changed.
Change all references of GIMP Toolkit (and variations of it)
to GTK+ Toolkit, showing no mercy at all to our beloved
ancestry. (#540529)
svn path=/trunk/; revision=20709
2008-06-10 Li Yuan <li.yuan@sun.com>
* gailtextview.c: (gail_text_view_set_caret_offset):
Automatically scroll text caret to make it visible, when AT
sets its offset.
svn path=/trunk/; revision=20344
2008-06-06 Li Yuan <li.yuan@sun.com>
* gail/gaillabel.c: (gail_label_real_notify_gtk):
Before emitting "text_caret_moved", change the cursor to the
changed bound. Bug #536927.
svn path=/trunk/; revision=20322
2008-05-29 Michael Natterer <mitch@imendio.org>
* gtk/Makefile.am
* gtk/gtkunixprint.h: add a single-include header for the unix
print stuff.
* gtk/gtkpagesetupunixdialog.h
* gtk/gtkprinter.h
* gtk/gtkprintjob.h
* gtk/gtkprintunixdialog.h: add single-include guards that #error
out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
files is included individually.
* gtk/gtkprintbackend.h
* gtk/gtkprinter-private.h
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/cups/gtkprintercups.h
* modules/printbackends/lpr/gtkprintbackendlpr.c
* tests/buildertest.c
* tests/defaultvaluetest.c
* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
individual files.
svn path=/trunk/; revision=20230
2008-05-28 Michael Natterer <mitch@gimp.org>
* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
<gtk/gtkaccessible.h>
* modules/other/gail/*.h: don't include anyting from gtk since all
headers indirectly include gailwidget.h.
* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
of individual files.
* modules/other/gail/gailcheckmenuitem.c
* modules/other/gail/gailmenu.c
* modules/other/gail/gailtreeview.c: remove all gtk includes since
it's always included by including any gail header.
svn path=/trunk/; revision=20211
* modules/printbackends/cups/gtkprintbackendcups.c
(cups_printer_create_cairo_surface): Fall back to PostScript level 2
if the printer does not support level 3. Patch by Marek Kašík.
svn path=/trunk/; revision=20203
2008-05-24 Matthias Clasen <mclasen@redhat.com>
Bug 504706 – wrong deallocator used for GError in gailtextview.c
* gailtextview.c: Don't use g_free on a GError.
svn path=/trunk/; revision=20136
was chosen
Patch by Marek Kasik.
* gtk/gtk.symbols:
* gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
* gtk/gtkprintbackend.[hc]: Add fallback implementation.
* modules/printbackends/file/gtkprintbackendfile.c:
* modules/printbackends/cups/gtkprintbackendcups.c: Implement
get_default_page_size.
* gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
select its default paper size.
* gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
use the printer default.
* gtk/gtkprintoperation-unix.c: Don't create an empty page setup
if we don't have a default page setup.
svn path=/trunk/; revision=20120
2008-05-05 Matthias Clasen <mclasen@redhat.com>
Apply a patch by Marek Kasik <mkasik@redhat.com> to display
more printer status information in the print dialog.
* modules/printbackends/cups/gtkprintbackendcups.c: Translate
printer-state-reasons into suitable messages and icons.
* gtk/stock-icons/16/gtk-print-error.{svg,png}:
* gtk/stock-icons/16/gtk-print-report.{svg,png}:
* gtk/stock-icons/16/gtk-print-warning.{svg,png}:
* gtk/Makefile.am:
* gtk/gtkstock.h: New stock icons to display printer state.
svn path=/trunk/; revision=20076
* modules/printbackend/cups/gtkprintbackendcups.c
(cups_printer_get_options): Fix the blacklist handling.
Patch by Marek Kašík.
svn path=/trunk/; revision=20058
2008-04-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
<pango/pango-layout.h>.
* gtk/gtkiconfactory.c
* gtk/gtkimmodule.c
* gtk/gtkmain.c
* gtk/gtkmodules.c
* gtk/queryimmodules.c: remove inclusion of single files from
pango, none of them was actually needed.
* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
<pango/pango-utils.h>.
svn path=/trunk/; revision=20042
2008-04-18 Michael Natterer <mitch@imendio.com>
* gtk/gtkicontheme.h
* gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
<gdk/gdkscreen.h>.
* gtk/gtkbuilderparser.c
* gtk/gtklinkbutton.c
* gtk/gtkpreview.c
* gtk/gtkrecentchooserdefault.c
* gtk/gtkrecentchoosermenu.c
* modules/input/gtkimcontextthai.c: remove inclusion of single
files from gdk, none of the includes was actually needed.
svn path=/trunk/; revision=20023
2008-04-18 Michael Natterer <mitch@imendio.com>
* modules/printbackends/cups/gtkprintercups.[ch]
(gtk_printer_cups_get_ppd_name): change return value and local
variable to const gchar* to fix warning about discarding const
qualifier.
svn path=/trunk/; revision=20021
2008-03-31 Li Yuan <li.yuan@sun.com>
* gailbutton.c: (gail_button_ref_state_set):
Bug #433324. add/remove selectable state depand on if the button can
be focused.
svn path=/trunk/; revision=19950
2008-03-20 Li Yuan <li.yuan@sun.com>
* gailcell.c: (gail_cell_object_finalize):
Bug #498079. Free cell's action info before free the action_list.
svn path=/trunk/; revision=19909
2008-03-18 Tor Lillqvist <tml@novell.com>
Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
* modules/input/im*.c: Modify the MODULE_ENTRY macro so the
G_MODULE_ENTRY decoration can be put in a more correct place.
svn path=/trunk/; revision=19902
2008-03-18 Tor Lillqvist <tml@novell.com>
Bug 99192 - Add --with-include-input-modules
* configure.in: Add --with-included-immodules switch. Handled in a
similar way as the --with-included-loaders switch. For each input
method module foo: Collect the list of input modules to be built
into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
-DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
Define Automake conditionals INCLUDE_IM_FOO.
* modules/input/Makefile.am: For modules to be included in libgtk,
build a static library.
* modules/input/im*.c: Use MODULE_ENTRY macros much like in
gdk-pixbuf to get unique names for the functions called by libgtk
in the included case. Use G_MODULE_EXPORT in the non-included case
so that we don't unnecessarily export unneeded random global
symbols on Windows.
* gtk/Makefile.am: Build the included modules and link them into libgtk.
* gtk/gtkimmodule.c: Handle the built-in modules. Remove
copy/paste leftover mentions of "themes" in comments.
svn path=/trunk/; revision=19896
2008-03-16 Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive style
names for the ComboBox thickness style
svn path=/trunk/; revision=19888
2008-03-16 Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
* modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
(combo_box_draw_arrow) (setup_msw_rc_style): draw box does more intelligent
separation for the xp theming engine and the classic theme while drawing the
GtkComboBox button.
combobox_draw_arrow is not used anymore, commented.
The style has been updated to fix border/thickness glitches in the combobox
according to the fixes commited regarding bug #521442. (bug #461805)
svn path=/trunk/; revision=19887
2008-03-12 Jens Granseuer <jensgr@gmx.net>
* modules/printbackends/cups/gtkprintbackendcups.c:
(cups_printer_prepare_for_print): Don't define variables in the
middle of a block. (#522067)
svn path=/trunk/; revision=19789
2008-03-12 Michael Natterer <mitch@imendio.com>
* modules/printbackends/cups/gtkprintbackendcups.c: include
<glib/gstdio.h> for g_fopen().
svn path=/trunk/; revision=19775
2008-03-11 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Use
g_ascii_formatd when formatting custom paper sizes, since
cups doesn't handle , as decimal separator. (#521548)
svn path=/trunk/; revision=19762
2008-03-08 Alberto Ruiz <aruiz@gnome.org>
* modules/engines/ms-windows/msw_style.c (draw_shadow):
Do not draw frame if parent if combobox.
(draw_box):
Uses scrollbar width system metrics for combobox button.
Fixes#461805 for XP theme engine.
svn path=/trunk/; revision=19733
2008-03-03 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/msw_style.c (draw_box): Check that
the widget is a GtkButton before casting.
svn path=/trunk/; revision=19690
2008-02-01 Cody Russell <cody@jhu.edu>
* modules/engines/ms-windows/xp_theme.[ch]
* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/msw_rc_style.c
* modules/engines/ms-windows/msw_theme_main.c
* modules/engines/ms-windows/msw_style.c: Re-indented and generally
attempted to stylize more like the rest of the gtk+ stack's code.
svn path=/trunk/; revision=19455
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),
(focus_out):
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out.
Emit "active-descendant-changed" and add ATK_STATE_FOCUSED state when
focus comes in again.
svn path=/trunk/; revision=19351
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_ref_child),
(idle_cursor_changed):
Bug #497218. Emit "active-descendant-changed" when focus first comes
into treeview. Add/remove ATK_STATE_FOCUSED when cursor changes.
svn path=/trunk/; revision=19350
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
svn path=/trunk/; revision=19349
2008-01-10 Tor Lillqvist <tml@novell.com>
* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
gdktargetlib.
svn path=/trunk/; revision=19348
2008-01-05 Johan Dahlin <johan@gnome.org>
* modules/other/gail/tests/Makefile.am: Include Makefile.decl,
to make sure that make test-report works properly
svn path=/trunk/; revision=19308
* modules/other/gail/*.[ch]: Remove relocations from the atk
factories. Remove unused gail_foo_new() functions. Fix object
instantiation to be derivation safe by moving initialisation code
from the removed gail_foo_new() functions to the
AtkObjectClass::initialize implementation. Bug #505226.
svn path=/trunk/; revision=19237
2007-12-22 Christian Persch <chpe@gnome.org>
* modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
#504645, patch by Li Yuan.
svn path=/trunk/; revision=19224
2007-12-20 Christian Persch <chpe@gnome.org>
* modules/other/gail/Makefile.am:
* modules/other/gail/gailimage.c: (gail_image_class_init),
(gail_image_init), (elide_underscores), (gail_image_get_name),
(atk_image_interface_init), (gail_image_finalize):
* modules/other/gail/gailimage.h:
R modules/other/gail/gailintl.h:
* po/POTFILES.skip: Use the stock item's label as the name of the
accessible in gailimage.c. Bug #504246.
svn path=/trunk/; revision=19203
2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
* modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
svn path=/trunk/; revision=19198
2007-10-26 Cody Russell <cody@jhu.edu>
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
Disable beeps when backspacing in textviews by default on
Win32 systems. (#490624, Daniel Atallah)
svn path=/trunk/; revision=18950
2007-10-18 Cody Russell <cody@jhu.edu>
* modules/engines/ms-windows/msw_style.c: Draw focus rect for
buttons with relief set to GTK_RELIEF_NONE. (#487954)
svn path=/trunk/; revision=18931
2007-10-08 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c:
(draw_tab): Fix memory leak, and fix two instances where
a GtkRequisition and a GtkBorder were being freed with
g_free() rather than gtk_requisition_free() and
gtk_border_free(). (#484730, Daniel Atallah)
svn path=/trunk/; revision=18893
2007-09-20 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c: Override draw_layout
method in GtkStyle in order to adjust by 2 pixels any labels
that are in GtkNotebook tabs using XP theme, so that they appear
correctly centered. (#478637)
svn path=/trunk/; revision=18848