summaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer.Michael Natterer2006-03-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-07 Michael Natterer <mitch@imendio.com> Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. Fixes bug #324177. * gtk/gtktextbufferrichtext.[ch]: new files implementing a per-buffer registry of rich text formats. * gtk/gtk.h: #include gtktextbufferrichtext.h * gtk/gtktextbufferserialize.[ch]: new files implementing an internal serialization format that can handle all of a text buffer's tags and pixbufs. It's not useful for anything except tranfer between instances of GtkTextBuffer (Anders Carlsson). * gtk/Makefile.am: build the new files. * gtk/gtkclipboard.[ch]: added convenience APIs for rich text, just as they exist for plain text and pixbufs. * gtk/gtkselection.[ch]: added rich text convenience APIs here too. Return the target list from gtk_target_list_ref(). Register GtkTargetList as boxed type. Added gtk_target_table_new_from_list() and gtk_target_table_free(), which make converting between GtkTargetList and arrays of GtkTargetEntry considerably easier. * gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon() which creates a fancy rich text icon (Matthias Clasen). * gtk/gtktextbuffer.[ch]: use all the new stuff above and implement copy and paste of rich text. Added APIs for getting the target lists used for copy and paste. Added public enum GtkTextBufferTargetInfo which contains the "info" IDs associated with the entries of the target lists. * gtk/gtktextview.c: use the new rich text APIs and GtkTextBuffer's new target list API to enable DND of rich text chunks. * gtk/gtk.symbols: export all the new symbols added. * tests/testtext.c: added rich text testing stuff.
* Added new directfb backendMichael David Emmel2006-02-051-1/+4
|
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-291-1/+0
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi)Matthias Clasen2006-01-241-0/+2
| | | | | | | | | | | | | | | 2006-01-23 Matthias Clasen <mclasen@redhat.com> Add GtkLinkButton, a port of GnomeHRef. (#314808, Emmanuele Bassi) * gtk/gtklinkbutton.h: * gtk/gtklinkbutton.c: New files. * gtk/gtk.h: * gtk/gtk.symbols: * gtk/Makefile.am: Glue. * gtk/gtkaboutdialog.c: Use GtkLinkButton.
* Add GtkAssistant, a widget to construct multi-step wizards. (#115348,Matthias Clasen2006-01-181-0/+2
| | | | | | | | | | | | 2006-01-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkassistant.[hc]: Add GtkAssistant, a widget to construct multi-step wizards. (#115348, Martyn Russell, Matthias Clasen, Carlos Garnacho Parro) * gtk/gtk.symbols: * gtk/Makefile.am: * gtk/gtk.h: Necessary glue.
* Register RTL versions of the indent and unindent icons. (#326857, ItaiMatthias Clasen2006-01-151-4/+8
| | | | | | | | | | 2006-01-14 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconfactory.c (get_default_icons): Register RTL versions of the indent and unindent icons. (#326857, Itai Bar-Haim) * gtk/Makefile.am (STOCK_ICONS): And add them here.
* Add quartz backend.Anders Carlsson2005-11-221-1/+4
| | | | | | | | | | | | | | | | | | | 2005-11-21 Anders Carlsson <andersca@imendio.com> * configure.in: * gtk/Makefile.am: * gdk/Makefile.am: * gdk/quartz/*: Add quartz backend. * docs/tools/Makefile.am: Only build docshooter when the X11 backend is used. * gtk/gtkplug-stub.c: Include gtkplug.h here. * gtk/gtksocket-stub.c: Include gtksocket.h here.
* fixed icon rules so gtkbuiltincache.h is only rebuilt if needed.Michael Natterer2005-11-121-31/+36
| | | | | | | 2005-11-12 Michael Natterer <mitch@imendio.com> * gtk/Makefile.am: fixed icon rules so gtkbuiltincache.h is only rebuilt if needed.
* fixed rule to actually create the symlinks, erroring out if anything goesMichael Natterer2005-11-061-12/+21
| | | | | | | 2005-11-06 Michael Natterer <mitch@imendio.com> * gtk/Makefile.am (icons): fixed rule to actually create the symlinks, erroring out if anything goes wrong.
* Can't rename a file if the target exists on Win32. First rename the targetTor Lillqvist2005-11-061-2/+2
| | | | | | | | | | | 2005-11-06 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c (build_cache): Can't rename a file if the target exists on Win32. First rename the target temporarily, then if the renaming of the source to target fails, restore the original name for the target. * gtk/Makefile.am: Use EXEEXT in the dependency on gtk-update-icon-cache.
* Store builtin stock icons in an icon cache, instead of populating a hashMatthias Clasen2005-11-041-6/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-04 Matthias Clasen <mclasen@redhat.com> Store builtin stock icons in an icon cache, instead of populating a hash table with pixbufs at startup, to save both memory and startup time. * gtk/stock-icons/*: Reorganize the icons in a directory structure suitable for gtk-update-icon-cache, and rename them to match the stock ids. * gtk/gtkiconcache.[hc]: Support non-mmapped icon caches, and add _gtk_icon_cache_has_icon_in_directory(). * gtk/updateiconcache.c: Support a --source <VARIABLE> argument to store the contents of the icon cache in a C header. * gtk/gtkbuiltincache.h: Generated private header which contains the icon cache for the builtin icons. * gtk/gtkicontheme.c: Create a GtkIconCache for the builtin icons, and use that in addition to the hash table whenever builtin icons are searched. * gtk/gtkiconfactory.c: Add GTK_ICON_SOURCE_STATIC_ICON_NAME and use it for static stock ids. (get_default_icons): Don't add the builtin icons to the icon theme, just register the stock ids. (render_fallback_image): Take the fallback image out of the builtin icon cache. * gtk/Makefile.am: Remove stock-icons from SUBDIRS and add the necessary machinery to rebuild gtkbuiltincache.h.
* Include gtkstatusicon.c on all platforms.Tor Lillqvist2005-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-03 Tor Lillqvist <tml@novell.com> * gtk/Makefile.am: Include gtkstatusicon.c on all platforms. * gtk/gtkstatusicon.c: Implement for Win32. Use code from gtktrayicon-win32.c as applicable. (gtktrayicon-win32.c is not necessary and can be removed from CVS. It has never been mentioned in gtk/Makefile.am.) No tray icon widget, GtkImage or GtkTooltips are used on Win32. One label widget is used (but never shown) as gtk_widget_render_icon() needs a widget. Ifdefs used as necessary in several places. It might be cleaner to split out the backend-specific parts to separate files, or at least collect them into separate blocks in the file. (wndproc): New function. Window procedure to monitor mouse events in the system tray icon. Call gtk_status_icon_button_press() as needed. (create_tray_observer): New function. Creates a hidden window that only serves as a tray icon message observer.
* use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)Matthias Clasen2005-10-261-2/+2
| | | | | | | 2005-10-26 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
* Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent withMichael Natterer2005-09-221-2/+2
| | | | | | | | | | | | | | | | | | 2005-09-22 Michael Natterer <mitch@imendio.com> Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent with GTK+ terminology: * gtk/gtkcellrendererkeys.[ch] * tests/testkeys.c: removed... * gtk/gtkcellrendereraccel.[ch] * tests/testaccel.c: ...and added. * gtk/Makefile.am * gtk/gtk.h * gtk/gtk.symbols * tests/Makefile.am: changed accordingly.
* Add a cell renderer for displaying and editing accelerators, a port ofMatthias Clasen2005-09-101-0/+2
| | | | | | | | | | | | | | | 2005-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrendererkeys.h: * gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying and editing accelerators, a port of EggCellRendererKeys . * gtk/gtk.symbols: * gtk/gtk.h: * gtk/Makefile.am: Add the keys cell renderer. * tests/Makefile.am: * tests/testkeys.c: Test GtkCellRendererKeys
* Forgotten fileMatthias Clasen2005-09-081-2/+2
|
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies.
* Add a cross-platform "tray icon" API, by porting EggStatusIcon/EggTrayIconMatthias Clasen2005-08-291-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-29 Matthias Clasen <mclasen@redhat.com> Add a cross-platform "tray icon" API, by porting EggStatusIcon/EggTrayIcon (#105101) * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which displays an icon in a notification area. * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for X11, using GtkTrayIcon. * gtk/gtktrayicon.h: * gtk/gtktrayicon.c: An implementation of the freedesktop.org system tray specification, not public API. * gtk/gtk.symbols: Add new exported functions. * gtk/gtk.h: Include gtkstatusicon.h. * gtk/Makefile.am: Add new files. * tests/Makefile.am: * tests/teststatusicon.c: Test for GtkStatusIcon.
* Rename the default theme to "Raleigh". (#312254, Thomas Wood)Matthias Clasen2005-08-011-3/+3
| | | | | | | | 2005-08-01 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am (install-data-local): * gtk/gtksettings.c (gtk_settings_class_init): Rename the default theme to "Raleigh". (#312254, Thomas Wood)
* Include gtkwin32embed.h in EXTRA_DIST unconditionally. Fixes #311972.J. Ali Harlow2005-07-291-0/+1
| | | | | | | 2005-07-29 J. Ali Harlow <ali@juiblex.co.uk> * gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST unconditionally. Fixes #311972.
* Make GtkPlug/Socket API available on all platforms.Tor Lillqvist2005-07-211-7/+17
| | | | | | | | 2005-07-21 Tor Lillqvist <tml@novell.com> * gtk/gtk.symbols: Make GtkPlug/Socket API available on all platforms. * gtk/Makefile.am: Changes to build GtkPlug/Socket on all platforms.
* Look for windres on Win32.Tor Lillqvist2005-07-091-6/+7
| | | | | | | | | | | | | | | | | | | | 2005-07-09 Tor Lillqvist <tml@novell.com> * configure.in: Look for windres on Win32. * gdk-pixbuf/Makefile.am * gdk/win32/rc/Makefile.am * gdk/Makefile.am * gtk/Makefile.am: Don't use the scripts in build/win32 to compile the rc files into resource object files. (This means we lose the build number increment magic, but I doubt it was that useful anyway.) Instead use windres directly. To pass a normal .o file produced by windres through libtool, which would want a .lo file, pass it directly to the linker using a -Wl option. * gdk-pixbuf/gdk_pixbuf.rc.in * gdk/win32/rc/gdk.rc.in * gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.
* gdk/Makefile.am Current GNU tools do understand the PRIVATE keyword, so noTor Lillqvist2005-06-261-12/+8
| | | | | | | | | | 2005-06-26 Tor Lillqvist <tml@novell.com> * gdk/Makefile.am * gtk/Makefile.am: Current GNU tools do understand the PRIVATE keyword, so no need to remove those entries from the import library. libtool installs the .dll.a import library itself, so no need to do it here. Install the .def file.
* Forgotten fileMatthias Clasen2005-06-161-0/+1
|
* Check for nm.Matthias Clasen2005-04-291-2/+2
| | | | | | | | | 2005-04-29 Matthias Clasen <mclasen@redhat.com> * configure.in: Check for nm. * gtk/Makefile.am: Use $(NM), not nm directly. (#301299, Nguyen Thai Ngoc Duy)
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-2/+6
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Add an OS_LINUX conditional.Matthias Clasen2005-01-131-1/+1
| | | | | | | | | | | 2005-01-13 Matthias Clasen <mclasen@redhat.com> * configure.in: Add an OS_LINUX conditional. * gdk/Makefile.am (TESTS): * gdk-pixbuf/Makefile.am (TESTS): * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917, Roger Leigh)
* Remove GLIB_DIVERT_BEFORE_HELP() on initialization of gdktarget, that wasOwen Taylor2005-01-131-1/+1
| | | | | | | | | | | | | 2005-01-12 Owen Taylor <otaylor@redhat.com> * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on initialization of gdktarget, that was causing it to be evaluated before host was set. Simplify --with-gdktarget help message. * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 which doesn't work with slightly older versions of GNU grep in install-libtool-import-lib rule.
* Add -lole32, needed for CoTaskMemFree in get_special_folder() below.Tor Lillqvist2005-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-02 Tor Lillqvist <tml@iki.fi> * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for CoTaskMemFree in get_special_folder() below. * gtk/gtkfilesystem.h: Implement case-insensitive path compare on Win32 using _gtk_file_system_win32_path_compare(). * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare. * gtk/gtkfilechooserbutton.c (model_add_special) * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use _gtk_file_system_win32_get_desktop() to get correct Desktop folder on Win32. (#144003) * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do consider all drives "mounted", including floppies. Trying to inspect the contents of a nonexistent floppy will cause errors later that are handled normally, no need to avoid them completely. Keep the drive type in the GtkFileSystemVolume. Support UNC paths. (#161797) Fix error message capitalizations as in gtkfilesystemunix.c. (gtk_file_system_win32_init): Start one timeout per GtkFileSystemWin32. (gtk_file_system_win32_finalize): Remove the timeout. (get_special_folder): Copied from GLib. (_gtk_file_system_win32_get_desktop): New function, uses get_special_folder(). (gtk_file_system_win32_list_volumes): Don't start a timeout at each call to this function. Don't assume A: and B: are floppies. (gtk_file_system_win32_get_volume_for_path): Don't assume all volumes are drive roots, i.e. support share roots of UNC paths (\\server\share). (gtk_file_system_win32_get_folder): Don't assume errno is set after g_file_test() returns FALSE. It isn't on Win32 (and even on Unix I don't think one should assume anything about errno after g_file_test()). (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE. (gtk_file_system_win32_volume_get_display_name): Don't call GetVolumeInformation() on drives A: or B: if they are removable, as they might then be floppies, causing an unnecessary delay. (#157820) (gtk_file_system_win32_volume_render_icon): Use network icon for unrecognized drive types. (canonicalize_filename, gtk_file_system_win32_parse): Don't get confused by UNC paths. (bookmarks_serialize): Use _gtk_file_system_win32_path_compare() for case-insensitive UTF-8 path comparison. (extract_icon): Use SHGetFileInfo() which is faster than ExtractAssociatedIcon(). Icon extraction is still slow, though, needs work. (win32_pseudo_mime_lookup): Don't use the same icon for all shortcuts or executables. Cache only other file type icons. (gtk_file_system_win32_render_icon): Use network stock icon for remote drives and UNC server share roots. Compare home directory case-insensitively. Do lookup icons also for executable files, after all, it's these files that can have individual icons in the first place. Yes, it can be slow. Needs work. (filename_is_drive_root): Require also the slash after the colon. (filename_is_server_share): New function. (_gtk_file_system_win32_path_compare): New function, does case-folded UTF-8 comparison. * gtk/gtkfilesystemwin32.h: Declare _gtk_file_system_win32_path_compare().
* gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.cTor Lillqvist2004-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-12 Tor Lillqvist <tml@iki.fi> * gtk/gtkaccelmap.[ch] * gtk/gtkfilechooser.[ch] * gtk/gtkfilesel.c * gtk/gtkfilesystemwin32.c * gtk/gtkiconfactory.[ch] * gtk/gtkicontheme.[ch] * gtk/gtkimage.[ch] * gtk/gtkimmodule.c * gtk/gtkmodules.c * gtk/gtkrc.[ch] * gtk/gtkuimanager.[ch] * gtk/gtkwindow.[ch] * gtk/updateiconcache.c * gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert environment variables referring to pathnames from locale encoding to UTF-8. As in GLib, in order to preserve Windows DLL ABI stability, add binary compatibility versions of functions that take file names as arguments, or return file names. Add a _utf8 suffix to the "real" such functions on Windows. The ABI compatibility versions keep the old name. * gtk/Makefile.am: Strip PRIVATE symbols from the GNU import library. * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement file mapping on Win32. * gtk/updateiconcache.c: Don't crash if invoked without argument. Use binary mode when opening file. * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
* Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor)Matthias Clasen2004-12-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | 2004-12-10 Matthias Clasen <mclasen@redhat.com> Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor) * gtk/gtkwindow.c: Factor out mnemonic hash code into a separate file. * gtk/gtkmnemonichash.[hc]: Factored out mnemonic hash code from gtkwindow.c. * gtk/Makefile.am (gtk_c_sources): Add gtkmnemonichash.[hc]. * gtk/gtkmenushell.c (struct _GtkMenuShellPrivate): Give menu shells their own mnemonic hash. * gtk/gtkmenushell.h: Add private api to support mnemonics. * gtk/gtklabel.c (gtk_label_setup_mnemonic): Add mnemonic to the menushell mnemonic hash when inside a menu.
* gdk-pixbuf/Makefile.am (gdk_pixbuf.def) gdk/Makefile.am (gdk.def) WorkTor Lillqvist2004-12-031-1/+1
| | | | | | | | | | 2004-12-03 Tor Lillqvist <tml@iki.fi> * gdk-pixbuf/Makefile.am (gdk_pixbuf.def) * gdk/Makefile.am (gdk.def) * gtk/Makefile.am (gtk.def): Work around gcc misfeature. At least gcc 3.3.1 doesn't like to do -E on files that it thinks aren't source files. Use redirection and '-' instead.
* Use the perl found by configure. (#149826, Morten Welinder)Matthias Clasen2004-11-291-2/+2
| | | | | | | | 2004-11-29 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am (gtkalias.h): * gdk/Makefile.am (gdkalias.h): Use the perl found by configure. (#149826, Morten Welinder)
* Mark as const.Matthias Clasen2004-11-281-1/+1
| | | | | | | | | | | | | | | | | | 2004-11-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.h (gtk_requisition_get_type): * gtk/gtktypeutils.h (gtk_identifier_get_type): * gtk/gtktexttag.h (gtk_text_attributes_get_type): * gtk/gtkstyle.h (gtk_border_get_type): * gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type): * gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type): * gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type): * gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type): * gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const. * gtk/gtk.symbols: * gtk/Makefile.am: Mark get_type() functions generated by glib-mkenums as const.
* Mark as const.Matthias Clasen2004-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.h (gtk_ui_manager_get_type): * gtk/gtktreeview.h (gtk_tree_view_get_type): * gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type): * gtk/gtktreestore.h (gtk_tree_store_get_type): * gtk/gtktreeselection.h (gtk_tree_selection_get_type): * gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type): * gtk/gtktreemodel.h (gtk_tree_iter_get_type): (gtk_tree_path_get_type): (gtk_tree_row_reference_get_type): * gtk/gtktoolitem.h (gtk_tool_item_get_type): * gtk/gtktoolbutton.h (gtk_tool_button_get_type): * gtk/gtktoggleaction.h (gtk_toggle_action_get_type): * gtk/gtkthemes.h (gtk_theme_engine_get_type): * gtk/gtktextiter.h (gtk_text_iter_get_type): * gtk/gtksettings.h (gtk_settings_get_type): * gtk/gtkselection.h (gtk_selection_data_get_type): * gtk/gtkradioaction.h (gtk_radio_action_get_type): * gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type): * gtk/gtkliststore.h (gtk_list_store_get_type): * gtk/gtkiconview.h (gtk_icon_view_get_type): * gtk/gtkicontheme.h (gtk_icon_info_get_type): * gtk/gtkiconfactory.h (gtk_icon_factory_get_type): (gtk_icon_set_get_type): (gtk_icon_source_get_type): * gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type): * gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type): * gtk/gtkfilesystem.h (gtk_file_folder_get_type): (gtk_file_info_get_type, gtk_file_path_get_type): (gtk_file_system_get_type): * gtk/gtkfilefilter.h (gtk_file_filter_get_type): * gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type): * gtk/gtkfilechooser.h (gtk_file_chooser_get_type): * gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type): * gtk/gtkexpander.h (gtk_expander_get_type): * gtk/gtkentrycompletion.h (gtk_entry_completion_get_type): * gtk/gtkcombobox.h (gtk_combo_box_get_type): * gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type): * gtk/gtkclipboard.h (gtk_clipboard_get_type): * gtk/gtkcellview.h (gtk_cell_view_get_type): * gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type): * gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type): * gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type): * gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type): * gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type): * gtk/gtkcelllayout.h (gtk_cell_layout_get_type): * gtk/gtkactiongroup.h (gtk_action_group_get_type): * gtk/gtkaction.h (gtk_action_get_type): * gtk/gtkaccessible.h (gtk_accessible_get_type): * gtk/gtkaccelmap.h (gtk_accel_map_get_type): * gtk/gtkaccelgroup.h (gtk_accel_group_get_type): * gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const. * gtk/gtkicontheme.h: Don't mark gtk_icon_theme_error_quark() as const, to be consistent with all the other error_quark functions. (technically they are const, but since these are called only in error paths, giving the compiler better optimization opportunities doesn't matter much) * gtk/gtk.symbols: * gdk/gdk.symbols: Add attribute annotations. * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE. * gtk/Makefile.am (gtk.def): * gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep PRIVATE.
* Use embedded tab rather than '\t' escape sequence. (#157949)J. Ali Harlow2004-11-111-1/+1
| | | | | | | | | 2004-11-11 J. Ali Harlow <ali@juiblex.co.uk> * gdk/Makefile.am: * gdk-pixbuf/Makefile.am: * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t' escape sequence. (#157949)
* *** empty log message ***GTK_2_5_4Matthias Clasen2004-10-281-1/+1
|
* Use the new g_key_file api in GLib.Matthias Clasen2004-10-241-2/+0
| | | | | | | | | | 2004-10-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c: Use the new g_key_file api in GLib. * gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc] * gtk/gtkiconthemeparser.[hc]: Removed.
* Implement icon theme caching. (#154034, Martijn Vernooij, caching schemaMatthias Clasen2004-10-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-19 Matthias Clasen <mclasen@redhat.com> Implement icon theme caching. (#154034, Martijn Vernooij, caching schema proposed by Owen Taylor, initial implementation by Anders Carlsson) * gtk/gtkdebug.h: * gtk/gtkmain.c: Add a "icontheme" debug flag. * gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c (gtk_private_h_sources): Add gtkiconcache.h (bin_PROGRAMS): Add gtk-update-icon-cache * gtk/gtkicontheme.c: Use icon caches if they are available. Currently, GTK+ uses the cache to get information about the available sizes, image file formats and .icon files. The actual image data, and the .icon file contents are not cached yet. * gtk/updateiconcache.c: A cmdline utility for generating icon cache files. * gtk/gtkiconcache.h: * gtk/gtkiconcache.c: The glue code to mmap an icon cache file and manage the information it contains.
* add the GtkMenuToolButton widget discussed in bug #151441.Paolo Borelli2004-09-271-0/+2
| | | | | | | | | | | | | | | 2004-09-27 Paolo Borelli <pborelli@katamail.com> * gtk/Makefile.am: * gtk/gtk.h: * gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget discussed in bug #151441. * docs/reference/gtk/gtk-docs.sgml: * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/gtk.types: * docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the new widget.
* Make it possible to specify additional modules to load via a setting.Matthias Clasen2004-09-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-01 Matthias Clasen <mclasen@redhat.com> Make it possible to specify additional modules to load via a setting. (#117236, Alex Graveley) * gtk/gtkmodules.h: * gtk/gtkmodules.c: New files which contain the module handling code which was previously in gtkmain.[hc]. Additionally, the code now looks for the gtk-modules setting, which can specify additional modules to load. * gtk/gtkmain.c: * gtk/gtkmain.h: Remove all the module handling code. * gtk/gtkdebug.h: Add a debug flag for modules. * gtk/gtk.h: Include gtkmodules.h * gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h (gtk_c_sources): Add gtkmodules.c * gtk/gtksettings.c: Add the gtk-modules setting. * gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
* 2.5.2GTK_2_5_2Matthias Clasen2004-08-251-2/+2
|
* No need for INCLUDE_INTERNAL_SYMBOLS anymore.Matthias Clasen2004-08-171-2/+1
| | | | | | | | | | | | | | | | | | 2004-08-17 Matthias Clasen <mclasen@redhat.com> * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gdk/gdk.symbols: Don't use #if defined(). * gdk/Makefile.am (gdkalias.h): * gtk/Makefile.am (gtkalias.h): Don't use cpp to filter gtk.symbols. * gdk/makegdkalias.pl: * gtk/makegtkalias.pl: Move the #ifdef processing into the perl script, and keep the #ifdefs which differentiate between platforms. * gtk/Makefile.am (gtk_private_h_sources): Remove gtkinternals.h, it is no longer needed.
* New widget to go along with GtkFontButton and GtkColorButton for use inMatthias Clasen2004-08-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.[hc]: New widget to go along with GtkFontButton and GtkColorButton for use in preference dialogs. Replaces GnomeFileEntry. (#148108, James M. Cape) * gtk/gtk.h: Include gtkfilechooserbutton.h * gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h (gtk_c_sources): Add gtkfilechooserbutton.c * gtk/gtk.symbols: Add the GtkFileChooserButton symbols. * gtk/gtkfilechooserutils.[hc]: Make the delegate quark available. * gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow to suppress tab-eating using the new eat_tabs argument. Adjust all callers. * tests/testfilechooserbutton.c: Test for GtkFileChooserButton. * tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
* New function.Soeren Sandmann2004-08-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | Sat Aug 14 17:56:33 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function. * gtk/gtkentry.c (in_selection): New function using gtk_entry_get_pixel_ranges() to determine whether a click is in the selection. Improve entry behavior wrt. dragging and selecting. Bug #143249. Sat Aug 14 17:53:46 2004 Soeren Sandmann <sandmann@daimi.au.dk> * configure.in: Require glib 2.5.2 * gtk/gtksequence.[ch]: New internal data structure. * gtk/gtkliststore.[hc]: Reimplement in terms of new data structure * tests/Makefile.am (testtreemodel_SOURCES): * tests/testtreemodel.c: New test program written by Matthias.
* Define TESTS, not TEST, so that make check actually triggers abicheck.sh.Matthias Clasen2004-08-101-1/+1
| | | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Define TESTS, not TEST, so that make check actually triggers abicheck.sh.
* Include gtkalias.h in the generated sources gtkmarhalers.c andMatthias Clasen2004-08-101-2/+2
| | | | | | | | | | | | | | | | | 2004-08-10 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: Include gtkalias.h in the generated sources gtkmarhalers.c and gtkmarshal.c. * gtk/makegtkalias.pl: Cosmetic fix. * gdk/Makefile.am: Remove the . which was accidentally added to SUBDIRS. Include gdkalias.h in the generated sources gdkenumtypes.c and gdkmarshalers.c. * gdk/makegdkalias.pl: Cosmetic fix. * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Use GtkTreeViewRowSeparatorFunc instead of GtkCellRendererSepText.Matthias Clasen2004-08-071-2/+0
| | | | | | | | | | | | | | | | | | | Sat Aug 7 18:19:03 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilechooserdefault.c (save_folder_combo_create): (shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc instead of GtkCellRendererSepText. (#147864) * gtk/gtkcellrendererseptext.[hc]: Removed. * gtk/Makefile.am: Remove gtkcellrendererseptext.[hc] Sat Aug 7 18:15:15 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted): (gtk_combo_box_menu_row_inserted): (gtk_combo_box_menu_row_changed): Correctly handle insertion and deletion of separators in menu mode.
* Make GtkCellView public, since people seem to have uses for it, it isMatthias Clasen2004-07-191-3/+1
| | | | | | | | | | | | | | | | | | | | | 2004-07-19 Matthias Clasen <mclasen@redhat.com> Make GtkCellView public, since people seem to have uses for it, it is clean API and we were just conservative in not making it public initially. At the same time, get rid of GtkCellViewMenuItem, which doesn't have any function which can't be served by a GtkMenuItem with a GtkCellView child. * gtk/gtk.h: Include gtkcellview.h * gtk/Makefile.am (gtk_public_h_sources): * gtk/Makefile.am (gtk_private_h_sources): (gtk_c_sources): Remove gtkcellviewmenuitem.[hc] * gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by GtkMenuItem with a GtkCellView child. * gtk/gtkcellviewmenuitem.[hc]: Removed.