Commit Graph

8606 Commits

Author SHA1 Message Date
Matthias Clasen
bbeddb712a Scroll to make the selected printer visible. (#418403, Nickolay V.
2007-03-16  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
        make the selected printer visible.  (#418403, Nickolay V. Shmyrev,
        patch by Christian Persch)



svn path=/branches/gtk-2-10/; revision=17532
2007-03-16 05:17:25 +00:00
Federico Mena Quintero
e89926da22 PANGO_PIXELS() gives us device units, which are *points* in pangocairo's
2007-03-15  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserdefault.c (find_good_size_from_style):
	PANGO_PIXELS() gives us device units, which are *points* in
	pangocairo's parlance, but we want actual pixels.  So, get the
	screen's resolution to compute the actual number of pixels.
	Fixes bug #418585.

svn path=/branches/gtk-2-10/; revision=17529
2007-03-16 00:51:18 +00:00
Emmanuele Bassi
cb2d6f74a1 Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
	unused GError; do not allocate GtkRecentData and use a variable
	on the stack. (#418673, Morten Welinder)

svn path=/branches/gtk-2-10/; revision=17526
2007-03-15 19:58:22 +00:00
Chris Wilson
98abcb41fb Protect ensure_valid_themes() from recursion, which can happen for example
2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
	(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
	from recursion, which can happen for example if the app tries to
	reload an icon from within a theme-changed handler. (#418531)


svn path=/branches/gtk-2-10/; revision=17522
2007-03-15 18:35:38 +00:00
Emmanuele Bassi
ef85b08765 Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
	Welinder)

svn path=/branches/gtk-2-10/; revision=17520
2007-03-15 17:13:53 +00:00
Emmanuele Bassi
3bf09b727b Merge from trunk:
2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>

	Merge from trunk:

	* gtk/gtkrecentchooserprivate.h:
	* gtk/gtkrecentchooserutils.c: Share between the widgets
	the recent chooser function for getting the filtered, sorted
	and clamped list of recent files from the manager. (#418219)

	* gtk/gtkrecentchoosermenu.c: Use the newly defined
	_gtk_recent_chooser_get_items() function; remove some
	pointer indirections.

	* gtk/gtkrecentchooserdefault.c: Reload the items every time
	a property affecting the view is changed; move the objects
	unref and the source removal into the dispose function; use
	the newly defined _gtk_recent_chooser_get_items()
	function. (see #338843)

svn path=/branches/gtk-2-10/; revision=17517
2007-03-15 10:44:34 +00:00
Matthias Clasen
674031d980 2.10.11
svn path=/branches/gtk-2-10/; revision=17513
2007-03-14 05:50:11 +00:00
Matthias Clasen
34d73266b9 2.10.11
svn path=/branches/gtk-2-10/; revision=17511
2007-03-14 05:45:35 +00:00
Matthias Clasen
345ab456ae Fix tabbed browsing in epiphany. (#413664, Christian Persch)
2007-03-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
        Fix tabbed browsing in epiphany.  (#413664, Christian Persch)



svn path=/branches/gtk-2-10/; revision=17506
2007-03-13 15:17:05 +00:00
Ray Strode
11ffd10823 add newline to test svn locking feature
svn path=/branches/gtk-2-10/; revision=17504
2007-03-12 18:42:21 +00:00
Matthias Clasen
1f434a8f7a Bump version
svn path=/branches/gtk-2-10/; revision=17503
2007-03-12 18:35:32 +00:00
Matthias Clasen
0b7fbf24d9 2.10.10
svn path=/branches/gtk-2-10/; revision=17501
2007-03-12 18:33:44 +00:00
Matthias Clasen
47523436d5 Set the background of the panel window on style changes. (#402144,
2007-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
        the background of the panel window on style changes. (#402144,
        Benjamin Berg)



svn path=/branches/gtk-2-10/; revision=17493
2007-03-12 05:52:23 +00:00
Matthias Clasen
0f9ed45c85 Updates
svn path=/branches/gtk-2-10/; revision=17490
2007-03-12 05:40:12 +00:00
Matthias Clasen
b041ad4c3b Handle the row reference path being NULL. (#410565, Joe Markus Clarke,
2007-03-12  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
        Handle the row reference path being NULL.  (#410565, Joe Markus
        Clarke, patch by Chris Wilson)



svn path=/branches/gtk-2-10/; revision=17488
2007-03-12 04:12:02 +00:00
Matthias Clasen
27e04bea15 Handle Menu key presses without crash. (#385637, Christian Persch)
2007-03-11  Matthias Clasen  <mclasen@redhat.com>

        * tests/testiconview.c: Handle Menu key presses without
        crash.  (#385637, Christian Persch)



svn path=/branches/gtk-2-10/; revision=17486
2007-03-12 03:15:23 +00:00
Matthias Clasen
5847ef42e3 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
2007-03-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
        Don't crash if active_tips_data is NULL.  (#382904, Li Yuan)



svn path=/branches/gtk-2-10/; revision=17484
2007-03-12 02:54:04 +00:00
Matthias Clasen
2c3a8b5f34 Set first_para_mark to NULL. (#396805, Colin Leroy, patch by Mariano
2007-03-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
        to NULL.  (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)



svn path=/branches/gtk-2-10/; revision=17482
2007-03-12 02:35:08 +00:00
Kristian Rietveld
876fd96900 Merge from trunk:
2007-03-12  Kristian Rietveld  <kris@gtk.org>

	Merge from trunk:

	* gtk/gtkfilechooserdefault.c (check_save_entry): immediately
	bail out if current_folder is NULL. (#350988, lots of reporters,
	modified patch by Jan Darmochwal).


svn path=/branches/gtk-2-10/; revision=17480
2007-03-12 00:14:28 +00:00
Christian Persch
510a815d20 Don't make the Location: label bold. Bug #372449.
2007-03-12  Christian Persch  <chpe@gnome.org>

	* gtk/gtkfilechooserdefault.c: (browse_widgets_create): Don't make the
	Location: label bold. Bug #372449.

svn path=/branches/gtk-2-10/; revision=17478
2007-03-11 23:22:07 +00:00
Kristian Rietveld
e46cc9a2a8 Updated fix for #356515, merged from trunk:
2007-03-10  Kristian Rietveld  <kris@gtk.org>

	Updated fix for #356515, merged from trunk:

	* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
	a focus-in event to the tree view after hiding the search dialog;
	only hide the search dialog and send the focus events when the
	dialog is currently visible.


svn path=/branches/gtk-2-10/; revision=17465
2007-03-10 22:47:38 +00:00
Kristian Rietveld
5806be0247 Merge from trunk:
2007-03-10  Kristian Rietveld  <kris@gtk.org>

	Merge from trunk:

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
	(gtk_tree_model_sort_real_unref_node): when (un)reffing an
	element, also (un)ref its parent elements. (Fixes #364946,
	reported by many, testcase by Andreas Koehler).


svn path=/branches/gtk-2-10/; revision=17458
2007-03-10 17:26:38 +00:00
Kristian Rietveld
cb9b825d87 Merge from trunk:
2007-03-10  Kristian Rietveld  <kris@gtk.org>

	Merge from trunk:

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
	(gtk_tree_model_sort_sort_level): ref count nodes the proper way,
	(gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
	(gtk_tree_model_sort_free_level): bring zero ref count loops in
	sync,
	(gtk_tree_model_sort_free_level): free child levels before
	decreasing the zero ref count of the current level,
	(gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
	is > 0.


svn path=/branches/gtk-2-10/; revision=17456
2007-03-10 17:20:07 +00:00
Matthias Clasen
5d3d5f4f66 Initialize the do_preview field of PrintResponseData. (#396703, Christian
2007-03-10  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation-unix.c: Initialize the do_preview
        field of PrintResponseData.  (#396703, Christian Persch)



svn path=/branches/gtk-2-10/; revision=17454
2007-03-10 06:58:35 +00:00
Matthias Clasen
f96e2457d2 Plug some leaks
svn path=/branches/gtk-2-10/; revision=17451
2007-03-10 05:51:24 +00:00
Matthias Clasen
0b92a6f503 Get rid of the unused event argument. Update all callers.
2007-03-09  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
        Get rid of the unused event argument. Update all callers.

        * gtk/gtktextview.c (gtk_text_view_focus_out): Call
        gtk_text_view_end_selection_drag.  (#351671, Boyd Timothy)



svn path=/branches/gtk-2-10/; revision=17450
2007-03-10 03:53:15 +00:00
Matthias Clasen
4fa3722492 Don't commit modifier-adorned characters. (#331369, #335796, Lin Ma and
2007-03-09  Matthias Clasen <mclasen@redhat.com>

        * modules/input/gtkimcontextxim.c 
        (gtk_im_context_xim_filter_keypress): Don't commit
        modifier-adorned characters.  (#331369, #335796, Lin Ma
        and others)



svn path=/branches/gtk-2-10/; revision=17447
2007-03-09 23:39:11 +00:00
Matthias Clasen
2a1c14354d Fix the build
svn path=/branches/gtk-2-10/; revision=17445
2007-03-09 22:17:58 +00:00
Matthias Clasen
c450c2e8b1 Remove C99isms. (#416525, Kazuki Iwamoto)
2007-03-09  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
        C99isms.  (#416525, Kazuki Iwamoto)



svn path=/branches/gtk-2-10/; revision=17443
2007-03-09 21:31:58 +00:00
Tor Lillqvist
5707117d1a Update.
2007-03-09  Tor Lillqvist  <tml@novell.com>

	* README.win32: Update.


svn path=/branches/gtk-2-10/; revision=17440
2007-03-09 09:49:34 +00:00
Matthias Clasen
744a9b476a Updates
svn path=/branches/gtk-2-10/; revision=17438
2007-03-09 05:56:38 +00:00
Matthias Clasen
3477836885 Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11.
2007-03-08  Matthias Clasen <mclasen@redhat.com>

        * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
        to an idle to avoid deadlock with xcb-ified libX11.  (#413032,
        Sebastian Dröge)



svn path=/branches/gtk-2-10/; revision=17437
2007-03-09 05:29:46 +00:00
Matthias Clasen
d09c0ec912 Set child visibility to FALSE here; it will be turned back on in
2007-03-08  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
        Set child visibility to FALSE here; it will be turned
        back on in switch_page.  (#413664, Carlos Garnacho)



svn path=/branches/gtk-2-10/; revision=17435
2007-03-09 04:54:12 +00:00
Kristian Rietveld
8823b06c62 Revert revision 17315:
2007-03-08  Kristian Rietveld  <kris@gtk.org>

	Revert revision 17315:

	* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
	a focus-in event to the tree view after hiding the search dialog.
	(#356515, Rich Burridge, Peter Parente).


svn path=/branches/gtk-2-10/; revision=17431
2007-03-08 18:24:04 +00:00
Mathias Hasselmann
e66030c5ce Use Windows shell icons. Icons are stored in the current theme with the
2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>

	* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
	stored in the current theme with the name
	"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
	icons as reported by SHGetFileInfoW. (#412221)


svn path=/branches/gtk-2-10/; revision=17422
2007-03-07 23:32:36 +00:00
Matthias Clasen
d0a231c04d Draw the focus around the arrow if there is no label widget. (#124045,
2007-03-07  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
        focus around the arrow if there is no label widget.
        (#124045, Cody Russell)



svn path=/branches/gtk-2-10/; revision=17420
2007-03-07 21:36:52 +00:00
Matthias Clasen
e29723c10c Set names on the popup widgets to make them themable. (#414975, Benjamin
2007-03-07  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkcombo.c: (gtk_combo_init):
        * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
        (gtk_combo_box_menu_setup):
        Set names on the popup widgets to make them themable. (#414975,
        Benjamin Berg)



svn path=/branches/gtk-2-10/; revision=17418
2007-03-07 21:14:57 +00:00
Guillaume Savaton
5813ecb405 Added Esperanto (eo) translation in po/ Added Esperanto (eo) translation
2007-03-07  Guillaume Savaton <llumeao@gmail.com>

   * Added Esperanto (eo) translation in po/
   * Added Esperanto (eo) translation stub in po-properties/
   * Added eo to ALL_LINGUAS in configure.in


svn path=/branches/gtk-2-10/; revision=17415
2007-03-07 18:53:24 +00:00
Michael Natterer
b349b6a420 Merge from trunk:
2007-03-07  Michael Natterer  <mitch@imendio.com>

	Merge from trunk:

	* gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
	instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
	empty finalize() implementation, some cosmetic cleanup
	(bug #415645).


svn path=/branches/gtk-2-10/; revision=17413
2007-03-07 14:20:03 +00:00
Chris Wilson
eaf4d6d4d1 Be careful not to trigger a style reset before we have loaded any icon
2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>

	* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
	(do_theme_change), (gtk_icon_theme_set_custom_theme),
	(load_themes):
		Be careful not to trigger a style reset before we have loaded
		any icon themes. (#414875).


svn path=/branches/gtk-2-10/; revision=17403
2007-03-06 18:19:28 +00:00
Tor Lillqvist
d096ea1a90 gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32
2007-03-06  Tor Lillqvist  <tml@novell.com>

	* gdk/Makefile.am
	* gdk-pixbuf/Makefile.am
	* gtk/Makefile.am: Further fixes for building on Win32 outside
	srcdir. (#413492, Mathias Hasselmann)


svn path=/branches/gtk-2-10/; revision=17396
2007-03-06 09:58:06 +00:00
Ihar Hrachyshka
ad082adfeb Fixed problems with be@latin.
svn path=/branches/gtk-2-10/; revision=17391
2007-03-05 13:34:12 +00:00
Claudio Saavedra
b205ca38d7 Removed be@latin from ALL_LINGUAS, as it's currently breaking the build.
2007-03-04  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
        breaking the build.


svn path=/branches/gtk-2-10/; revision=17389
2007-03-05 00:49:24 +00:00
Ihar Hrachyshka
aa4dc7d07f be@latin.po: Added Belarusian Latin translation by Ales Navicki.
svn path=/branches/gtk-2-10/; revision=17384
2007-03-04 13:36:41 +00:00
Murray Cumming
7355017883 Fix the build, by converting the case statement to an if else. I am only
2007-03-01  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtksettings.c: (gtk_settings_get_property): Fix the build, by 
        converting the case statement to an if else. I am only guessing that 
        this is the desired logic.

svn path=/branches/gtk-2-10/; revision=17372
2007-03-01 14:42:29 +00:00
Matthias Clasen
75cb95adde Always store gtk-color-scheme values from all sources in the
2007-03-01  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtksettings.c: Always store gtk-color-scheme
        values from all sources in the ColorSchemeData struct
        and ignore the property_value for gtk-color-scheme.
        This fixes #412596, reported by Thomas Wood.



svn path=/branches/gtk-2-10/; revision=17371
2007-03-01 06:49:21 +00:00
Matthias Clasen
1d507cb560 Make color scheme update properly when changing themes. (#402131, Benjamin
2007-02-28  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtksettings.c: Make color scheme update properly
        when changing themes.  (#402131, Benjamin Berg)


svn path=/branches/gtk-2-10/; revision=17367
2007-02-28 19:49:34 +00:00
Matthias Clasen
f01351d17e Don't leak references to the color-hash gotten from GtkSettings. (#409357,
2007-02-28  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkrc.c: Don't leak references to the color-hash
        gotten from GtkSettings.  (#409357, Benjamin Berg)



svn path=/branches/gtk-2-10/; revision=17365
2007-02-28 17:16:27 +00:00
Matthias Clasen
3e82928d30 Apply a patch by Carlos Garnacho to fix several problems with filechooser
2007-02-26  Matthias Clasen <mclasen@redhat.com>

        Apply a patch by Carlos Garnacho to fix several problems
        with filechooser size handling (#325477, #151169, 143213,
        #153785)

        * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
        (browse_widgets_create): Don't force the paned position to 200.
        (find_good_size_from_style): Take the size of the extra widget
        into account.

        * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
        Accept a minimal width parameter. Update all callers.


svn path=/branches/gtk-2-10/; revision=17358
2007-02-26 19:53:04 +00:00
Matthias Clasen
4290028313 Make folder selection work for print-to-file
svn path=/branches/gtk-2-10/; revision=17355
2007-02-26 14:58:39 +00:00