1. 03 Sep, 2004 1 commit
    • Tor Lillqvist's avatar
      List the three theme gtkrc files separately, zip doesn't do anything if · f8ef369e
      Tor Lillqvist authored
      2004-09-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: List the three theme gtkrc files separately, zip
      	doesn't do anything if one of the files on its command line
      	doesn't exist.
      
      	Handle changes of screen resolution on Win32. (#151581, reported by
      	Arjohn Kampman)
      
      	* gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init,
      	_gdk_root_window_size_init): Factor out setting the root window's
      	size (as the size of the union of all monitors) to a new function.
      
      	* gdk/win32/gdkdisplay-win32.c (gdk_display_open,
      	_gdk_monitor_init): Factor out the monitor query to a new
      	function.
      
      	* gdk/win32/gdkprivate-win32.h: Declare above new functions.
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate,
      	handle_display_change): Handle WM_DISPLAYCHANGE by calling the
      	above two functions, and emitting the "size_changed" signal on our
      	(only) GdkScreen.
      f8ef369e
  2. 02 Sep, 2004 1 commit
  3. 01 Sep, 2004 13 commits
  4. 31 Aug, 2004 2 commits
    • Jonathan Blandford's avatar
      constrain cell area to passed in cell_area, #147867 · 08bc7206
      Jonathan Blandford authored
      Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtktreeviewcolumn.c
              (gtk_tree_view_column_cell_process_action): constrain cell area to
              passed in cell_area, #147867
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
              ellipsizing, get_size is only 3 chars wide.
      
              * docs/tree-column-sizing.png: Add Matthias's excellent image.
      08bc7206
    • Robert Ögren's avatar
      On Win32, do not produce tablet motion or button events while a window is · c0ba86bc
      Robert Ögren authored
      2004-08-28  Robert Ögren  <gtk@roboros.com>
      
      	On Win32, do not produce tablet motion or button events while a
      	window is being moved or resized. (#151090, reported by Shaneyfelt)
      
      	* gdk/win32/gdkprivate-win32.h
      	* gdk/win32/gdkglobals-win32.c
      	* gdk/win32/gdkevents-win32.c: Rename the variable resizing to
      	_sizemove_in_progress and make it extern.
      
      	* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore
      	motion and button events if _sizemove_in_progress is true.
      c0ba86bc
  5. 30 Aug, 2004 6 commits
    • Arafat Medini's avatar
      Updated Arabic Translation · 542a2d42
      Arafat Medini authored
      
      2004-08-31  Arafat Medini  <lumina@silverpen.de>
      
      	* ar.po: Updated Arabic Translation
      542a2d42
    • Tor Lillqvist's avatar
      Make the ms-windows theme engine build with mingw. · 585471a4
      Tor Lillqvist authored
      2004-08-30  Tor Lillqvist  <tml@iki.fi>
      
      	Make the ms-windows theme engine build with mingw.
      
      	* configure.in: Expand also modules/engines/ms-windows/Theme/
      	Makefile and .../Theme/gtk-2.0/Makefile.
      
      	* modules/engines/ms-windows/Makefile.am: Adapt for building
      	inside the GTK sources.
      
      	* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
      	GTK and GDK headers. Use correct path for gdkwin32.h header.
      
      	* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
      	API.
      
      	* modules/engines/ms-windows/xp_theme_defs.h
      	* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
      	to xp_theme.c, as they are neither in mingw's nor Platform
      	SDK's tmschema.h.
      
      	* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
      	0x0501 to get the necesssary stuff from mingw's uxtheme.h.
      585471a4
    • Matthias Clasen's avatar
      Integrate the ms-windows theme engine (better known as Wimp) into the · 7feff029
      Matthias Clasen authored
      2004-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	Integrate the ms-windows theme engine (better known as Wimp)
      	into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
      	was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
      	sources have been added to the GTK+ source tree in
      	modules/engines/ms-windows, and there is a ChangeLog detailing
      	the history of Wimp. (#109615, Havoc Pennington)
      
      	* configure.in: Generate modules/engines/Makefile and
      	modules/engines/ms-windows/Makefile.
      
      	* modules/Makefile.am (SUBDIRS): Add engines.
      
      	* modules/engines/Makefile.am: Compile ms-windows for win32.
      7feff029
    • Matthias Clasen's avatar
      Make it compile. · 5210bf17
      Matthias Clasen authored
      2004-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): Make it compile.
      
      2004-08-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix #151112, Olexiy Avramchenko:
      
      	* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout):
      	* gtk/gtkiconview.c (scroll_timeout, layout_callback)
      	(gtk_icon_view_item_accessible_idle_do_action):
      	* gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle)
      	(popup_idle): Protect idle callbacks and timeouts with
      	GDK_THREADS_ENTER/_LEAVE.
      
      	* gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
      	call update_dialog() from an idle with the necessary protection.
      5210bf17
    • Matthias Clasen's avatar
      Changes to make sure input methods respect the editability of entries and · 729aaa06
      Matthias Clasen authored
      
      Mon Aug 30 01:34:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Changes to make sure input methods respect the editability
      	of entries and text views. #114173, Noah Levitt.
      
      	* gtk/gtkentry.c (popup_targets_received): Make the Input
      	Methods menuitem insensitive if we're not editable.
      
      	* gtk/gtkentry.c (gtk_entry_delete_surrounding_cb):
      	* gtk/gtkentry.c (gtk_entry_preedit_changed_cb):
      	* gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything
      	if we're not editable.
      
      	* gtk/gtkentry.c (gtk_entry_focus_out):
      	* gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
      	focus_out to the im context if we're editable.
      
      	* gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
      	if the entry just became non-editable.
      
      	* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
      	Use gtk_text_buffer_delete_interactive() to not delete
      	non-editable portions of text.
      729aaa06
    • Tor Lillqvist's avatar
      Link with -limm32. · 26526ea5
      Tor Lillqvist authored
      2004-08-30  Tor Lillqvist  <tml@iki.fi>
      
      	* modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32.
      
      	* modules/input/gtkimcontextime.c: Use quotes in #includes, to
      	find headers when building inside GTK+ sources.
      26526ea5
  6. 29 Aug, 2004 1 commit
  7. 27 Aug, 2004 4 commits
    • Tor Lillqvist's avatar
      Add drop_failed, like in the X11 backend. Nothing sets it, though. · eb388dfc
      Tor Lillqvist authored
      2004-08-27  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add
      	drop_failed, like in the X11 backend. Nothing sets it, though.
      	(gdk_drag_drop_succeeded): Copy from X11 backend.
      eb388dfc
    • Maxim Dziumanenko's avatar
      Updated Ukrainian translation. · 0224e8a2
      Maxim Dziumanenko authored
      2004-08-27  Maxim Dziumanenko <mvd@mylinux.com.ua>
      
      	* Updated Ukrainian translation.
      0224e8a2
    • Matthias Clasen's avatar
      Don't crash if model is not set. Noted by Mariano Suarez-Alvarez. · a15842e6
      Matthias Clasen authored
      Thu Aug 26 23:58:11 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
      	if model is not set. Noted by Mariano Suarez-Alvarez.
      a15842e6
    • Matthias Clasen's avatar
      Provide information about how an adjustment change in a range widget · 01bc5631
      Matthias Clasen authored
      Thu Aug 26 22:44:12 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Provide information about how an adjustment change in a range
      	widget happened. Add a "slider-moved" signal which reports how
      	a user is interacting with the range, whether they are clicking
      	on a stepper or the trough, or dragging the slider.  (#133263,
      	Thomas Fitzsimmons)
      
      	* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
      	* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
      	signal.
      	(gtk_range_internal_set_value): Rename to
      	gtk_range_real_change_value.  Add GtkScrollType parameter.  Emit
      	the change-value signal when the range's value changes.
      	(update_slider_position, gtk_range_scroll_event, step_back,
      	step_forward, page_back, page_forward, scroll_begin,
      	scroll_end): Change gtk_range_internal_set_value to
      	gtk_range_real_change_value.
      	* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
      	function.
      01bc5631
  8. 26 Aug, 2004 8 commits
    • Matthias Clasen's avatar
      Build imime.la on Windows. · 24dd1030
      Matthias Clasen authored
      2004-08-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* modules/input/Makefile.am: Build imime.la on Windows.
      
      	* modules/input/gtkimcontextime.h:
      	* modules/input/gtkimcontextime.c:
      	* modules/input/imime.c:
      	* modules/input/imm-extra.h: Add the IME input method for Win32
      	written by Takuro Ashie and Kazuko IWAMOTO. The code was previously
      	hosted at http://sourceforge.jp/projects/imime.  (#135195)
      24dd1030
    • Bill Haneman's avatar
      Fix for #131226, allow selection of singleton list items in multi-select · 3124567f
      Bill Haneman authored
      lists, via keyboard.  [on behalf of Padraig O'Briain]
      3124567f
    • Matthias Clasen's avatar
      Make gdk_window_process_[all]_updates() respect update_freeze_counter · c429b89d
      Matthias Clasen authored
      2004-08-26  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gdk_window_process_[all]_updates() respect
      	update_freeze_counter  (#144272, Soeren Sandmann)
      
      	* gdk/gdkwindow.c (gdk_window_schedule_update): New function to
      	install an idle for gdk_window_update_idle() if one isn't there
      	already.
      	(gdk_window_process_all_updates):
      	(gdk_window_process_updates): Only process the updates if the
      	window isn't frozen.
      	(gdk_window_invalidate_maybe_recurse): Schedule an update when
      	necessary.
      	(gdk_window_thaw_updates): Use gdk_window_schedule_update() instead
      	of directly installing the idle.
      c429b89d
    • Matthias Clasen's avatar
      Add gdk_pixbuf_new_from_file_at_scale(), which is just like · cd50f460
      Matthias Clasen authored
      Thu Aug 26 01:23:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-core.h:
      	* gdk-pixbuf.symbols:
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
      	Add gdk_pixbuf_new_from_file_at_scale(), which is just
      	like gdk_pixbuf_new_from_file_at_size(), but optionally
      	ignores the aspect ratio.  (#136395, Dom  Lachowicz)
      cd50f460
    • Robert Ögren's avatar
      On Win32, make graphical tablets work on multi-monitor systems. (#145467, · eee651cc
      Robert Ögren authored
      2004-08-22  Robert Ögren  <gtk@roboros.com>
      
      	On Win32, make graphical tablets work on multi-monitor systems.
      	(#145467, reported by buttknock1@ya...)
      
      	* gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates):
      	Use dimensions of _gdk_parent_root as screen size.
      	(gdk_input_get_root_relative_geometry): Get coordinates relative
      	to GDK root window instead of Win32 coordinates.
      	(_gdk_input_other_event): Updated accordingly.
      eee651cc
    • Manish Singh's avatar
      remove unused gdk_font_charset_for_locale() function. · 800574e3
      Manish Singh authored
      Wed Aug 25 17:24:17 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale()
              function.
      
              * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused
              variables num_extensions and extensions.
      
              * gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
      800574e3
    • Manish Singh's avatar
      remove unused set_need_recomposite() function. · e39e0b09
      Manish Singh authored
      Wed Aug 25 17:23:23 2004  Manish Singh  <yosh@gimp.org>
      
              * io-gif.c: remove unused set_need_recomposite() function.
      e39e0b09
    • Manish Singh's avatar
      initialize path so we don't potentially use an undefined pointer. · 95674320
      Manish Singh authored
      Wed Aug 25 17:14:58 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
              path so we don't potentially use an undefined pointer.
      
              * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
              cast for tree_view_keybinding_cb.
      
              * gtk/gtkfilechooserdefault.c (location_entry_create): cast to
              GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
              calls.
      
              * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
              cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
      
              * gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
              since that's what g_convert_with_fallback() expects.
      95674320
  9. 25 Aug, 2004 4 commits