1 2002-04-22 Matthias Clasen <maclas@gmx.de>
3 * gtk/tree_widget.sgml: Fix typo in "Simple Example". (#78661)
5 2002-04-21 Matthias Clasen <maclas@gmx.de>
7 * gtk/tmpl/gtktreemodel.sgml:
8 * gtk/tmpl/gtkradiomenuitem.sgml: Fix crossreferences. (#78392)
10 * gtk/gtk-sections.txt: Add GtkWidgetClass. (#78392)
12 * gtk/tmpl/gtkwidget.sgml: Rewrite docs for
13 gtk_widget_reset_rc_styles. (#75588)
15 * gdk/tmpl/properties.sgml: Fix gdk_property_change docs. (#72312)
17 * gtk/text_widget.sgml: Fix misleading example. (#79080)
19 * gtk/tmpl/gtkdialog.sgml: Fix stock id in example. (#74439)
21 Tue Apr 9 18:34:58 2002 Owen Taylor <otaylor@redhat.com>
23 * gtk/gtkcontainer.c (_gtk_container_queue_resize): Always
24 set the ALLOC_NEEDED and REQUEST_NEEDED flags up the hierarchy,
25 even if we aren't currently in a resize container... we need
26 this to properly handle size changes to widgets that are
27 being moved from one heirarchy to another. (#78226)
29 Tue Apr 9 21:41:24 2002 Kristian Rietveld <kris@gtk.org>
33 * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
34 add override_browse_mode argument and implement,
35 (gtk_tree_selection_unselect_path): always unselect the path,
36 (toplevel): update uses of _gtk_tree_selection_internal_select_node
38 * gtk/gtktreeview.c: update uses of
39 _gtk_tree_selection_internal_select_node
41 * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
44 Tue Apr 9 21:39:44 2002 Kristian Rietveld <kris@gtk.org>
48 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
50 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
53 * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
54 on first click when cell isn't editable
56 Tue Apr 9 21:37:31 2002 Kristian Rietveld <kris@gtk.org>
58 * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
59 types which were missing and useful to use (fixes #77870)
61 2002-04-09 Anders Carlsson <andersca@gnu.org>
63 * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
65 2002-04-08 Manish Singh <yosh@gimp.org>
67 * tests/testgtk.c: really revert testgtk.c
69 Mon Apr 8 20:28:54 2002 Kristian Rietveld <kris@gtk.org>
71 * gtk/gtktreeselection.c (gtk_tree_selection_select_path),
72 (gtk_tree_selection_unselect_path),
73 (gtk_tree_selection_path_is_selected): check the return value of
74 _gtk_tree_view_find_node and return if it's TRUE. This makes those
75 functions work somewhat saner on non-expanded trees.
77 Fri Apr 5 18:28:56 2002 Kristian Rietveld <kris@gtk.org>
79 * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): free
80 anchor row reference after unselecting the selection (fixes #76272)
82 Fri Apr 5 18:27:48 2002 Kristian Rietveld <kris@gtk.org>
84 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): only return
85 when we don't have to open all children (fixes #75736)
87 Fri Apr 5 18:24:24 2002 Kristian Rietveld <kris@gtk.org>
89 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear): unref
90 cellrenderer after clearing the attributes of the renderer (fixes
93 Fri Apr 5 05:55:14 2002 Jonathan Blandford <jrb@gnome.org>
95 * gtk/gtktreeview.c (gtk_tree_view_grab_focus): implement.
96 (gtk_tree_view_move_cursor_up_down): check for focus
97 (gtk_tree_view_move_cursor_page_up_down): ditto
98 (gtk_tree_view_move_cursor_left_right): ditto
99 (gtk_tree_view_move_cursor_start_end): ditto
100 (gtk_tree_view_real_select_all): ditto
101 (gtk_tree_view_real_unselect_all): ditto
102 (gtk_tree_view_real_select_cursor_row): ditto
103 (gtk_tree_view_real_toggle_cursor_row): ditto
104 (gtk_tree_view_real_expand_collapse_cursor_row): ditto
105 (gtk_tree_view_real_select_cursor_parent): ditto
106 (gtk_tree_view_real_start_interactive_search): ditto
108 * gtk/gtktreeviewcolumn.c: grab focus
110 2002-04-05 Alex Larsson <alexl@redhat.com>
112 * gdk/linux-fb/gdkkeyboard-fb.c (write_string):
113 Fix undefined variable typo.
114 Patch from Simon Floery <simon.floery@gmx.at>
116 Fri Apr 5 01:06:15 2002 Tim Janik <timj@gtk.org>
118 * gdk/x11/gdkwindow-x11.c (set_text_property): fix segfault
119 upon NULL return from gdk_utf8_to_string_target().
121 * gdk/x11/gdkselection-x11.c (gdk_utf8_to_string_target): fix
122 return value comment to mention NULL returns upon EMFILE.
124 Thu Apr 4 22:35:42 2002 Soeren Sandmann <sandmann@daimi.au.dk>
126 * tests/testgtk.c (menu_items): revert accidentally commited
129 Thu Apr 4 22:28:08 2002 Soeren Sandmann <sandmann@daimi.au.dk>
131 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem with menu
132 titles being clipped (#75948)
134 2002-04-04 Tor Lillqvist <tml@iki.fi>
136 * gdk/gdkrgb.c: Fix some bugs, and introduce a minor feature.
138 (gdk_rgb_convert_4_pack): New function, for 16-color (4 bits per
139 pixel) static visuals (fixes #858).
141 (gdk_rgb_convert_gray4_pack, gdk_rgb_convert_gray4_d_pack): Fix
142 same bugs in both functions: Odd start coordinate (partial byte)
143 was not handled correctly. Also a partial final byte was not
146 (gdk_rgb_do_colormaps): Use G_N_ELEMENTS.
147 (gdk_rgb_create_info): For pseudocolor visuals, use the 2x2x2
148 colorcube only for depths 3 and 4. For static color, use it for
149 depths 3..7 like before. (Depth 5..7 pseudocolor probably never
150 occurs on X11. It doesn't normally occur on Win32 either, but
151 there is experimental code in gdkvisual-win32.c to let the user
152 restrict the size of palette used.)
153 (gdk_rgb_init): Set gdk_rgb_verbose if the GDK_DEBUG_GDKRGB flag
155 (gdk_rgb_select_conv): Use gdk_rgb_convert_8 also for depths 5, 6
156 and 7 (see above). Use gdk_rgb_convert_4_pack for 4 bits per pixel
159 Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
161 * gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
162 sort_func correctly, 77030
164 Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
166 * configure.in: update version to 2.0.2, binary age 2, interface
169 * NEWS: updates for 2.0.2.
171 Mon Apr 1 22:20:24 2002 Kristian Rietveld <kris@gtk.org>
173 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
174 check for y > tree_view->priv->height (fixes #76974)
176 Mon Apr 1 22:19:39 2002 Kristian Rietveld <kris@gtk.org>
178 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
179 the stamp changes right this time
181 Mon Apr 1 22:13:24 2002 Kristian Rietveld <kris@gtk.org>
183 * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
184 disconnect the ref callbacks when model == proxy (Thanks go to
185 Manuel Clos Crespo for the remote debugging)
187 Sat Mar 30 15:19:24 2002 Kristian Rietveld <kris@gtk.org>
189 * gtk/gtktreemodelsort.c: revert the latest stamp increment changes,
190 as it broke stuff for trees
192 Fri Mar 29 18:15:12 2002 Owen Taylor <otaylor@redhat.com>
194 * ===== Released 2.0.1 ======
196 Fri Mar 29 18:09:18 2002 Owen Taylor <otaylor@redhat.com>
198 * gtk/gtkaccelgroup.c (gtk_accel_group_query): Call
199 gdk_keyval_to_lower() on the key passed in, since we
200 lowercase all other key vals passed in, so querying
201 keyvals will otherwise fail if the caller used
202 an uppercase accelerators (#76899, Vitaly Tishkov)
204 Fri Mar 29 17:41:21 2002 Owen Taylor <otaylor@redhat.com>
206 * gtk/gtkmain.c (load_modules): Fix screwup in handling
207 of module path that was resulting in freed memory being
208 accessed when both GTK_MODULES and a theme were set.
209 (#76902, Johan Dahlin)
211 Fri Mar 29 17:57:36 2002 Owen Taylor <otaylor@redhat.com>
213 * gtk/gtkiconfactory.c (get_default_icons): Fix wrong
214 stock id's for ADD/REMOVE. (#76915, Vitaly Tishkov)
216 2002-03-29 Hans Breuer <hans@breuer.org>
218 * gtk/gtkmain.h : fix typo in gtk_init_check macro, which
219 caused crashes if argc != 0
221 * gtk/stock-icons/makefile.msc : added new icons
223 Fri Mar 29 20:17:35 2002 Kristian Rietveld <kris@gtk.org>
225 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
226 remove call to gtk_tree_model_sort_increment_stamp
227 (gtk_tree_model_sort_sort_level): always increment the stamp
229 Fri Mar 29 00:19:41 2002 Owen Taylor <otaylor@redhat.com>
233 * configure.in: Version 2.0.1, binary, interface age 1.
235 * configure.in (GDK_PIXBUF_VERSION): Up required versions
238 * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am:
239 Add stock_add/remove_16.
241 Thu Mar 28 18:38:30 2002 Owen Taylor <otaylor@redhat.com>
243 * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate):
244 Don't show the window unless the widget is mapped.
245 (#76742, Dennis Björklund, Soeren Sandmann)
247 2002-03-29 Hans Breuer <hans@breuer.org>
249 Fixed dashed line issues (#74441) to an IMO reasonable extend.
250 That is: use PS_USERSTYLE on WinNT (the next GDI limit appears
251 to be with lines width > 50); Render horizontal and vertical
252 dashed lines on Win9x 'by hand'. Dotted selection rectangles
253 and Dia look nice ...
255 * gdk/win32/gdkprivate-win32.h : add pen_dashes pointer and
256 num_pen_dashes to _GdkGCWin32
257 * gdk/win32/gdkgc-win32.c : initialize pen_dashes and remove
258 the guesses from dashes to windoze line styles.
259 (predraw_set_forground) : always ExtCreatePen (PS_SOLID) on
260 Win9x, which does not support PS_USERSTYLE.
261 * gdk/win32/gdkdrawable-win32.c : new functions render_line_
262 <horizontal|vertical>. Use them if not running on NT in
263 gdk_win32_draw_<rectangle|segments|lines> ()
265 * gdk/win32/gdkkeys-win32.c (gdk_keyval_name) : return NULL
266 for keyval == 0 to avoid to have zeros in all menu entries
269 2002-03-29 Jakub Steiner <jimmac@ximian.com>
271 * gtk/stock-icons/stock_add_24.png:
272 * gtk/stock-icons/stock_add_16.png:
273 * gtk/stock-icons/stock_remove_24.png:
274 * gtk/stock-icons/stock_remove_16.png: use a simple '+' and '-',
275 works better. the old box was too clumsy
277 Thu Mar 28 21:11:04 2002 Tim Janik <timj@gtk.org>
279 * gtk/gtkfilesel.c (open_new_dir): when encountering non-UTF-8 file
280 names, alert the user with g_message() instead of g_warning() and
281 put out the actual conversion error.
283 2002-03-28 Dave Camp <dave@ximian.com>
285 * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
286 the handler if the widget isn't realized.
288 2002-03-28 Jakub Steiner <jimmac@ximian.com>
290 * gtk/stock-icons/stock_font*:
291 * gtk/stock-icons/stock_align*:
292 * gtk/stock-icons/stock_text*: better solution to the dark theme
293 problem. Also looks more pretty IMHO
295 2002-03-27 Matthias Clasen <maclas@gmx.de>
297 * configure.in: Try to find libpng via pkg-config first,
298 since libpng-1.2.2 will come with a .pc file.
300 Wed Mar 27 11:10:39 2002 Owen Taylor <otaylor@redhat.com>
302 * gtk/gtknotebook.c (gtk_notebook_real_remove): Set
303 page->last_focus_child to NULL as well as removing the
304 weak reference, to deal with reentrancy in set_focus_child().
305 (#76634, Dennis Björklund)
307 2002-03-27 Murray Cumming <murrayc@usa.net>
309 * gtk/gtktreeview.c: Corrected registered return type of
310 "move-cursor" signal. Had to add a marshaller to
311 gtk/gtkmarshalers.list.
313 Tue Mar 26 14:46:50 2002 Owen Taylor <otaylor@redhat.com>
315 * gtk/gtkmenu.c (gtk_menu_popup): Shuffle the ordering around
316 some more (position before realizing) fixing problems with
317 arrows popping up at the wrong time (#73386), hopefully not
318 introducing other problems. (Reported by Ettore Perrazoli, others)
320 2002-03-26 Dave Camp <dave@ximian.com>
322 * gtk/gtktreeview.c (gtk_tree_view_button_press): Free the path
323 after calling gtk_tree_view_row_activated() rather than before.
325 2002-03-25 Sven Neumann <sven@gimp.org>
327 * gtk/gtkrc.c (gtk_rc_parse_font_name): free the style's
328 font_description before assigning a new one.
329 (gtk_rc_parse_stock): always unref the created icon_set. #76289
331 2002-03-25 Mark McLoughlin <mark@skynet.ie>
333 * gtk/gtkbindings.c: (gtk_binding_entry_add_signal),
334 kill code duplicated in gtk_binding_entry_add_signall.
336 Sun Mar 24 10:32:38 2002 Jonathan Blandford <jrb@redhat.com>
338 * gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
340 * gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
343 * gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
344 when we emit row_activated so that listeners of this signal can
345 grab the mouse, #75629
347 2002-03-23 Havoc Pennington <hp@pobox.com>
349 * gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
350 invalidate the line containing start, even if the [start,end)
351 range is empty (just invalidate [start,end], essentially).
352 Partially fixes #72374
354 2002-03-23 Havoc Pennington <hp@pobox.com>
356 * gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
357 progress, patch from db@zigo.dhs.org, #74620
359 2002-03-23 Havoc Pennington <hp@pobox.com>
361 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
362 selection for pageup/pagedown and ctrl+pageup/pagedown if
363 shift is held. more of #53934
365 2002-03-23 Havoc Pennington <hp@pobox.com>
367 * gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect
368 layout handlers earlier in the function, to avoid possible
370 (gtk_text_view_invalidate): Don't install idle handlers if
371 layout == NULL, otherwise we get problems during finalization
372 since clearing the buffer invalidates and puts the idle handlers
373 back after we destroy the layout. #74660
374 (gtk_text_view_ensure_layout): Install the validation handlers
375 right after creating the layout.
377 * gtk/gtktexttagtable.c (foreach_unref): call
378 _gtk_text_buffer_notify_will_remove_tag(), #75126
380 2002-03-22 Havoc Pennington <hp@pobox.com>
382 * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
383 text to the error message about missing charsets, and use
384 g_printerr() not g_warning() since this is typically not a
385 programming error (we do not export any API to ask whether
386 a font set will have missing charsets so apps realistically can't
387 do anything other than try the gdk_fontset_load())
389 * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
390 if the text view isn't editable and the user presses Return,
391 so default buttons and such can be activated, #74937
393 * gtk/gtktextbuffer.c (paste_from_buffer): don't insert
394 if the insertion point is not editable and the paste
395 is interactive, #74125
397 * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
400 * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
401 cut/copied data right before replacing it, when we know we are
402 going to replace it. Fixes #74049
404 2002-03-22 Richard Hult <rhult@codefactory.se>
406 * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
407 value was assigned to both x and y.
409 Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
411 Partial fix for problem where keypad keys acted
412 as shift-arrows in an entry rather than arrows (#74327)
414 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
415 results by number of modifiers in the entry. Fixes
416 problem where if a key matched both modified and unmodified
417 key bindings ... e.g., the distinguishing key binding
418 was consumed, then it was random which was used.
420 * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
421 Catch the case where there are multiple entries from the
422 same bindingset (with different modifiers), and use only
423 the first entry, which, with the change in _gtk_key_hash_lookup()
424 will be the preferred value.
426 Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com>
428 * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
429 leak. (#74400, Morten Welinder.)
431 * gtk/gtkaccelmap.c: Properly handle short returns from
432 write() calls. (Handling EINTR isn't enough... that only
433 handles the case where you were interrupted before you
434 wrote a single byte.)
436 * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
437 Robustify against short returns from write() calls.
439 Fri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
441 * gtk/gtktextview.c (gtk_text_view_paint): Change
442 G_BREAKPOINT() to g_assert_not_reached ().
443 (#75865, Ashok Venkiteswaran)
445 2002-03-22 Tor Lillqvist <tml@iki.fi>
447 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
448 all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
449 but that is just the special case of one-pixel wide one-pixel
450 on-off dotted lines. To fully implement generic X11 style dashed
451 lines a major rewrite would be needed.
453 2002-03-21 Matthias Clasen <maclas@gmx.de>
455 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
456 fix. (Vitaly Tishkov, #75726)
458 Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
460 * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
461 some left over debugging code with a G_BREAKPOINT()
464 Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
466 * gtk/gtkcalendar.c (gtk_calendar_main_button): When
467 changing months when the user clicks on a prev-month
468 or next-month day, focus and select the new day.
469 Ignore double clicks on prev-month, next-month days.
470 (Based on suggestions from Andras Salamon, #74173)
472 * gtk/gtkcalendar.c: Implement th01700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
473 ADD 134217747 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
474 ADD 150994964 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3230343432383833373231323236303434343638000000001800000000000000481c141e963f0a0d0400000015e1f72e64770034"
475 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
476 ADD 167772181 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
477 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
478 ADD 184549398 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
479 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
480 ADD 201326615 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
481 CLIENTADD "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
482 ADD 218103832 "def" "/apps/nautilus" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002c0000002f746d702f6f726269742d6d617474686961732f6f72622d3131383231333939373238343433353033323400000000001800000000000000d4f6f197a3d8217704000000dd5fdd74d176f84c"
483 ADD 234881049 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d3738303530313930373932313535333437300000000000001800000000000000aa339f6f8b3d48850400000096860fef60231737"
484 ADD 251658266 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002d0000002f746d702f6f726269742d6d617474686961732f6f72622d3135363339303134353031393239333638383337000000001800000000000000ddd33ce6282042d304000000e640a9f986363f72"
485 ADD 268435483 "def" "/system/gnome-vfs" "IOR:010000001700000049444c3a436f6e6669674c697374656e65723a312e30000001000000caaedfba54000000010100002b0000002f746d702f6f726269742d6d617474686961732f6f72622d36313132313137333236333037393935383300000000000018000000000000008d73b7d1346083e8040000009196fd8de688604d"
486 ADD 285212700 "def" "/system/gnome-vfs" ""
501 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
518 NAME="GTK-ICON-FACTORY-REMOVE-DEFAULT"
520 >gtk_icon_factory_remove_default ()</H3
529 CLASS="PROGRAMLISTING"
530 >void gtk_icon_factory_remove_default (<A
531 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
538 >Removes an icon factory from the list of default icon
539 factories. Not normally used; you might use it for a library that
540 can be unloaded or shut down.</P
544 CLASS="INFORMALTABLE"
574 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
576 > previously added with <A
577 HREF="gtk-themeable-stock-images.html#GTK-ICON-FACTORY-ADD-DEFAULT"
578 >gtk_icon_factory_add_default</A
594 NAME="GTK-ICON-SET-ADD-SOURCE"
596 >gtk_icon_set_add_source ()</H3
605 CLASS="PROGRAMLISTING"
606 >void gtk_icon_set_add_source (<A
607 HREF="gtk-themeable-stock-images.html#GTKICONSET"
611 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
618 >Icon sets have a list of <A
619 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
621 >, which they use as base
622 icons for rendering icons in different states and sizes. Icons are
623 scaled, made to look insensitive, etc. in
625 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-RENDER-ICON"
626 >gtk_icon_set_render_icon</A
628 HREF="gtk-themeable-stock-images.html#GTKICONSET"
630 > needs base images to
631 work with. The base images and when to use them are described by
633 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
637 >This function copies <TT
642 >, so you can reuse the same source immediately
643 without affecting the icon set.</P
645 >An example of when you'd use this function: a web browser's "Back
646 to Previous Page" icon might point in a different direction in
647 Hebrew and in English; it might look different when insensitive;
648 and it might change size depending on toolbar mode (small/large
649 icons). So a single icon set would contain all those variants of
650 the icon, and you might add a separate source for each one.</P
652 >You should nearly always add a "default" icon source with all
653 fields wildcarded, which will be used as a fallback if no more
654 specific source matches. <A
655 HREF="gtk-themeable-stock-images.html#GTKICONSET"
657 > always prefers more specific
658 icon sources to more generic icon sources. The order in which you
659 add the sources to the icon set does not matter.</P
662 HREF="gtk-themeable-stock-images.html#GTK-ICON-SET-NEW-FROM-PIXBUF"
663 >gtk_icon_set_new_from_pixbuf</A
664 >() creates a new icon set with a
665 default icon source based on the given pixbuf.</P
669 CLASS="INFORMALTABLE"
699 HREF="gtk-themeable-stock-images.html#GTKICONSET"
719 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
736 NAME="GTK-ICON-SET-COPY"
738 >gtk_icon_set_copy ()</H3
747 CLASS="PROGRAMLISTING"
749 HREF="gtk-themeable-stock-images.html#GTKICONSET"
751 >* gtk_icon_set_copy (<A
752 HREF="gtk-themeable-stock-images.html#GTKICONSET"
768 CLASS="INFORMALTABLE"
798 HREF="gtk-themeable-stock-images.html#GTKICONSET"
819 HREF="gtk-themeable-stock-images.html#GTKICONSET"
821 > identical to the first.</TD
836 NAME="GTK-ICON-SET-NEW"
838 >gtk_icon_set_new ()</H3
847 CLASS="PROGRAMLISTING"
849 HREF="gtk-themeable-stock-images.html#GTKICONSET"
851 >* gtk_icon_set_new (void);</PRE
857 HREF="gtk-themeable-stock-images.html#GTKICONSET"
860 HREF="gtk-themeable-stock-images.html#GTKICONSET"
862 > represents a single icon
863 in various sizes and widget states. It can provide a <GTKDOCLINK
865 >GdkPixbuf</GTKDOCLINK
867 for a given size and state on request, and automatically caches
868 some of the rendered <GTKDOCLINK
870 >GdkPixbuf</GTKDOCLINK
873 >Normally you would use <A
874 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
875 >gtk_widget_render_icon</A
878 HREF="gtk-themeable-stock-images.html#GTKICONSET"
880 > directly. The one case where you'd use
882 HREF="gtk-themeable-stock-images.html#GTKICONSET"
884 > is to create application-specific icon sets to place in
886 HREF="gtk-themeable-stock-images.html#GTKICONFACTORY"
892 CLASS="INFORMALTABLE"
923 HREF="gtk-themeable-stock-images.html#GTKICONSET"
940 NAME="GTK-ICON-SET-NEW-FROM-PIXBUF"
942 >gtk_icon_set_new_from_pixbuf ()</H3
951 CLASS="PROGRAMLISTING"
953 HREF="gtk-themeable-stock-images.html#GTKICONSET"
955 >* gtk_icon_set_new_from_pixbuf (<GTKDOCLINK
957 >GdkPixbuf</GTKDOCLINK
964 HREF="gtk-themeable-stock-images.html#GTKICONSET"
971 > as the default/fallback
972 source image. If you don't add any additional <A
973 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
976 icon set, all variants of the icon will be created from <TT
982 using scaling, pixelation, etc. as required to adjust the icon size
983 or make the icon look insensitive/prelighted.</P
987 CLASS="INFORMALTABLE"
1018 >GdkPixbuf</GTKDOCLINK
1038 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1055 NAME="GTK-ICON-SET-REF"
1057 >gtk_icon_set_ref ()</H3
1066 CLASS="PROGRAMLISTING"
1068 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1070 >* gtk_icon_set_ref (<A
1071 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1078 >Increments the reference count on <TT
1087 CLASS="INFORMALTABLE"
1117 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1157 NAME="GTK-ICON-SET-RENDER-ICON"
1159 >gtk_icon_set_render_icon ()</H3
1168 CLASS="PROGRAMLISTING"
1171 >GdkPixbuf</GTKDOCLINK
1172 >* gtk_icon_set_render_icon (<A
1173 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1177 HREF="gtkstyle.html"
1181 HREF="gtkwidget.html#GTKTEXTDIRECTION"
1182 >GtkTextDirection</A
1185 HREF="gtk-standard-enumerations.html#GTKSTATETYPE"
1189 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1193 HREF="gtkwidget.html"
1196 const char *detail);</PRE
1201 >Renders an icon using <A
1202 HREF="gtkstyle.html#GTK-STYLE-RENDER-ICON"
1203 >gtk_style_render_icon</A
1206 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1207 >gtk_widget_render_icon</A
1208 >() is better, since it automatically provides
1209 most of the arguments from the current widget settings. This
1210 function never returns <TT
1213 >; if the icon can't be rendered
1214 (perhaps because an image file fails to load), a default "missing
1215 image" icon will be returned instead.</P
1219 CLASS="INFORMALTABLE"
1249 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1269 HREF="gtkstyle.html"
1271 > associated with <TT
1296 > text direction</TD
1347 > widget that will display the icon, or <TT
1367 > detail to pass to the theme engine, or <TT
1390 >GdkPixbuf</GTKDOCLINK
1391 > to be displayed</TD
1406 NAME="GTK-ICON-SET-UNREF"
1408 >gtk_icon_set_unref ()</H3
1417 CLASS="PROGRAMLISTING"
1418 >void gtk_icon_set_unref (<A
1419 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1426 >Decrements the reference count on <TT
1432 if the reference count reaches 0.</P
1436 CLASS="INFORMALTABLE"
1466 HREF="gtk-themeable-stock-images.html#GTKICONSET"
1483 NAME="GTK-ICON-SIZE-LOOKUP"
1485 >gtk_icon_size_lookup ()</H3
1494 CLASS="PROGRAMLISTING"
1497 >gboolean</GTKDOCLINK
1498 > gtk_icon_size_lookup (<A
1499 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1514 >Obtains the pixel size of a semantic icon size, normally <TT
1521 HREF="GTK-ICON-SIZE-MENU-CAPS"
1522 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1524 HREF="GTK-ICON-SIZE-BUTTON-CAPS"
1525 >GTK_ICON_SIZE_BUTTON</GTKDOCLINK
1526 >, etc. This function
1527 isn't normally needed, <A
1528 HREF="gtkwidget.html#GTK-WIDGET-RENDER-ICON"
1529 >gtk_widget_render_icon</A
1531 way to get an icon for rendering, then just look at the size of
1532 the rendered pixbuf. The rendered pixbuf may not even correspond to
1533 the width/height returned by <A
1534 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-LOOKUP"
1535 >gtk_icon_size_lookup</A
1537 are free to render the pixbuf however they like, including changing
1542 CLASS="INFORMALTABLE"
1588 > location to store icon width</TD
1605 > location to store icon height</TD
1631 > was a valid size</TD
1646 NAME="GTK-ICON-SIZE-REGISTER"
1648 >gtk_icon_size_register ()</H3
1657 CLASS="PROGRAMLISTING"
1659 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1661 > gtk_icon_size_register (const <GTKDOCLINK
1677 >Registers a new icon size, along the same lines as <GTKDOCLINK
1678 HREF="GTK-ICON-SIZE-MENU-CAPS"
1679 >GTK_ICON_SIZE_MENU</GTKDOCLINK
1681 etc. Returns the integer value for the size.</P
1685 CLASS="INFORMALTABLE"
1714 > name of the icon size</TD
1731 > the icon width</TD
1748 > the icon height</TD
1766 > integer value representing the size </TD
1781 NAME="GTK-ICON-SIZE-REGISTER-ALIAS"
1783 >gtk_icon_size_register_alias ()</H3
1792 CLASS="PROGRAMLISTING"
1793 >void gtk_icon_size_register_alias (const <GTKDOCLINK
1798 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1810 > as another name for <TT
1817 HREF="gtk-themeable-stock-images.html#GTK-ICON-SIZE-FROM-NAME"
1818 >gtk_icon_size_from_name</A
1834 CLASS="INFORMALTABLE"
1885 > an existing icon size</TD
1900 NAME="GTK-ICON-SIZE-FROM-NAME"
1902 >gtk_icon_size_from_name ()</H3
1911 CLASS="PROGRAMLISTING"
1913 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
1915 > gtk_icon_size_from_name (const <GTKDOCLINK
1923 >Looks up the icon size associated with <TT
1932 CLASS="INFORMALTABLE"
1961 > the name to look up.</TD
1979 > the icon size with the given name.</TD
1994 NAME="GTK-ICON-SIZE-GET-NAME"
1996 >gtk_icon_size_get_name ()</H3
2005 CLASS="PROGRAMLISTING"
2006 >G_CONST_RETURN <GTKDOCLINK
2009 >* gtk_icon_size_get_name
2011 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2018 >Gets the canonical name of the given icon size. The returned string
2019 is statically allocated and should not be freed.</P
2023 CLASS="INFORMALTABLE"
2053 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2073 > the name of the given icon size.</TD
2088 NAME="GTK-ICON-SET-GET-SIZES"
2090 >gtk_icon_set_get_sizes ()</H3
2099 CLASS="PROGRAMLISTING"
2100 >void gtk_icon_set_get_sizes (<A
2101 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2105 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2116 >Obtains a list of icon sizes this icon set can render. The returned
2117 array must be freed with <GTKDOCLINK
2124 CLASS="INFORMALTABLE"
2154 HREF="gtk-themeable-stock-images.html#GTKICONSET"
2173 > return location for array of sizes</TD
2190 > location to store number of elements in returned array</TD
2205 NAME="GTK-ICON-SOURCE-GET-DIRECTION"
2207 >gtk_icon_source_get_direction ()</H3
2216 CLASS="PROGRAMLISTING"
2218 HREF="gtkwidget.html#GTKTEXTDIRECTION"
2219 >GtkTextDirection</A
2220 > gtk_icon_source_get_direction
2222 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2229 >Obtains the text direction this icon source applies to. The return
2230 value is only useful/meaningful if the text direction is <SPAN
2241 CLASS="INFORMALTABLE"
2271 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2291 > text direction this source matches</TD
2306 NAME="GTK-ICON-SOURCE-GET-DIRECTION-WILDCARDED"
2308 >gtk_icon_source_get_direction_wildcarded ()</H3
2317 CLASS="PROGRAMLISTING"
2320 >gboolean</GTKDOCLINK
2321 > gtk_icon_source_get_direction_wildcarded
2323 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2330 >Gets the value set by <A
2331 HREF="gtk-themeable-stock-images.html#GTK-ICON-SOURCE-SET-DIRECTION-WILDCARDED"
2332 >gtk_icon_source_set_direction_wildcarded</A
2337 CLASS="INFORMALTABLE"
2367 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2390 > if this icon source is a base for any text direction variant</TD
2405 NAME="GTK-ICON-SOURCE-GET-FILENAME"
2407 >gtk_icon_source_get_filename ()</H3
2416 CLASS="PROGRAMLISTING"
2417 >G_CONST_RETURN <GTKDOCLINK
2420 >* gtk_icon_source_get_filename
2422 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2429 >Retrieves the source filename, or <TT
2432 > if none is set. The
2433 filename is not a copy, and should not be modified or expected to
2434 persist beyond the lifetime of the icon source.</P
2438 CLASS="INFORMALTABLE"
2468 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2488 > image filename</TD
2503 NAME="GTK-ICON-SOURCE-GET-PIXBUF"
2505 >gtk_icon_source_get_pixbuf ()</H3
2514 CLASS="PROGRAMLISTING"
2517 >GdkPixbuf</GTKDOCLINK
2518 >* gtk_icon_source_get_pixbuf (const <A
2519 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2526 >Retrieves the source pixbuf, or <TT
2530 The reference count on the pixbuf is not incremented.</P
2534 CLASS="INFORMALTABLE"
2564 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2599 NAME="GTK-ICON-SOURCE-GET-SIZE"
2601 >gtk_icon_source_get_size ()</H3
2610 CLASS="PROGRAMLISTING"
2612 HREF="gtk-themeable-stock-images.html#GTKICONSIZE"
2614 > gtk_icon_source_get_size (const <A
2615 HREF="gtk-themeable-stock-images.html#GTKICONSOURCE"
2622 >Obtains the icon size this source applies to. The return value
2623 is only useful/meaningful if the icon size is <SPAN