1. 04 Feb, 2005 3 commits
  2. 03 Feb, 2005 5 commits
    • Owen Taylor's avatar
      Add gdk_drawable_set_cairo_target(). · 93344f6d
      Owen Taylor authored
      2005-02-03  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
              gdk_drawable_set_cairo_target().
      
              * tests/testtreeflow.c (enum): Use grand not rand as a variable
              name because one of the cairo headers is pulling in stdlib.h.
      
              * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
              example.
      
              * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
      
              * Require libpangocairo for all backends.
      93344f6d
    • Tor Lillqvist's avatar
      Use the wide character version of ImmGetCompositionString() here, too. · 8a5d05e2
      Tor Lillqvist authored
      2005-02-03  Tor Lillqvist  <tml@novell.com>
      
      	* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
      	wide character version of ImmGetCompositionString() here,
      	too. (#165278, Takuro Ashie)
      8a5d05e2
    • Matthias Clasen's avatar
      Don't do one roundtrip per motion event. (#166173, pointed out by Chris · a03c10fa
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
      	one roundtrip per motion event.  (#166173, pointed out
      	by Chris Lee, patch by Søren Sandmann)
      a03c10fa
    • Matthias Clasen's avatar
      New function which allows to change the function used for translation · 45c38b44
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkstock.h:
      	* gtk/gtkstock.c (gtk_stock_set_translate_func):
      	New function which allows to change the function used for
      	translation stock labels, on a per-domain basis. Use this
      	functionality to switch the GTK+ stock items to use Q_()
      	prefixed msgids.  (#166179, Funda Wang)
      45c38b44
    • Matthias Clasen's avatar
      Make the gdk_key array const (#166075, Tommi Komulainen) · 64768cae
      Matthias Clasen authored
      2005-02-03  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
      	Tommi Komulainen)
      64768cae
  3. 02 Feb, 2005 7 commits
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 1707e510
      Federico Mena Quintero authored
      2005-02-02  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
      	Don't select the first row if the chooser is not mapped.  This
      	happens when it's acting on behalf of GtkFileChooserButton.  Also,
      	don't select the first row if we are in SAVE or CREATE_FOLDER
      	modes --- I had missed that (see the ChangeLog entry from
      	2005-01-18).  Fixes #165264.
      1707e510
    • Tor Lillqvist's avatar
      Implement lazy extended input initialization on Win32, by Robert Ögren. · 8c323acb
      Tor Lillqvist authored
      2005-02-02  Tor Lillqvist  <tml@novell.com>
      
      	Implement lazy extended input initialization on Win32, by Robert
      	Ögren. Fixes #163163, possibly #162334. Lazy initialization would
      	be a good idea in any case even if it didn't fix any visible
      	problems, though.
      
      	The Wacom tablet driver seems to get confused if Wintab is
      	initialized but no window is shown before the process exits. This
      	is the case for some GIMP plug-ins, for instance.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
      	non-static (and renamed).
      	(_gdk_input_init): Don't call _gdk_input_wintab_init_check().
      
      	* gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
      
      	* gdk/win32/gdkinput.c (gdk_devices_list,
      	gdk_display_list_devices, gdk_input_set_extension_events): Call
      	_gdk_input_wintab_init_check() here instead.
      8c323acb
    • Ivan, Wong Yat Cheung's avatar
      Use a FIFO list for storing GdkSelProp of a single window so that · c922869c
      Ivan, Wong Yat Cheung authored
      2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>
      
      	* gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
      	of a single window so that gtk_clipboard_request_contents() can be
      	called inside a GtkClipboardReceivedFunc(). (#163844)
      c922869c
    • Matthias Clasen's avatar
      Look for icons in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic) · b6359545
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
      	in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
      b6359545
    • Matthias Clasen's avatar
      Set info->icon_list to NULL after freeing it. (#165800, Damon Chaplin) · adf6e301
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
      	to NULL after freeing it.  (#165800, Damon Chaplin)
      adf6e301
    • Michael Natterer's avatar
      depend on stable pango-1.8, not unstable 1.7 · 92895a41
      Michael Natterer authored
      2005-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on stable pango-1.8, not unstable 1.7
      92895a41
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 4200bed6
      Federico Mena Quintero authored
      2005-02-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkfilechooserdefault.c
      	(browse_files_model_finished_loading_cb): Don't
      	g_assert_not_reached() if we are in any other state.  Another code
      	path may have triggered a folder reload.  Fixes #165556.
      4200bed6
  4. 01 Feb, 2005 4 commits
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 224c47a9
      Federico Mena Quintero authored
      2005-02-01  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #165770:
      
      	* gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
      	fallback size be 16, to be equal to the default for
      	GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
      	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
      	GTK_ICON_SIZE_SMALL_TOOLBAR.
      224c47a9
    • Matthias Clasen's avatar
      Fix many instances of "the the" in docs and comments. (#165815, Masao · 1d0c7ea1
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* */*.c: Fix many instances of "the the" in docs and
      	comments.  (#165815, Masao Mutoh)
      1d0c7ea1
    • Matthias Clasen's avatar
      Add a --quiet option. · 673f0a86
      Matthias Clasen authored
      2005-02-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/updateiconcache.c (main): Add a --quiet option.
      673f0a86
    • Tor Lillqvist's avatar
      New functions, code blocks refactored out of update_keymap(). No · 7a2e3456
      Tor Lillqvist authored
      2005-02-01  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
      	reset_after_dead, handle_dead): New functions, code blocks
      	refactored out of update_keymap(). No functionality change.
      
      	(update_keymap): Use ToUnicodeEx() when available (on NT-based
      	Windows) instead of ToAsciiEx(). Makes keyboard input work in
      	Unicode-only input locales that don't have any ANSI codepage, for
      	instance Hindi and Bengali. Use _gdk_input_codepage only on
      	Win9x. (#165723)
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
      	WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
      	TranslateCharsetInfo() to get the input locale's corresponding
      	codepage, if any.
      7a2e3456
  5. 31 Jan, 2005 1 commit
  6. 29 Jan, 2005 1 commit
  7. 27 Jan, 2005 3 commits
    • Manish Singh's avatar
      update ancient IRC info. · 07155e27
      Manish Singh authored
      Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>
      
              * README.cvs-commits: update ancient IRC info.
      07155e27
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · 9032abed
      Federico Mena Quintero authored
      2005-01-27  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	* gtk/gtkfilechooserdefault.c
      	(gtk_file_chooser_default_select_path): Oops, don't assert that we
      	can't reach the end of the function; this happens if we are still
      	loading but don't need a path change.  Fixes #165213.
      9032abed
    • Matthias Clasen's avatar
      Some visual tweaks to the about dialog, obey HIG spacing a bit more, add a · a2fa5953
      Matthias Clasen authored
      2005-01-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
      	obey HIG spacing a bit more, add a hand cursor when over the
      	link button.  (#163979, Jorn Baayen)
      a2fa5953
  8. 26 Jan, 2005 2 commits
    • Matthias Clasen's avatar
      Don't allow -1 as minimum-key-length. (gtk_entry_completion_set_model): · d5102464
      Matthias Clasen authored
      2005-01-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
      	Don't allow -1 as minimum-key-length.
      	(gtk_entry_completion_set_model): Add missing notification.
      	(gtk_entry_completion_set_minimum_key_length): Add missing
      	notification, allow setting minimum-key-length to 0.  (#165194,
      	Vincent Ladeuil)
      d5102464
    • Matthias Clasen's avatar
      Make sure the license dialog is initially displayed without a horizontal · ce2e7b87
      Matthias Clasen authored
      2005-01-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.c (display_license_dialog): Make sure
      	the license dialog is initially displayed without a horizontal
      	scrollbar.
      	(gtk_about_dialog_class_init): Document the fact that the
      	license text is not wrapped.  (#165012, Christian Rose)
      ce2e7b87
  9. 25 Jan, 2005 6 commits
    • Matthias Clasen's avatar
      Fix docs. (#165180, Jeff Franks) · 35819662
      Matthias Clasen authored
      2005-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
      	Jeff Franks)
      35819662
    • Matthias Clasen's avatar
      Fix docs. (#165163, Jeff Franks) · a54f709c
      Matthias Clasen authored
      2005-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix
      	docs.  (#165163, Jeff Franks)
      a54f709c
    • Matthias Clasen's avatar
      Use the correct setter for a string GValue. (#165203, Damon Chaplin) · 784bd75c
      Matthias Clasen authored
      
      2005-01-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
      	for a string GValue.  (#165203, Damon Chaplin)
      784bd75c
    • Matthias Clasen's avatar
      Initialize user_time from DESKTOP_STARTUP_ID. (#165131, Elijah Newren) · 06a19ba6
      Matthias Clasen authored
      2005-01-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display):
      	Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
      	Elijah Newren)
      06a19ba6
    • Federico Mena Quintero's avatar
      Removed leftover comments. · 570ad468
      Federico Mena Quintero authored
      2005-01-24  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/gtkfilechooserdefault.c: Removed leftover comments.
      570ad468
    • Federico Mena Quintero's avatar
      Merged from gtk-2-6: · ed30bc0c
      Federico Mena Quintero authored
      2005-01-24  Federico Mena Quintero  <federico@ximian.com>
      
      	Merged from gtk-2-6:
      
      	Fix #147785 and clean up the loading code:
      
      	* gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
      	be EMPTY, PRELOAD, LOADING, FINISHED.
      	(gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
      	(struct _GtkFileChooserDefault): Added a pending_select_paths
      	field.
      	(load_remove_timer): Add the new states.
      	(load_setup_timer): Likewise.
      	(load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
      	(browse_files_model_finished_loading_cb): Switch to the
      	LOAD_FINISHED state.
      	(enum PendingOp): Removed.
      	(struct _GtkFileChooserDefault): Removed the pending_op and
      	pending_select_path fields.
      	(pending_select_paths_free): New utility function.
      	(pending_select_paths_add): New utility function.
      	(gtk_file_chooser_default_finalize): Call
      	pending_select_paths_free().
      	(pending_op_queue): Removed.
      	(pending_op_process): Removed.
      	(pending_select_paths_process): New function.
      	(browse_files_model_finished_loading_cb): Call
      	pending_select_paths_process().
      	(center_selected_row_foreach_cb): Handle multiple selection by
      	only centering the first row.
      	(get_is_file_filtered): Constify.
      	(gtk_file_chooser_default_select_path): Queue into a list of paths
      	to select if we are not finished loading.
      	(show_and_select_paths): New utility function.
      	(up_folder_handler): Use pending_select_paths_add().
      	(gtk_file_chooser_default_should_respond): Do not call
      	pending_op_queue(); free the pending_selected_paths instead.
      	(gtk_file_chooser_default_initial_focus): Don't queue a pending
      	operation, and don't select the first row unconditionally --- this
      	will happen when the folder is done loading.
      	(shortcuts_row_activated_cb): Free the pending_select_paths.
      	(pending_select_paths_store_selection): New utility function.
      	(gtk_file_chooser_default_map): Call
      	pending_select_paths_store_selection() to save the selection
      	before reloading the folder.
      	(select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
      	move the cursor here; it will be done when processing the pending paths.
      
      	* tests/testfilechooser.c (main): Add a button to the command
      	window to unmap and remap the file chooser.
      ed30bc0c
  10. 24 Jan, 2005 2 commits
  11. 23 Jan, 2005 6 commits
    • Matthias Clasen's avatar
      Remove the accidentally added prototype for this unimplemented · a7f08393
      Matthias Clasen authored
      2005-01-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full):
      	Remove the accidentally added prototype for this unimplemented
      a7f08393
    • Matthias Clasen's avatar
      Avoid spurious drags. (#164884) · dc0b488d
      Matthias Clasen authored
      2005-01-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
      	drags.  (#164884)
      dc0b488d
    • Tor Lillqvist's avatar
      Make volume name display formats translatable. · eaec6d35
      Tor Lillqvist authored
      2005-01-23  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
      	Make volume name display formats translatable.
      eaec6d35
    • Tor Lillqvist's avatar
      Fix for #163702, from Ivan Wong: · 736f4c87
      Tor Lillqvist authored
      2005-01-23  Tor Lillqvist  <tml@novell.com>
      
      	Fix for #163702, from Ivan Wong:
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
      	WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
      	GDK_SELECTION_CLEAR event.
      
      	* gdk/win32/gdkselection-win32.c
      	(gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
      	when emptying the clipboard ourselves.
      
      	(gdk_selection_send_notify_for_display): Remove the artifical
      	GDK_SELECTION_CLEAR event generation.
      736f4c87
    • Tor Lillqvist's avatar
      Handle Greek tonos dead accent key. (#164859, reported and fix verified by · 26629f7a
      Tor Lillqvist authored
      2005-01-23  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
      	dead accent key. (#164859, reported and fix verified by Daniel
      	Atallah.)
      
      	* gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
      	GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
      	and upsilon.
      26629f7a
    • Tor Lillqvist's avatar
      Don't call GetVolumeInformation() for network drives. They might be · 017f6ed2
      Tor Lillqvist authored
      2005-01-23  Tor Lillqvist  <tml@novell.com>
      
      	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
      	Don't call GetVolumeInformation() for network drives. They might
      	be disconnected, and calling GetVolumeInformation() will then
      	cause long delays. (#164448) It seems to be very hard to reliably
      	find out whether a network drive is connected or not, so it's
      	easier to just not try getting the volume name for them. See the
      	bug report for discussion.
      017f6ed2