ChangeLog 171 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2007-05-26  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Require gtk-doc 1.6, for signal and property links.
	* gtk/gtkbox.c:
	* gtk/gtkbutton.c:
	* gtk/gtkcontainer.c:
	* gtk/gtkdialog.c:
	* gtk/gtkentry.c:
	* gtk/gtkimage.c:
	* gtk/gtklabel.c:
	* gtk/gtkmisc.c:
	* gtk/gtksettings.c:
	* gtk/gtkwidget.c: Documentation improvements, link signals
	and properties where it makes sense.

Matthias Clasen's avatar
Matthias Clasen committed
16 17 18 19 20
2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextmark.c:
	* gtk/gtktextbuffer.c: Formatting fixes.

21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	Allow to separate GtkTextMark creation from buffer insertion.
	(#132818, Gustavo Giráldez, patch by Yevgen Muntyan)

	* gtk/gtktextmarkprivate.h:
	* gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to 
	create a GtkTextMark.

	* gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New 
	function to add an existing mark to a buffer. 

	* gtk/gtktextbtree.c: Allow adding existing marks.

	* gtk/gtk.symbols: Add new functions.

	* tests/testtextbuffer.c: Add some tests for new mark 
	functionality.

40 41 42
2007-05-25  Xan Lopez  <xan@gnome.org>

	* gtk/gtkaction.c: (gtk_action_set_short_label):
Xan Lopez's avatar
Xan Lopez committed
43
	Use private->data->short_label to update the proxies. (#440780)
44

45 46 47 48 49
2007-05-25  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
	Implement copying from a window, part of bug #348493.

50 51 52 53 54 55
2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c (unix_end_run): Hold a 
	refence on the print operation until gtk_print_job_send()
	is done.  (#440040, Chris Vine)

56 57 58 59 60
2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
	Don't crash and don't leak.  (#439565, Pedro Villavicencio)

61 62 63 64 65 66 67
2007-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconfactory.c: Improve a warning
	* gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
	set the error when returning NULL.  (#440982, Carlos Garcia
	Campos)

Michael Natterer's avatar
Michael Natterer committed
68 69 70 71 72 73 74 75 76
2007-05-25  Michael Natterer  <mitch@imendio.com>

	Merge fix from maemo-gtk:

	* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
	also if the menu item we're entering is already selected. Also, it
	makes no sense to forward the event to the parent menu shell if we
	are entering a menu item of *this* menu shell.

Matthias Clasen's avatar
Matthias Clasen committed
77 78 79 80 81
2007-05-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/*: Make sure all svg icons are added
	as pngs.

Matthias Clasen's avatar
Matthias Clasen committed
82 83 84 85
2007-05-24  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/Makefile.am: Fix broken DESTDIR support

86 87 88 89 90 91
2007-05-24  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
	Bogdan Nicula which fixes a crash on GdkWindows which have no
	GtkWidget as user_data (bug #440890).

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
92 93
2007-05-24   Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
94 95
	* configure.in: Bump version

Matthias Clasen's avatar
2.11.0  
Matthias Clasen committed
96 97
	* === Released 2.11.0 ===

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
98 99
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
100 101 102 103 104 105 106 107 108 109 110 111 112
2007-05-23   Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: 
	* gdk/x11/xsettings-common.h: 
	* gdk/gdk.symbols: Add some missing symbols.

	* gtk/paper_names_offsets.c:
	* gtk/gen-paper-names.c: Make variables static.

	* gtk/gtktooltip.[hc]:
	* gtk/gtkvolumebutton.c:
	* gtk/gtkscalebutton.c:  Fix up symbol aliasing.

Yevgen Muntyan's avatar
Yevgen Muntyan committed
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
2007-05-23  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtk/gtkprintunixdialog.c: missing #include <ctype.h>.

	* gtk/gtkhandlebox.c (gtk_handle_box_paint):
	* gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
	* gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
	* gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
	* gtk/gtkpreview.c (gtk_preview_finalize):
	* gtk/gtknotebook.c (gtk_notebook_set_group_id):
	* tests/testnotebookdnd.c (window_creation_function):
	* tests/testiconview.c (do_popup_menu):
	Fixed some compiler warnings (#440689).

128 129 130 131 132 133 134 135 136 137 138
2007-05-23  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
	from the window they were received on to the event widget's window;
	correct for no-window widgets after that, bail out on failure.  This
	makes the coordinates given by GtkWidget::query-tooltip truly relative
	to widget->window.  (#435188).

	* gtk/gtkwidget.c (gtk_widget_class_init): update docs for
	GtkWidget::query-tooltip.

139 140 141 142 143 144 145 146 147 148
2007-05-22  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkprintcontext.c (gtk_print_context_finalize),
	(_gtk_print_context_new), (_gtk_print_context_get_fontmap),
	(gtk_print_context_set_cairo_context),
	(gtk_print_context_get_pango_fontmap),
	(gtk_print_context_create_pango_context):
	Don't create new pango fontmaps.  Use the default pangocairo
	fontmap and set resolution on PangoContext instead. (#417707)

Richard Hult's avatar
Richard Hult committed
149 150 151 152 153 154 155
2007-05-21  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
	resolution.
	
	* gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.

Michael Natterer's avatar
Michael Natterer committed
156 157 158 159
2007-05-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.

Tim Janik's avatar
Tim Janik committed
160 161 162 163
Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.

164 165 166 167 168
2007-05-21  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
	multiple monitors.

169 170 171 172 173 174 175
2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

        * gdk/directfb/gdkwindow-directfb.c:
        * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
        required to enable gdk_directfb_create_child_window.
        (Closes: #437379)

176 177 178 179 180 181 182 183 184 185 186
2007-05-20  Bastien Nocera  <hadess@hadess.net>

	* gtk/Makefile.am:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
	a button that pops up a scale when clicked (Closes: #415775)
	* tests/Makefile.am:
	* tests/testvolumebutton.c: Add a test program for the
	volume button

187 188 189 190 191 192 193 194 195 196
2007-05-19  Bastien Nocera  <hadess@hadess.net>

	reviewed by: Matthias Clasen <mclasen@redhat.com>

	* gtk/Makefile.am:
	* gtk/gtk.h:
	* gtk/gtk.symbols:
	* gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
	a button that pops up a scale when pressed

197 198 199 200 201 202 203 204 205 206
2007-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
	in favour of new functions gtk_notebook_[gs]et_group, which
	takes a pointer as group identifier and makes it easier to
	avoid group id collisions.  (#386930, Christian Hammond)
		
	* tests/testnotebookdnd.c: Use new grouping api.

207 208 209
2007-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c: Warn and refuse to add actions with
Matthias Clasen's avatar
Matthias Clasen committed
210 211
	duplicate names.  (#150877, Tommi Komulainen, patch by Kalle
	Vahlman)
212

213 214 215 216 217 218 219
2007-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
	to allow automatic scrolling in response to cursor movements
	in the entry.  (#438651, Nate Nielsen)

220 221 222 223 224
2007-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
	signal, and bind F7 to it.  (#380048, Tim Miao)

225 226 227 228 229 230 231
2007-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkicontheme.h:
	* gtk/gtkicontheme.c: Add a function to look up an icon from
	a list of icon names.  (#396901, Luca Ferretti)

Emmanuele Bassi's avatar
Emmanuele Bassi committed
232 233 234 235 236 237 238 239 240
2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c:
	(gtk_recent_chooser_default_dispose): Reset the state on dispose.

	(cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
	is a valid state, if the main loop never had the chance to
	properly spin at least once. (#438671)

241 242 243 244 245
2007-05-18  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
	string for translation. (#439437)

Matthias Clasen's avatar
Matthias Clasen committed
246 247 248 249 250
2007-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
	doc typo.  (#438100, Vincent Untz)

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>

	* INSTALL.in:
	* README.in:
	* configure.in: Bump libtiff requirement to 3.6.0, by requiring
	  presence of TIFFReadRGBAImageOriented.

        * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
        Preserve pixbuf options when generating a new scaled pixbuf.

        * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
        (gdk_pixbuf__jpeg_image_load_increment): Read the exif
        orientation tag and associate it with the "orientation" pixbuf
        option. Renders libexif unnecessary in some applications.

        * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
        compensate for the partial rotations performed by libtiff,
        and generate an "orientation" option for the pixbuf.

Carlos Garnacho's avatar
Carlos Garnacho committed
270 271 272 273
2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkexpander.c: remove c++ style comment.

274 275 276 277 278 279 280 281 282 283 284 285
2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	Make combobox menu popdown keybindable (#433593)

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
	signal and keybindings.
	(gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
	handler.
	(gtk_combo_box_menu_key_press):
	(gtk_combo_box_list_key_press): forward the event to the combobox if
	it wasn't handled by the menu.

286 287 288 289 290 291 292
2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
	(gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
	their DnD handlers if the target doesn't match with anything the
	notebook manages. (#350665, Joakim Lundborg).

293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	Refactor GtkFileChooserDialog sizing.

	* gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
	(_gtk_file_chooser_embed_get_resizable_hints):
	s/resizable_hints/resizable/, return just one boolean value to
	determine whether the filechooser should be resizable or not.

	* gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
	variables related to the GtkFileChooserEmbed get_default_size() and
	get_resizable() implementations.
	(struct GtkFileChooserDefault): Move default size management here.

	* gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
	Added, store currently allocated size to calculate default size later.
	(gtk_file_chooser_default_get_resizable_hints):
	s/resizable_hints/resizable/.
	(gtk_file_chooser_default_set_property): Reload settings if the file
	chooser action changes, this way the save expander state will be known
	before mapping the window, avoiding wrong window positioning and
	flickering. (#424299, #424309)
	(find_good_size_from_style): Only get size from style if it wasn't set
	previously.
	(gtk_file_chooser_default_get_default_size): return default size based
	on stored default size and preview/extra widget sizes.

	* gtkfilechooserdialog.c (file_chooser_widget_update_hints)
	(file_chooser_widget_realized_size_changed)
	(file_chooser_widget_unrealized_size_changed): simplified to
	(file_chooser_widget_size_changed): set window size and resizability
	based on the GtkFileChooserEmbed interface implementation. (Bug
	#420285, Tomeu Vizoso)
	(gtk_file_chooser_dialog_map): force a dialog size change, so it's
	clamped for sure to the 75% of the screen size.

329 330 331 332 333 334 335
2007-05-18  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
	the brand new current page if there was none set previously. Fixes
	#425138 (Reported by Michail Crayson). Some code simplifications.
	(gtk_notebook_draw_arrow): code style fix.

336 337 338 339 340 341
2007-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
	buttons. Keep the focus from vanishing when Up or Down arrows
	become insensitive or invisible.  (#357005, Patrick Wade)

342 343 344 345 346 347 348 349 350 351 352 353 354 355
2007-05-16  Brian Cameron  <brian.cameron@sun.com>

	* acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
	  gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
	  gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
	  gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
	  hardware acceleration via mediaLib is enabled if mediaLib is
	  detected via configure.  Enhancement request #344813.  I was given
	  permission to commit in the bug report by Matthias Clasen.
	* gdk/medialib.[ch]: New files added for mediaLib support.
	* docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
	  docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
	  mediaLib support.

356 357 358 359 360 361
2007-05-15  Torsten Schoenfeld  <kaffeetisch@gmx.de>

	* gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
	priv->free_platform_data to prevent gtk_print_operation_finalize()
	from freeing the cairo surface a second time.

362 363 364 365 366 367
2007-05-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
	dangling semicolon, fixes the segfault ebassi was seeing earlier today
	;)

368 369 370 371 372 373 374
2007-05-14  Tristan Van Berkom  <tvb@gnome.org>

	* gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name() 
	were deprecated in favour of gtk_about_dialog_get/set_program_name(), 
	the GtkAboutDialog now uses the "program-name" property instead of 
	the conflicting "name" property (fixes bug 345822).

375 376 377 378 379 380 381 382
2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>

	* configure.in: Add check for GNU extensions to ftw()/nftw().

	* gtk/gtksearchenginesimple.c: Fix compilation on systems with
	only POSIX-compliant ftw(). (#435797, based on a patch by
	Richard Hult)

383 384 385 386 387 388 389
2007-05-14  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c:
	Convert the GtkTreeIter inside the sorting functions for the
	search and recent modes. This doesn't yet fix the segfault when
	clicking the 'Name' column in recent mode, though.

390 391 392 393 394 395
2007-05-14  Behdad Esfahbod  <behdad@gnome.org>

	* modules/input/gtkimcontextthai.c
	(gtk_im_context_thai_filter_keypress):
	Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)

396 397 398 399 400
2007-05-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
	as 2.12 addition.  (#438131, Mart Raudsepp)

401 402 403 404 405 406
2007-05-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
	size requisition for wide vertical separators.  (#438113, 
	Benjamin Berg)

407 408 409 410 411
2007-05-13  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
	all the symbols defined in <ftw.h> conditionally.

412 413 414 415 416 417 418
2007-05-13  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkevents-win32.c: Only do the configure event context
	iteration under WM_WINDOWPOSCHANGED instead of inside
	handle_configure_event().  This fixes a bug that prevented window
	contents from being redrawn after gtk_window_resize(). (#436721)

419 420 421 422 423
2007-05-12  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
	generation.  (#437879, Eddie C. Dost)

424 425 426 427 428 429 430 431
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)
	
	* gtk/gtkfilechooserdefault.c: Support drag and drop for
	adding shortcuts of folders when in search or recent files
	mode.

432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserprivate.h:
	* gtk/gtkfilechooserdefault.c: Follow the sorting order of
	the GtkTreeView displaying the files list.

	(shortcuts_get_index), (shortcuts_insert_separator),
	(shortcuts_model_create), (shortcuts_combo_filter_func): Remove
	the separator between the Search and the Recently Used shortcuts.

	(list_select_func), (list_icon_data_func), (list_name_data_func),
	(list_mtime_data_func): Update the sensitivity of the row
	depending on the GtkFileChooserAction used.

448 449 450 451 452 453 454 455 456
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserprivate.h:
	* gtk/gtkfilechooserdefault.c: Update the contents of the
	files list when changing the filter of the GtkFileChooserDefault
	widget.

457 458 459 460 461 462 463 464
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserdefault.c: Update the add bookmark button
	sensitivity when in search or recent files mode, and allow
	adding a bookmark for a folder.

465 466 467 468 469 470 471 472 473 474 475 476
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
	a mnemonic to the label, de-boldify the label's text and assign
	focus to the search entry when switching to the search mode.

	(list_name_data_func): Split the text in both search and recent
	files mode: on the first line use the short name and on the
	second line use the full path.

477 478 479 480 481 482 483 484
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserprivate.h:
	* gtk/gtkfilechooserdefault.c: Add support for showing the
	recently used files list as a special shortcut item.

485
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501
	
	GtkFileChooser search fixes and recent files support.  (#435342)

	* gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
	indentation style consistency.

	(list_row_activated): If the search hit is a folder, follow it
	when activating the row, and switch back to browse mode.

	(search_clear_model), (search_start_query),
	(search_entry_activate_cb), (search_setup_widgets): Remember
	the last query when switching between modes.

2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	GtkFileChooser search fixes and recent files support.  (#435342)
502 503 504 505 506 507 508 509 510 511 512 513 514

	* gtk/gtkfilechooserdefault.c:
	(_gtk_file_chooser_default_class_init): Add key binding for
	the Search shortcut; default to MOD1+S.

	(search_shortcut_handler): Handle the key binding.

	(search_hit_get_info_cb), (search_add_hit), (search_clear_model),
	(search_setup_model): Retrieve informations on the search hits
	when adding them to the model.

	(list_icon_data_func): Show the search hit icon.

515 516 517 518 519 520
2007-05-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (selection_motion_event_handler): call
	gdk_event_request_motions(event) so selecting works with
	XInput devices too. Spotted by Tommi Komulainen.

521 522 523 524 525 526 527
2007-05-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
	to GtkSearchEngineSimple only if gthread has already been
	initialiased; otherwise, disable search support in the file
	chooser widget.  (#435847)

528 529 530 531 532
2007-05-10  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
	image before overwriting priv->image.  (#437281, Jochen Baier)

533 534 535 536 537
2007-05-10  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
	Correct a confusing warning.  (#437284, Björn Lindqvist)

538 539 540 541 542
2007-05-10  Matthias Clasen <mclasen@redhat.com>

	* gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
	the backend if the region is empty.  (#437081, Sven Neumann)

Matthias Clasen's avatar
Matthias Clasen committed
543 544 545 546 547
2007-05-10  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtksearchenginesimple.c (search_visit_func);
	Assume Posix nftw behaviour. 

548 549 550 551 552 553
2007-05-09  Dom Lachowicz <domlachowicz@gmail.com>

	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't 
	expand/collapse with Right/Left cursor keys on Windows
	(#436269, Daniel Atallah)

554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
2007-05-09  Cody Russell  <bratsche@gnome.org>

	* gtk/gtkmenu.c:
	(get_arrows_border): New function to calculate the border sizes needed 
	for the scroll arrows.
	(get_arrows_visible_area): New function to calculate the arrows visible 
	area.
	(get_arrows_sensitive_area): New function to calculate the arrows
	sensitive area.
	(gtk_menu_paint): Refactored code to calculate the border sizes needed
	for the scroll arrows into get_arrows_border and the code to calculate 
	the visible area into get_arrows_visible_area.
	(gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
	to get_arrows_sensitive_area.
	(gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
	gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
	get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
	callers.  (From #436533, Tommi Komulainen)

573 574 575 576 577 578 579 580 581
2007-05-09  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press),
	(gtk_tree_view_key_release):
	* gtk/gtkiconview.c (gtk_icon_view_class_init),
	(gtk_icon_view_key_press),
	(gtk_icon_view_key_release): Disable key bindings during rubber
	banding, make pressing Esc stop rubber banding.  (#405027).

582 583 584 585 586 587
2007-05-09  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
	with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.

588 589 590 591 592 593 594 595
2007-05-05  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c:
	(gdk_quartz_drawable_get_context),
	(gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
	Turns out the lockFocus logic was flawed, now we only lock/unlock 
	when called outside a real expose event and never flush manually.

596 597 598 599 600 601
2007-05-03  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtklabel.c (gtk_label_ensure_layout):
	* gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
	using pango_layout_set_justify() that works now. (#435675)

602 603 604 605 606
2007-05-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
	spurious g_free() call.

607 608 609 610 611
Thu May  3 16:27:34 2007  Tim Janik  <timj@imendio.com>

	* tests/testgtk.c (create_handle_box): made handle box test non-modal,
	so other test can interact with handle boxes.

612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
2007-05-02  Emmanuele Bassi  <ebassi@gnome.org>

	Add search file support in the GtkFileChooser. Original patch
	by Federico Mena Quintero; patch updated by Matthias Clasen.
	See bug #344785.

	* gtk/gtksearchengine.[ch]: Private search engine abstraction
	object.

	* gtk/gtksearchenginebeagle.[ch]: Private search engine
	implementation using libbeagle (via g_module_open()).

	* gtk/gtksearchenginesimple.[ch]: Private search engine
	implementation using file tree walking.

	* gtk/gtksearchenginetracker.[ch]: Private earch engine
	implementation using libtracker (via g_module_open()).

	* gtk/gtkquery.[ch]: Private query object for the search
	engines.

	* gtk/gtkfilechooserprivate.h:
	* gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
	query a search engine backend using GtkQuery; create a new
	operating mode, OPERATION_MODE_SEARCH, and call the common
	operating mode OPERATION_MODE_BROWSE; add support for virtual
	shortcuts inside the shortcuts model and create a new "Search"
	virtual shortcut.

	* gtk/Makefile.am: Update the build with the new files

643 644 645 646 647 648
2007-05-02  Armin Burgmeier  <armin@openismus.com>

	* gtk/gtkcombobox.c: Destroy the menu in dispose instead of
	finalize, because the menu might unparent itself from its parent and
	cause a signal emission on a finalized object. (#430746)

649 650 651 652 653
2007-05-02  Dom Lachowicz <domlachowicz@gmail.com>

	* modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs 
	rendered upside down for non-XP theme (#435053, Daniel Atallah)

654 655 656 657 658
Wed May  2 11:35:45 2007  Tim Janik  <timj@imendio.com>

	* docs/faq/gtkfaq.sgml: removed, since this file is long outdated
	and fully replaced by docs/faq/gtk-faq.sgml.

659 660 661 662 663
2007-05-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
	if it's active.

664 665 666 667 668
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcachevalidator.c: Don't be too strict when checking
	icon flags.  (#435062)

669 670 671 672 673
2007-05-01  Matthias Clasen  <mclasen@redhat.com>
	
	* gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
	pngs.

674 675 676 677 678 679
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
	Don't ignore the fact that gtk_file_system_get_parent() 
	may return NULL.  (#424042, Jan Martinek)

680 681 682 683 684
2007-05-01  Dan Winship  <danw@novell.com>

	* gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
	leader_window's WM_CLIENT_LEADER points to itself. #435028

685 686 687 688 689
2007-05-02  Christian Persch  <chpe@gnome.org>

	* gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
	GSlice for gtk_tree_iter_copy. Bug #434863.

690 691 692 693 694 695
2007-05-02  Christian Persch  <chpe@gnome.org>

	* gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
	GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
	#434861.

696 697 698 699 700 701 702
2007-05-02  Christian Persch  <chpe@gnome.org>

	* gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
	(gtk_paper_size_new), (gtk_paper_size_new_custom),
	(gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
	GtkPaperSize. Bug #434862.

703 704 705 706 707 708
2007-05-02  Christian Persch  <chpe@gnome.org>

	* gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
	(gtk_statusbar_expose_event): No need to allocate a guint; just stuff
	the ID into the pointer directly. Bug #434865.

Matthias Clasen's avatar
Matthias Clasen committed
709 710
2007-05-01  Matthias Clasen  <mclasen@redhat.com>

711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736
	* gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
	(update_current_folder_get_info_cb): add a new struct field to clear
	the file entry after the current folder has been updated.

	(gtk_file_chooser_default_update_current_folder),
	(change_folder_and_display_error): Add a new function parameter to
	trigger file entry clearing.

	(edited_idle_create_folder_cb),
	(file_list_drag_data_received_get_info_cb),
	(gtk_file_chooser_default_map),
	(gtk_file_chooser_default_set_current_folder),
	(switch_to_selected_folder), (save_entry_get_info_cb),
	(shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
	(shortcuts_activate_get_info_cb), (list_row_activated),
	(path_bar_clicked): use new function parameter appropriately.

	(gtk_file_chooser_default_should_respond): trigger file entry clearing
	after the directory is updated instead of clearing it before, this way 
	we avoid reloading the completion model with the soon to be old folder, 
	causing a warning and a glitch in the folder where completion happens. 
	(#379414, Carlos Garnacho)

2007-05-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
Matthias Clasen's avatar
Matthias Clasen committed
737 738 739 740 741 742 743 744 745

	* gtk/updateiconcache.c: Validate the generated cache before
	moving it in place. Also add a --validate option to validate
	an existing icon cache.

	* gtk/gtkiconcache.c: Validate icon caches before using them.

	* gtk/Makefile.am: Integrate it.

746 747 748 749 750 751 752 753 754
2007-05-01  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdisplay-directfb.c:
	Added stub gdk_notify_startup_complete_with_id to compile
	* gdk/directfb/gdkwindow-directfb.c:
	Added gdk_window_set_opacity
	* gdk/directfb/gdkkeys-directfb.c:
	Fix menu key handling crash Bug #413328

755 756 757 758 759 760
2007-05-01  Christian Persch  <chpe@gnome.org>

	* gtk/gtkprinter.h:
	* gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
	the new location. Bug #390437.

761 762 763 764 765
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (settings_update_color_scheme):
	Make sure we always have a color_hash.  (#423916, Jens Granseuer)

766 767 768 769 770 771 772 773
2007-04-30  Christian Persch  <chpe@gnome.org>

	* docs/reference/gtk/gtk-sections.txt:
	* gtk/gtk.symbols:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c: (gtk_printer_get_capabilities),
	(gtk_print_capabilities_get_type):
	* gtk/gtkprinter.h:
774 775
	* gtk/gtkprintjob.c:
	* gtk/gtkprintjob.h:
776 777 778 779
	* gtk/gtkprintunixdialog.c: (selected_printer_changed):
	Make gtk_printer_get_capabilities public, and move the
	GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.

780 781 782 783 784 785
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
	must not set the background of its window.  (#433972,
	Guilherme Polo)

Richard Hult's avatar
Richard Hult committed
786 787 788 789 790
2007-04-30  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
	Implement.

791 792 793 794 795 796
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Get all
	the printer attributes when getting the list of printers,
	not via separate requests.  (#387889, Krishan Purahoo)

797 798 799 800 801 802 803
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	Some more compiler warning fixes.

	* gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
	Fix NULL/FALSE confusion.

804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	Fix some compiler warnings.  (#433642, Kjartan Maraas)

	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
	(gtk_file_system_win32_create_folder):
	* gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.  

	* gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
	the right type to uri_func.  
	
	* gtk/gtktext.c (gtk_text_key_press):
	* gtk/gtkstatusicon.c (gtk_status_icon_get_property): 
	* gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.

	* gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed): 
	(gtk_tray_icon_delete):
	* gtk/gtkprintunixdialog.c (create_main_page):
	* gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.

	* gtk/gtkliststore.c: Adapt callbacks to GSequence types.

Cody Russell's avatar
Cody Russell committed
826 827 828 829 830 831 832 833
2007-04-30  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
	but now we're calling it from _gdk_windowing_window_clear_area()
	instead of from the WM_ERASEBKGND event.  Also fixes the area
	that is cleared so that it is not an extra row and column too
	large.  (Neil Roberts, #415681)

834 835 836 837
2007-04-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c: Allow indents to be negative.  (#Bug 434308)

838 839 840 841 842 843 844
2007-04-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
	submenu explicitely only in touchscreen mode since otherwise
	selecting the item already pops up the submenu. Restores the
	drag-selection timeout (spotted by Søren Sandmann, #128968).

845 846 847 848 849
2007-04-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
	to gtk_paper_size_get_paper_sizes().

850 851 852 853 854
2007-04-30  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
	_gtk_load_custom_papers() exists only on Unix.

855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
2007-04-30  Tor Lillqvist  <tml@novell.com>

	Add functionality to set overall opacity of a top-level
	window. (#405316)

	* gdk/gdk.symbols: Add gdk_window_set_opacity.

	* gdk/x11/gdkwindow-x11.c
	* gdk/win32/gdkwindow-win32.c: Implement
	gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
	property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).

	* gdk/gdkwindow.h: Declare gdk_window_set_opacity().

	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
	that this is not implemented in the Windows backend. Add reference
	to gdk_window_set_opacity().

873 874 875
	* gtk/gtk.symbols: Add gtk_window_set_opacity and
	gtk_window_get_opacity.

Tor Lillqvist's avatar
Tor Lillqvist committed
876
	* gtk/gtkwindow.c (struct _GtkWindowPrivate)
877 878 879 880 881 882 883 884 885
	(gtk_window_class_init): Add opacity property, a double in the
	range [0, 1].
	(gtk_window_set_opacity, gtk_window_get_opacity): Implement.
	(gtk_window_realize): If opacity is set, call
	gdk_window_set_opacity().

	* gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
	gtk_window_get_opacity().

886 887 888 889 890 891 892 893 894 895 896 897 898 899
2007-04-30  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
	to gtk_paper_size_get_paper_sizes() and optionally include
	custom paper sizes.

	* gtk/gtkpagesetupunixdialog.c: Internally export a function
	to load custom paper sizes.

	* modules/printbackends/file/gtkprintbackendfile.c: Implement
	printer_list_papers, returning all paper sizes.  (#434329,
	Christian Persch)

900 901 902 903 904 905
2007-04-30  Matthias Clasen <mclasen@redhat.com>
	
	* gtk/gtkprintoperation.c: Translate the default job
	name, and don't utf8-validate the job name in the
	setter.  (#421993, Morten Welinder)

906 907 908 909 910
2007-04-30  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
	g_unlink.  (#421990, Morten Welinder)

911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927
2007-04-29  Matthias Clasen <mclasen@redhat.com>

	Fix some issues with reference handling in the printing
	code.  (#429902, Mathias Hasselmann)

	* gtk/gtkprintoperation.c (gtk_print_operation_finalize):
	Unref the print context, if we have one.
	(gtk_print_operation_done): Add a default ::done handler 
	that unrefs the print context.
	(preview_ready): Take a reference on the print operation
	preview here.
	(print_pages_idle): ...not here,
	(preview_print_idle_done): ...and release it here.

	* tests/print-editor.c (preview_cb): Take a reference
	on the print operation here.

928 929 930 931 932 933
2007-04-29  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages_idle): Don't get
	stuck in a recursive mainloop if a synchronous preview
	is cancelled.

934 935 936 937 938 939 940 941 942 943 944 945
2007-04-29  Matthias Clasen <mclasen@redhat.com>

	Make the emission of ::end-print and ::done consistent
	for previews.  (#347567, Yevgen Muntyan)

	* gtk/gtkprintoperation.c (preview_iface_end_preview): Set
	the finished status here.
	(preview_end_run): ...and not here.
	(print_pages_idle_done): Emit ::done for a cancelled preview.
	(print_pages_idle): If a preview has been cancelled, don't
	emit ::ready, but emit ::end-print. 

946
	* tests/print-editor.c: Use ::end-print to undo allocations
947 948
	from ::begin-print.

949 950 951 952 953 954
2007-04-29  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
	in the PWG "custom" namespace as custom. Add a link to 
	the spec in the docs.  (#426416, Andreas Guelzow)

955 956 957 958 959 960
2007-04-29  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (gtk_print_operation_run): Document
	that a print operation can be run only once, and add a 
	corresponding g_return_if_fail().   (#379399, Masao Mutoh)

961 962 963 964 965 966 967
2007-04-29  Dan Winship  <danw@novell.com>

	* gdk/x11/gdkdisplay-x11.c
	(gdk_x11_display_broadcast_startup_message): New method to
	marshall and send a Startup Notification message. (from #415070)
	(gdk_notify_startup_complete_with_id): Use that

968 969 970 971 972
2007-04-29  Mattthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c 
	(_gtk_print_operation_platform_backend_launch_preview):
	Don't leak a file descriptor, and don't make the error
973
	dialog modal.  (#421985, Morten Welinder, Christian Persch)
974

975 976 977 978 979 980 981 982
2007-04-29  Xan Lopez  <xan@gnome.org>

	* docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
	Diego Escalante Urrelo).

	I'm fixing gtk-faq.sgml as it seems this is the file
	we actually use...

983 984 985 986 987 988
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): 
	Only strip parentheses of the form (_x).  (#434261,
	Brian Wellington)

989 990 991 992 993 994 995 996 997 998
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c
	(_gtk_print_operation_platform_backend_launch_preview):
	Support passing a print settings file to the preview 
	command.  (#403717, Christian Persch)

	* gtk/gtksettings.c: Document %s in the 
	gtk-print-preview-command setting.

999 1000 1001 1002 1003 1004
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages_idle): Also check
	the default handler when deciding whether to emit the
	paginate signal.  (#345345, Yevgen Muntyan)

Matthias Clasen's avatar
Matthias Clasen committed
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h: Add a new error code

	* gtk/gtk.symbols:
	* gtk/gtkpagesetup.[hc]:
	* gtk/gtkpapersize.[hc]:
	* gtk/gtkprintsettings.[hc]: Add functions to serialize 
	and deserialize page setups and print settings to files 
	and key files.  (#344515, Christian Persch)

	* gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.

	* tests/print-editor.c: Use the new functions to persist 
	page setup and print settings.

1021 1022 1023 1024 1025
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
	Free the custom paper list.  (#403267, Felix Riemann)

1026 1027 1028 1029 1030
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
	small memory leak.  (#403251, Felix Riemann)

1031 1032 1033 1034 1035
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Fix a
	typo. String change !  (#406160, Stephane Raimbault)

1036 1037 1038 1039 1040 1041
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkpapersize.[hc]: Add a function to list the
	builtin paper sizes.  (#382355, Christian Persch)

1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
	gtk_printer_request_details() public.

	* gtk/gtkpagesetupunixdialog.c:
	* gtk/gtkprintunixdialog.c: Update callers.  (#389203, 
	Christian Persch)

1053 1054 1055 1056 1057 1058 1059 1060
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add --enable-test-print-backend, defaulting
	to no.

	* modules/printbackends/Makefile.am: Make building the test
	print backend conditional.

1061 1062 1063 1064 1065 1066 1067 1068 1069 1070
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/lpr/*:
	* modules/printbackends/cups/*: Correct some copyright lines.

	* configure.in:
	* modules/printbackends/Makefile.am:
	* modules/printbackends/test/*: Add a test print backend.
	(#409089, John Palmieri)

1071 1072 1073 1074 1075
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttag.[hc]: Add a way to specify accumulative
	margins.  (#344499, Nate Nielsen)

1076 1077 1078 1079 1080 1081
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
	of the input-only window if we also have a visible window. 
	(#405089)

1082 1083 1084 1085 1086 1087 1088
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
	* gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
	Recognize negative column indices as invalid.  (#415260,
	Chris Wilson)

1089 1090 1091 1092 1093 1094 1095
2007-04-28  Ronald Bultje  <rbultje@ronald.bitfreak.net>

	* gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
	(poll_func): fix two more potential races that could happen when
	an application is polling in the mainloop and a separate thread
	tries to wake it up using g_idle_add(). Fixes #425271 comment 5.

1096 1097
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

1098 1099 1100
	* gtk/gtkentry.c (gtk_entry_grab_focus): 
	(gtk_entry_real_insert_text): Only call g_object_get() 
	when necessary.  (#373137, Morten Welinder, patch by Xan Lopez)
1101

1102 1103 1104 1105 1106
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
	a note about being embedded.  (#340107, Christian Persch)

1107 1108 1109 1110 1111 1112
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
	restrict drags within an application/widget.  (#163141, 
	Jorn Baayen)

Matthias Clasen's avatar
Matthias Clasen committed
1113 1114 1115 1116 1117 1118
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* docs/tools/Makefile.am:
	* gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
	Komulainen)

1119 1120 1121 1122 1123 1124 1125 1126
2007-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
	* gtk/gtkfilesystemmodel.c (got_root_folder_cb):
	(get_children_folder_cb): Plug memory leaks caused by wrong 
	use of g_slist_remove_link().  (#405515, Nicolas Peninguy)

1127 1128 1129 1130 1131
2007-04-28  Matthias Clasen  <mclasen@redhat.com>
	
	* demos/gtk-demo/printing.c: Fix the headers in the print
	demo.  (#423722, Yevgen Muntyan)

1132 1133 1134 1135 1136
2007-04-28  Xan Lopez  <xan@gnome.org>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
	Use strstr instead of g_strstr with -1 for length.

1137 1138 1139 1140 1141 1142 1143
2007-04-28  Xan Lopez  <xan@gnome.org>

	* gtk/gtkentry.c:
	* gtk/gtkentrycompletion.c:
	* gtk/gtkentrycompletion.h:
	* gtk/gtkentryprivate.h:

Xan Lopez's avatar
Xan Lopez committed
1144
	Remember the user input that triggered the completion, add
1145 1146 1147 1148
	API to the retrieve it and reset the entry contents to it
	if the user cancels the tentative completion during
	the inline-selection.
	
1149 1150 1151 1152 1153
2007-04-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkgeometry-x11.c: Factor out window movement
	functions. (#63820, Tilman Sauerbeck)

1154 1155 1156 1157 1158
2007-04-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
	(#63820, Tilman Sauerbeck)

1159 1160 1161 1162 1163
2007-04-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkgeometry-x11.c: Factor out window mapping
	and unmapping functions.  (#63820, Tilman Sauerbeck)

1164 1165 1166 1167 1168
2007-04-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkgeometry-x11.c: Make list handling code
	easier to read.  (#63820, Tilman Sauerbeck)

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178
2007-04-27  Matthias Clasen  <mclasen@redhat.com>

	* gtkassistant.c:
	* gtkiconfactory.c:
	* gtkiconview.c:
	* gtkpapersize.c:
	* gtkrecentmanager.c:
	* gtktextiter.c: Internalize some strings, pointed out
	by Damon Chaplin.

1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194
2007-04-27  Xan Lopez  <xan@gnome.org>

	Support inline-selection in entries (#318459)
	
	* gtk/gtkentry.c:
	* gtk/gtkentrycompletion.c:
	* gtk/gtkentrycompletion.h:
	* gtk/gtkentryprivate.h:

	When enabled cursor-match is emited when the cursor is on
	a possible completion on the list. The default implementation
	will replace the contents on the entry with the contents of
	the text column in the completion model.

	Review and improvements by Matthias Clasen.

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
2007-04-27  Michael Natterer  <mitch@imendio.com>

	Merged heavily modified patch from maemo-gtk which enables opening
	and closing submenus on click, and introduces some usability
	changes when gtk-touchscreen-mode is enabled (bug #128968):

	* gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
	"activated_submenu" to indicate that the current mouse operation
	(click or drag) has opened a submenu.

	(gtk_menu_shell_button_press): pop up submenus without delay
	and record the fact in "activated_submenu".

	(gtk_menu_shell_button_release): if a submenu was explicitely
	opened, or not opened by this release's button_press, or enough
	time has passed since timeout-opening it, close the submenu here.

	(gtk_menu_shell_enter_notify): when entering a menu item with
	any mouse button pressed, open its submenu.

	(gtk_real_menu_shell_move_current): in touchsreen mode, close the
	submenu when moving the focus away from it via keyboard-navigation.

	* gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
	parameter "gboolean with_delay" so GtkMenuShell can control this
	for the different scenarios of submenu showing.

	(_gtk_menu_item_popdown_submenu): new function. also needed by
	GtkMenuShell for closing submenus on click.

	Renamed internal function gtk_menu_item_select_timeout() to
	gtk_menu_item_popup_timeout().

	(gtk_menu_item_real_popup_submenu): new utility function which
	does the actual popup and records the exact time of the popup when
	the menu was timeout-opened (using g_get_current_time()).

	(gtk_real_menu_item_select): don't add the popup timeout when in
	touchscreen mode.

	* gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
	first item of every opened menu.

1238 1239 1240 1241 1242
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserentry.c: Append a '/' to directory names
	in the completion popup.  (#431323, Maarten Maathuis)

1243 1244 1245 1246 1247 1248
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* demo/gtk-demo/combobox.c: Add a simple validation demo. 
	* gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
	children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)

1249 1250 1251 1252 1253 1254 1255
2007-04-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
	(gtk_input_dialog_fill_keys): Remove old child of scrolled window
	before adding a new one when switching what input device is being
	handled. (#399425)

1256 1257 1258 1259 1260 1261
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/lpr/gtkprintbackendlpr.c
	(gtk_print_backend_lpr_init): Mark the printer list as done. 
	(#428665, Bogdan Gheorghe)

1262 1263 1264 1265 1266 1267
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am:
	* gtk/Makefile.am: Don't install UNIX-printing headers and
	support files on non-UNIX platforms.  (#425655, Vincent Geddes)

1268 1269 1270 1271 1272
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
	unnamed separators.  (#369112, Christian Persch)

1273 1274 1275 1276 1277
2007-04-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
	invalid memory.  (#429732, Armin Burgmeier)

1278 1279 1280 1281 1282 1283 1284 1285
2007-04-26  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/xcursors.h:
	* gdk/win32/gdkcursor-win32.c:

	Use Win32 native cursors instead of the ones built into GTK
	where it makes sense. (#128852, Tim Evans)

Cody Russell's avatar
Cody Russell committed
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298
2007-04-25  Cody Russell  <bratsche@gnome.org>

	* gdk/gdkwindow.h:
	* gtk/gtkwidget.c:
	* gtk/gtkhandlebox.c:
	* gdk/directfb/gdkwindow-directfb.c:
	* gdk/linux-fb/gdkwindow-fb.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/win32/gdkwindow-win32.c:
	* gdk/x11/gdkwindow-x11.c:
	Added window type hint and implement drop shadows on Win32
	for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)

1299 1300 1301 1302 1303
2007-04-25  Jakub Steiner <jimmac@ximian.com>

	* gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
		gtk-close as per discussion in bug #431740.

1304 1305 1306 1307 1308
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
	of the header window again.  (#431067, Benjamin Berg)

1309 1310 1311 1312 1313 1314 1315 1316
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
	NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
	depends on it. 

	* tests/testicontheme.c: Report builtin icons.

1317 1318 1319 1320 1321
2007-04-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
	crash if end_run is not set.  (#424168, Matthias Hasselmann)

1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335
2007-04-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
	scroll buttons (we were setting the state to ACTIVE but
	immediately overwriting it with NORMAL or PRELIGHT). Also got rid
	of many separate calls to gdk_window_invalidate_rect() by
	remembering the old button state and only invalidating the area if
	the state has changed (addresses parts of bug #433242, Tommi
	Komulainen).

	(gtk_menu_scroll_to): change the arrow states only if changing
	from or to INSENSITIVE state, so we don't overwrite the ACTIVE
	state set by above function.

1336 1337 1338 1339 1340
2007-04-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
	build. Dunno if the fix is right, but I think it is.

1341 1342 1343 1344 1345
2007-04-25  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
	cleanup/refactor some leftover code.

1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
2007-04-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
	half-open ranges like -2 or 3-, and be a bit more liberal
	about whitespace.
	(dialog_set_page_ranges): Support half-open ranges.

	* gtk/gtkprintoperation.c (print_pages_idle): Substitute the
	number of pages in half-open ranges.
	(preview_iface_is_selected): Support half-open ranges here, too.

1357 1358 1359 1360 1361 1362
2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkicontheme.c (scan_directory): Ensure the 
	icon_theme->all_icons and dir->icons hash tables use the same string
	as their keys. (#418531)

Cody Russell's avatar
Cody Russell committed
1363 1364 1365 1366 1367
2007-04-23  Cody Russell  <bratsche@gnome.org>
	* modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
	left-most tab when notebooks are top-oriented.  Also general cleanup of
	notebook tab related code.  (Lieven van der Heide, Cody Russell)

1368 1369 1370 1371 1372
2007-04-23  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Reduce
	the amount of debug spew if we are not debugging.
	
1373 1374 1375 1376 1377
2007-04-23  Michael Natterer  <mitch@imendio.com>

	* tests/Makefile.am (testtooltips_SOURCES): fix typo:
	testtoooltips_SOURCES -> testtooltips_SOURCES.

Cody Russell's avatar
Cody Russell committed
1378 1379 1380 1381 1382
2007-04-19  Cody Russell <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
	for Windows Vista.  (#392015, Hiroyuki Yamamoto)

1383 1384 1385 1386 1387
2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>

	* modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
	non-WinXP rendering paths. From Daniel Atallah (#403470)
	
1388 1389 1390 1391 1392 1393
2007-04-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.h:
	* gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
	icon lookup flag and implement it.  (#396901, Luca Ferreti)
	
1394 1395 1396 1397 1398 1399 1400 1401 1402
2007-04-18  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_quartz_process_updates_internal),
	(gdk_window_quartz_process_all_updates),
	(gdk_window_impl_quartz_process_updates): Refactor the process 
	updates functions to share code between them. Also fixes bug 
	#427660 by not updating larger regions than necessary.

1403 1404 1405 1406 1407
2007-04-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkregion-generic.h (GROWREGION): Handle the case
	of nRects == 0 correctly.  
	
1408 1409 1410 1411 1412 1413
2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
	a leak by not increasing the refcount of the GtkRecentInfo
	object when returning it (thanks to Matthias Clasen).

1414 1415 1416 1417 1418 1419
2007-04-16  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation.c (gtk_print_operation_run):
	Make async print preview work by actually starting
	the print process in that case (#424168)

1420 1421 1422 1423 1424 1425 1426
2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>

	* gtk/gtkselection.c (selection_get_text_plain): fixed
	wrong g_convert_with_fallback() call which caused
	gtk_selection_data_get_text() return invalid UTF-8 for
	non-ASCII text in text/plain selection (#382824).

1427 1428 1429 1430 1431
2007-04-12  Jakub Steiner <jimmac@ximian.com>

	* gtk/stock-icons/*: update the stock icons to follow the Tango
		style guidelines

1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442
2007-04-11  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
	* gtk/gtkstock.c (gtk_stock_list_ids):
	    Switch over to use glib's new g_hash_table_get_keys() rather
	    than our own static implementation.

	* gtk/gtkiconfactory.h: Update to return a GList.

	* configure.in: Bump required version to 2.13.1

1443 1444 1445 1446 1447 1448 1449 1450
2007-04-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>

	* gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
	  setup and shutdown function by mutexes and read the wakeup
	  pipe unconditionally and unblocking. This should make the main
	  loop always be woken up when using g_idle_add() from another
	  thread in the Quartz backend (#425271).

1451 1452 1453 1454 1455 1456 1457 1458 1459
2007-04-10  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
	to return a Bool to indicate success. Update callers and 
	implementors. Based on a patch by Owen Taylor.
	
	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
	leak a reference to gdkwin.

1460 1461 1462 1463 1464 1465
2007-04-07  Xan Lopez  <xan@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_class_init): 
	s/arrow-size/arrow-spacing in the arrow-spacing
	style property docs.

1466 1467 1468 1469 1470 1471 1472 1473 1474
2007-04-06  Richard Hult  <richard@imendio.com>

	* gdk/quartz/: Clean up namespaces to make the code more
	maintainable.

	* gdk/quartz/gdkdrawable-quartz.c:
	* gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
	images, by setting the pattern phase for the CG pattern.

Kristian Rietveld's avatar
Kristian Rietveld committed
1475 1476 1477 1478 1479 1480
2007-04-04  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktooltip.c (tooltip_browse_mode_expired),
	(gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
	(gtk_tooltip_start_delay): use new gdk_threads API.

1481 1482 1483 1484 1485 1486
2007-04-03  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtksettings.c (settings_update_font_options): Don't set
	metrics-hinting font option.  Rely on the default value which is
	on for all raster cairo surfaces. (#425985)

1487 1488 1489 1490 1491 1492
2007-04-03  Loïc Minier  <lool@dooz.org>

	* gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
	non-xinerama mode when XineramaQueryScreens returns NULL; patch from
	Simon McVittie; #425786.

1493 1494 1495 1496 1497 1498
2007-04-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
	artifact from the time when type checking casts warned on NULL,
	some whitespace cleanup.

1499 1500 1501 1502 1503
2007-04-01  Cody Russell  <bratsche@gnome.org>

	* modules/engines/ms-windows/msw_style.c: Fix rendering of
	notebook tabs when they are bottom-oriented.  Fixes #399253.

1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517
2007-03-31  Elijah Newren  <newren gmail com>

	* gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
	  gdk_x11_window_set_user_time):
	Patch from Matthias to add support for the
	_NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.

	WARNING: This patch will make metacity <= 2.18.0 freeze on
	workspace switch.  This is due to a weird problem that should only
	affect window managers using gdk in-process for decoration drawing
	and which make an unsafe assumption relating to doing so (i.e. it
	should only affect metacity).  Upgrade your version of metacity if
	you hit this bug.

1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530
2007-03-29  Michael Natterer  <mitch@imendio.com>

	Don't close menus on clicks on their border area (bug #423761).
	(modified patch from maemo-gtk).

	* gtk/gtkmenu.c (gtk_menu_button_press)
	(gtk_menu_button_release): bail out early if the click was on the
	menu's border (not on any item and not outside the window).

	(pointer_in_menu_window): new utility function which checks if
	passed root coords are inside the menu_shell or one of its
	parent shells.

1531 1532 1533 1534 1535 1536
2007-03-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
	gtk_widget_get_settings() into the g_object_get() call. Some small
	indentation fixes.

Matthias Clasen's avatar
Matthias Clasen committed
1537 1538 1539 1540 1541 1542 1543
2007-03-28  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkcupsutils.[hc]:
	* modules/printbackends/cups/gtkprintbackendcups.c: Apply
	a patch by John Palmieri to make the cups print backend support
	raw printers.  

1544 1545 1546 1547 1548 1549
2007-03-28  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
	tooltip_window, since this is handled by set_qdata_full() already.
	(#412001, Torsten Schoenfeld).

1550 1551 1552 1553
2007-03-27  Tor Lillqvist  <tml@novell.com>

	* modules/input/Makefile.am: Use LDADDS for im-multipress.la, too: 

1554 1555 1556 1557
2007-03-26  Christian Persch  <chpe@gnome.org>

	* gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.

1558 1559 1560 1561 1562 1563
2007-03-24  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	calculate the depth with the corrected real_cell_area and don't
	subtract horizontal_separator/2.

1564 1565 1566 1567 1568
2007-03-24  Andreas Nilsson <andreas@andreasn.se>

	* gtk-yes.png
	* gtk-no: More Tango love.

1569 1570 1571 1572 1573 1574 1575 1576
2007-03-23  Jakub Steiner <jimmac@ximian.com>

	* gtk-dialog-authentication.svg
	* gtk-dialog-error.svg
	* gtk-dialog-info.svg
	* gtk-dialog-question.svg
	* gtk-dialog-warning.svg: Start with a Tango face-lift.

1577 1578 1579 1580
2007-03-23  Rodney Dawes  <dobey@novell.com>

	* gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)

1581 1582
2007-03-23  Matthias Clasen  <mclasen@redhat.com>

1583 1584 1585 1586 1587 1588 1589
	* gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
	toggle whether to show hidden files.  (#344657, 
	Wouter Bolsterlee, Priit Laes, et al)

2007-03-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1590 1591 1592
	toggle the visibility of the location entry.  (#383354, 
	John Pye, patch by Carlos Garnacho)

1593 1594 1595 1596 1597 1598 1599 1600 1601 1602
2007-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (merge_color_scheme): Freeze property
	notification.
	* gtk/gtksettings.c (_gtk_settings_handle_event): Handle
	the gtk-color-scheme xsetting being unset.

	* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
	recursion locally.

Matthias Clasen's avatar
Matthias Clasen committed
1603 1604 1605 1606
2007-03-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c: Remove leftover debug spew.

1607 1608 1609 1610 1611 1612 1613 1614 1615
2007-03-21  Rodney Dawes  <dobey@novell.com>

	* gtk/gtk.symbols:
	* gtk/gtkicontheme.[ch]:
	* docs/reference/gtk/gtk-sections.txt:
	* tests/testicontheme.c:
	Add a new API call gtk_icon_theme_list_contexts so that one can
	choose icons from a theme by context (#420719)
	
1616 1617 1618 1619 1620
2007-03-21  Ross Burton  <ross@burtonini.com>

	* gtk/gtktexttag.c:
	Document the ::event signal (#420703).

1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640
2007-03-20  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c:
	* gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().

	* gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
	focus_to_cell parameter, rework to handle clamping columns which
	are bigger than the available page size better,
	(gtk_tree_view_key_press): remove code handling moving the focus
	to other column headers,
	(gtk_tree_view_header_focus): add clamp_column_visible parameter,
	fix RTL support, don't wrap around when moving focus to other
	column headers, call gtk_tree_view_clamp_column_visible() instead
	of duplicating code,
	(gtk_tree_view_focus): only clamp the column visible when we are
	explicitly moving to another column header (fixes #399555, Charles
	Kerr),
	(gtk_tree_view_move_cursor_left_right): update call to
	gtk_tree_view_clamp_column_visible().

1641 1642 1643 1644 1645
2007-03-19  Matthias Clasen <mclasen@redhat.com> 

	* demos/gtk-demo/appwindow.c: Explicitly set the title on the
	about dialog.

1646 1647 1648 1649 1650
2007-03-18  Matthias Clasen <mclasen@redhat.com> 

	* gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
	Ensure that the prefix is valid UTF-8.  (#419568, Nickolay V. Shmyrev)

1651 1652 1653 1654 1655 1656 1657 1658 1659 1660
2007-03-18  Matthias Clasen <mclasen@redhat.com> 

	* modules/input/gtkimcontextmultipress.[hc]:
	* modules/input/im-multipress.conf:
	* modules/input/immultipress.c:
	* modules/input/README.multipress: Add the multipress input
	method.  (#417446, Johannes Schmid, Murray Cumming)

	* modules/input/Makefile.am: Glue

1661 1662 1663
2007-03-17  Chris Wilson  <chris@chris-wilson.co.uk>

	* gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
1664 1665
	Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
	failures gracefully. (#419171)
1666

1667 1668 1669 1670 1671 1672 1673 1674 1675
2007-03-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentaction.c (recent_chooser_set_property),
	(gtk_recent_action_set_property): Remove useless inlined
	function and propagate the properties to the GtkRecentChooser
	objects we create, instead of all the proxies.

	(set_current_filter): Remove 'inline' marker.

1676 1677
2007-03-16  Emmanuele Bassi  <ebassi@gnome.org>

1678 1679
	Apply changes suggested by Michael Natterer. (#338843)

1680 1681 1682 1683 1684 1685 1686 1687 1688 1689
	* gtk/gtkaction.h:
	* gtk/gtkaction.c: Rename get_submenu() to create_menu();
	rename gtk_action_get_submenu() to gtk_action_create_menu().

	* gtk/gtkrecentaction.c: Update for GtkAction change.

	* gtk/gtkuimanager.c (update_node): Update for GtkAction change;
	also, use the menu from the GtkAction for both menuitem and
	toolitem nodes.