Commit Graph

10807 Commits

Author SHA1 Message Date
Matthias Clasen
8ec27f7760 Bug 346903 – gtk_enumerate_printers needs events to complete
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 346903 – gtk_enumerate_printers needs events to complete

        * gtk/gtkprintbackend.h:
        * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.

        * modules/printbackends/cups/gtkcupsutils.h:
        * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
        test into a tristate available/unavailable/in progress.

        * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
        connection test instance for getting the default printer and for
        getting the printer list. Set the GtkPrintBackend::status property
        according to the result of the connection test. Use the printer-type
        attribute to find the default printer, if cups supports it.

        * gtk/gtkprinter.c: When enumerating printers, give up when
        the backend status is 'unavailable'.

        * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
        when it is the default and nothing else has been selected yet.


svn path=/trunk/; revision=21417
2008-09-17 22:07:10 +00:00
Christian Persch
df619a1370 Bug 552668 – format not a string literal and no format arguments in
gtkimmodule

svn path=/trunk/; revision=21416
2008-09-17 19:56:19 +00:00
Christian Persch
7b533d0492 Bug 552667 – gtkimage containing gicon leaks memory
* gtk/gtkimage.c: (ensure_pixbuf_for_gicon): Fix critical warnings
	when looking up the icon fails. Plug a mem leak.

svn path=/trunk/; revision=21415
2008-09-17 18:09:13 +00:00
Matthias Clasen
1df29bcae8 Bug 329593 – Entering characters on a line very cpu intensive and
slow

        * gtk/gtknotebook.c (gtk_notebook_page_allocate): Return a boolean
        that indicates whether the tab allocation has changed.
        (gtk_notebook_pages_allocate): Only redraw the tabs if their
        allocation has changed.
        (gtk_notebook_calculate_tabs_allocations): Remove unused return value.
        Patch by Owen Taylor


svn path=/trunk/; revision=21414
2008-09-17 16:02:26 +00:00
Matthias Clasen
0f397dcccc Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
        property

        * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
        Take actions into account when finding the available space for
        matches. Patch by Ross Burton


svn path=/trunk/; revision=21413
2008-09-17 15:22:52 +00:00
Matthias Clasen
5f9c268e56 Doc improvements
svn path=/trunk/; revision=21412
2008-09-17 15:13:15 +00:00
Matthias Clasen
c35ea43d67 Bug 552107 – Small libtool fixes
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 552107 – Small libtool fixes

        * configure.in: Regenerate libtool early, quote $deplibs_check_method.
        Patch by Patryk Zawadzki


svn path=/trunk/; revision=21411
2008-09-17 15:10:30 +00:00
Matthias Clasen
ed877089bd Bug 551722 – gtk_widget_set_scroll_adjustments() should check the signal
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 551722 – gtk_widget_set_scroll_adjustments() should check the
        signal signature

        * gtk/gtkwidget.c (gtk_widget_set_scroll_adjustments): Check the
        signature of the signal. Patch by Christian Persch


svn path=/trunk/; revision=21410
2008-09-17 15:07:32 +00:00
Michael Natterer
eca33d60be don't access widget->window if the widget is not realized.
2008-09-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.c (_gtk_widget_set,get_pointer_window): don't
	access widget->window if the widget is not realized.


svn path=/trunk/; revision=21403
2008-09-16 17:47:30 +00:00
Matthias Clasen
a6674b9ea8 Bug 551987 – GtkPaned redrawing problem
2008-09-16  Matthias Clasen  <mclasen@redhat.com>

        Bug 551987 – GtkPaned redrawing problem

        * gtk/gtkpaned.c: Remove excess invalidations. Patch by Owen Taylor



svn path=/trunk/; revision=21400
2008-09-16 04:54:13 +00:00
Matthias Clasen
da8dac8320 Bug 551987 – GtkPaned redrawing problem
2008-09-16  Matthias Clasen  <mclasen@redhat.com>

        Bug 551987 – GtkPaned redrawing problem

        * gtk/gtkhpaned.c:
        * gtk/gtkvpaned.c: Queue invalidations when the handle is moved
        due to child changes. Patch by Owen Taylor


svn path=/trunk/; revision=21399
2008-09-16 04:51:56 +00:00
Matthias Clasen
a05204154c Fix a C99ism
svn path=/trunk/; revision=21398
2008-09-16 04:44:12 +00:00
Tor Lillqvist
4125df1d8e gdk-pixbuf/gdk-pixbuf-io.c Don't use the deprectated
2008-09-13  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/gdk-pixbuf-io.c
	* gtk/gtkmain.c: Don't use the deprectated
	g_win32_get_package_installation_directory() and
	g_win32_get_package_installation_subdirectory() functions. Use
	g_win32_get_package_installation_directory_of_module()
	instead. Also, don't use the deprecated silly
	G_WIN32_DLLMAIN_FOR_DLL_NAME macro, but an explicit minimal
	DllMain() that just saves the DLL handle.


svn path=/trunk/; revision=21381
2008-09-13 19:31:29 +00:00
Cosimo Cecchi
42ec45e3c2 Bug 552153 – GtkModules loading with XSettings doesn't work if the
2008-09-13  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 552153 – GtkModules loading with XSettings doesn't work if the
	GTK_MODULES env var isn't set.

	* gtk/gtkmain.c: (do_post_parse_initialization):
	* gtk/gtkmodules.c: (_gtk_modules_init):
	Call _gtk_modules_init () even if gtk_modules_string is NULL, so
	that GtkModules specified with XSettings could be loaded.

svn path=/trunk/; revision=21380
2008-09-13 19:01:13 +00:00
Tor Lillqvist
b2dff511d3 gdk-pixbuf/gdk-pixbuf-io.c Do as the docs for
2008-09-13  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/gdk-pixbuf-io.c
	* gtk/gtkmain.c: Do as the docs for
	g_win32_get_package_installation_directory() say and pass NULL as
	the first parameter.


svn path=/trunk/; revision=21379
2008-09-13 09:19:03 +00:00
Cosimo Cecchi
e3924911b5 Bug 536542 – gtk_list_store_set() documentation doesn't say whether
2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 536542 – gtk_list_store_set() documentation doesn't say whether
	values are copied.

	* gtk/gtkliststore.c:
	* gtk/gtktreestore.c:
	Explicitly mention in the docs that gtk_[list,tree]_store_set copies
	or keep	a reference of the values.

svn path=/trunk/; revision=21349
2008-09-11 19:31:04 +00:00
Marek Kasik
7c56db21d8 Bug 551378 - Print dialog: should try UDS when fetching PPD for localhost
2008-09-11  Marek Kasik  <mkasik@redhat.com>

	Bug 551378 - Print dialog: should try UDS when fetching PPD for
	localhost

	* modules/printbackends/cups/gtkprintbackendcups.c: Add ability
	to get PPD file from CUPS through Unix domain socket

svn path=/trunk/; revision=21345
2008-09-11 08:47:56 +00:00
Christian Dywan
4ea49b1705 Bug 551567 – DND mark broken
* gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly
  Patch by Yevgen Muntyan.

svn path=/trunk/; revision=21342
2008-09-11 00:44:51 +00:00
Björn Lindqvist
7b7f8fc310 Bug 551699 – gtk_scrolled_window_destroy() is broken
2008-09-10  Björn Lindqvist  <bjourne@gmail.com>

	Bug 551699 – gtk_scrolled_window_destroy() is broken

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_destroy,
	gtk_scrolled_window_finalize): Check that the [hv]scrollbar
	attributes are not-NULL before destroying and unparenting them.

svn path=/trunk/; revision=21341
2008-09-10 20:21:59 +00:00
Simos Xenitellis
8c71a0d4c5 Closed Bug 550676 – Memory leak, update keyboard layout data table
svn path=/trunk/; revision=21339
2008-09-10 18:03:53 +00:00
Søren Sandmann
90759964ee Don't use XRRGetScreenResources() as there are performance issues with it.
Wed Sep 10 06:18:25 2008  Søren Sandmann  <sandmann@redhat.com>

	* gdk/x11/gdkscreen-x11.c (init_multihead): Don't use
	XRRGetScreenResources() as there are performance issues with
	it. Instead rely on the fact that the RandR information is
	propagated through Xinerama as well.


svn path=/trunk/; revision=21334
2008-09-10 10:22:25 +00:00
Marek Kasik
5ac8cb4576 Bug 551386 – gtk_printer_set_is_default() always sets TRUE
2008-09-09  Marek Kasik  <mkasik@redhat.com>
	Bug 551386 – gtk_printer_set_is_default() always sets TRUE

	* gtk/gtkprinter.c: sets the is_default parameter to the value
	given by caller

svn path=/trunk/; revision=21325
2008-09-09 07:58:37 +00:00
Cosimo Cecchi
bf5f9f7dec Bug 551325 - Reference to wrong parameter in gtk_editable_insert_text
2008-09-08  Cosimo Cecchi  <cosimoc@gnome.org>

	Bug 551325 - Reference to wrong parameter in gtk_editable_insert_text

	* gtk/gtkeditable.c: Fix a reference to an invalid parameter in the
	docs.

svn path=/trunk/; revision=21324
2008-09-08 18:56:52 +00:00
Paolo Borelli
5e667ea561 use gdk_threads_add_idle so that the handler acquires the lock since it
2008-09-08  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtkfilechooserentry.c (install_start_autocompletion_idle):
	use gdk_threads_add_idle so that the handler acquires the lock
	since it calls gtk functions.


svn path=/trunk/; revision=21321
2008-09-08 14:29:26 +00:00
Tor Lillqvist
6291644754 Correct help string for --disable-gdiplus.
2008-09-08  Tor Lillqvist  <tml@novell.com>

	* configure.in (debug_default): Correct help string for
	--disable-gdiplus.


svn path=/trunk/; revision=21319
2008-09-08 08:06:06 +00:00
Matthias Clasen
8ee6ecbeed Fix content type handling
svn path=/trunk/; revision=21318
2008-09-08 03:07:40 +00:00
Matthias Clasen
d69788f070 Don't leak all search results
svn path=/trunk/; revision=21317
2008-09-08 02:49:20 +00:00
Matthias Clasen
f2c0fa2ce9 Don't unref the GFile we just put into the search_model. This adds a new
2008-09-07  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkfilechooserdefault.c (search_add_hit): Don't unref the
        GFile we just put into the search_model. This adds a new memory
        leak...



svn path=/trunk/; revision=21315
2008-09-08 01:05:50 +00:00
Matthias Clasen
4b97ecb8f9 plug a memory leak
svn path=/trunk/; revision=21314
2008-09-07 22:18:37 +00:00
Matthias Clasen
6d64db6695 Bug 550062 – Small update in gdk/gdkkeysyms.h
2008-09-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 550062 – Small update in gdk/gdkkeysyms.h

        * gdk/gdkkeysyms.h: Add dead_perspomeni and fix dead_dasia.
        Patch by Simos Xenitellis


svn path=/trunk/; revision=21308
2008-09-07 00:54:41 +00:00
Matthias Clasen
957ffc307f Bug 550989 – gdk_display_put_event() should call g_main_context_wakeup()
2008-09-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 550989 – gdk_display_put_event() should call
        g_main_context_wakeup()

        * gdk/gdkdisplay.c (gdk_display_put_event): Wake up the main loop
        after queueing the event. Patch by Owen Taylor


svn path=/trunk/; revision=21307
2008-09-07 00:43:19 +00:00
Yair Hershkovitz
0816ffe742 Bug 319849 - gtkcalendar look in RTL locales
2008-09-07  Yair Hershkovitz  <yairhr@gmail.com>

	Bug 319849 - gtkcalendar look in RTL locales

	* gtk/gtkcalendar.c (calendar_realize_week_numbers),
	(gtk_calendar_realize): added missing RTL code to handle week numbers
	from gtk_calendar_size_alloc.

svn path=/trunk/; revision=21306
2008-09-06 21:31:30 +00:00
Sven Herzberg
ad7880a590 Bug 551063 – deprecated marking without a link to what new code should
2008-09-06  Sven Herzberg  <sven@imendio.com>

        Bug 551063 – deprecated marking without a link to what new code should
        use

        * gdk/tmpl/input.sgml: dropped tmpl documentation for gdk_input_add()
        and gdk_input_add_full()
        * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
        gdk_input_add_full(); added replacement hints into the deprecation
        message

svn path=/trunk/; revision=21305
2008-09-06 17:26:33 +00:00
Michael Natterer
e936ba0f5a stop the emission of the signal also when we bail out early because we
2008-09-05  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb):
	stop the emission of the signal also when we bail out early
	because we don't accept drops from ourselves. Keeps the code from
	running into a warning in gtktreeview.c.


svn path=/trunk/; revision=21302
2008-09-05 19:53:30 +00:00
Tor Lillqvist
c98eed38dc Add etc/gtk-2.0/im-multipress.conf.
2008-09-05  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Add etc/gtk-2.0/im-multipress.conf.


svn path=/trunk/; revision=21300
2008-09-05 09:56:02 +00:00
Tor Lillqvist
245835738f Fetch manpages from share/man where they get installed. Don't include
2008-09-05  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Fetch manpages from share/man where they get
	installed. Don't include pointless entries for directories in the
	zip files.


svn path=/trunk/; revision=21299
2008-09-05 08:49:49 +00:00
Matthias Clasen
486255099a Bump version
svn path=/trunk/; revision=21298
2008-09-05 02:35:29 +00:00
Matthias Clasen
21a153f172 2.14.1
svn path=/trunk/; revision=21296
2008-09-05 02:33:53 +00:00
Matthias Clasen
ba56da87ec Bump version
svn path=/trunk/; revision=21292
2008-09-04 17:00:08 +00:00
Matthias Clasen
10b98d572c 2.14.0
svn path=/trunk/; revision=21290
2008-09-04 16:56:51 +00:00
Matthias Clasen
861ac4ad76 Add nicks for the GtkNumberUpLayout values.
2008-09-04  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkenums.h: Add nicks for the GtkNumberUpLayout values.

        * gtk/gtkprintunixdialog.c:
        * gtk/gtkprintsettings.c: Simplify the handling of GtkNumberUpLayout
        values. Followup on #535158, proposed by Christian Persch.

2008-09-04  Matthias Clasen  <mclasen@redhat.com>

        * INSTALL.in: Update required versions


svn path=/trunk/; revision=21289
2008-09-04 14:14:11 +00:00
Michael Natterer
eb81ee53a7 events return gboolean not gint. Change misnamed
2008-09-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkhandlebox.c: events return gboolean not gint.
	Change misnamed gtk_handle_box_button_changed() to
	gtk_handle_box_button_press(). Reindent static prototypes.


svn path=/trunk/; revision=21286
2008-09-04 11:16:53 +00:00
Michael Natterer
5e25a5c7ca when extending the draw rectangle by the "draw-border" style property,
2008-09-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending
	the draw rectangle by the "draw-border" style property, subtract
	"left" from "x" and "top" from "y", not the other way around.


svn path=/trunk/; revision=21285
2008-09-04 11:10:29 +00:00
Matthias Clasen
07b6161995 More doc fixes
svn path=/trunk/; revision=21282
2008-09-04 04:32:30 +00:00
Matthias Clasen
54806ebe41 More doc fixes
svn path=/trunk/; revision=21279
2008-09-04 04:27:14 +00:00
Matthias Clasen
8d8acd2fc3 More doc fixes
svn path=/trunk/; revision=21278
2008-09-04 04:26:02 +00:00
Matthias Clasen
7e0216bfb3 Fix a typo in the docs
svn path=/trunk/; revision=21276
2008-09-04 04:20:54 +00:00
Matthias Clasen
380365ef63 Updates
svn path=/trunk/; revision=21275
2008-09-04 04:11:03 +00:00
Matthias Clasen
e716096b48 Bump version to 2.14.0
svn path=/trunk/; revision=21274
2008-09-04 03:48:14 +00:00
Matthias Clasen
4ca181dc87 Fix the spinbuttons in the color selector
svn path=/trunk/; revision=21272
2008-09-04 00:49:16 +00:00
Matthias Clasen
4866c5501e Add a note about GtkAdjustment behaviour change
svn path=/trunk/; revision=21271
2008-09-04 00:48:21 +00:00
Matthias Clasen
26521c87e5 Bug 550528 - IconView DND interface does not work if only used as source
2008-09-03  Matthias Clasen  <mclasen@redhat.com>

        Bug 550528 - IconView DND interface does not work if only used as
        source

        * gtk/gtkiconview.c: Make source-only DND work.
        Found by Alex Simon


svn path=/trunk/; revision=21270
2008-09-04 00:12:06 +00:00
Matthias Clasen
e46f32e774 Add some missing symbols
svn path=/trunk/; revision=21269
2008-09-04 00:10:00 +00:00
Matthias Clasen
0138a28915 Fix ordering of includes
svn path=/trunk/; revision=21267
2008-09-03 22:56:09 +00:00
Michael Natterer
e4f4f03fcf gtk/gtkmenu.c remove unused macro cruft. Also remove some unneeded
2008-09-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c
	* gtk/gtkmenuitem.c: remove unused macro cruft. Also remove some
	unneeded includes.


svn path=/trunk/; revision=21266
2008-09-03 15:23:17 +00:00
Michael Natterer
32b4a4658b expose-event returns gboolean not gint, reindented static prototypes and
2008-09-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkarrow.c: expose-event returns gboolean not gint,
	reindented static prototypes and did some minor cleanups.


svn path=/trunk/; revision=21265
2008-09-03 15:09:17 +00:00
Michael Natterer
d516973764 some more trivial cosmetic fixes.
2008-09-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c: some more trivial cosmetic fixes.


svn path=/trunk/; revision=21264
2008-09-03 13:18:34 +00:00
Christian Dywan
446fd7d72a Bug 547449 – Entry/ Combo popup misplaced after resize
svn path=/trunk/; revision=21263
2008-09-03 12:38:32 +00:00
Michael Natterer
ebbe9743db proper function header formatting.
2008-09-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (get_arrows_visible_area): proper function header
	formatting.


svn path=/trunk/; revision=21262
2008-09-03 11:02:33 +00:00
Michael Natterer
06d7547ff8 return gboolean instead of gint. Reindent static prototypes.
2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return
	gboolean instead of gint. Reindent static prototypes.


svn path=/trunk/; revision=21260
2008-09-02 16:37:37 +00:00
Michael Natterer
839aeeafa8 removed this function because there is massive disagreement about how to
2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
	function because there is massive disagreement about how to
	implement it. Needs some general discussion in the next
	development cycle about how our C api should evolve.

	* gtk/gtk.symbols: changed accordingly.


svn path=/trunk/; revision=21259
2008-09-02 16:06:02 +00:00
Wouter Bolsterlee
f88dcb6b89 Update documentation for gtk_selection_data_get_data to match the changes
2008-09-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gtk/gtkselection.c:
	Update documentation for gtk_selection_data_get_data to
	match the changes introduced in -r21232 (the length
	parameter was removed).


svn path=/trunk/; revision=21256
2008-09-01 20:27:18 +00:00
Matthew Barnes
0b3c056cb7 Bug 549943 – gtk_tool_shell_get_relief_style() always returns
2008-08-30  Matthew Barnes  <mbarnes@redhat.com>

	Bug 549943 – gtk_tool_shell_get_relief_style() always returns
	GTK_RELIEF_NONE

	* gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return
	the correct relief style.


svn path=/trunk/; revision=21252
2008-08-30 21:49:58 +00:00
Björn Lindqvist
0ba6028da4 Bug 437791 – Animation is played at the wrong speed
2008-08-29  Björn Lindqvist  <bjourne@gmail.com>

	Bug 437791 – Animation is played at the wrong speed

	* gdk-pixbuf/io-gif.c (gif_get_lzw): Better 100 ms timeout for
	broken GIFs with 0 frame timeout.

svn path=/trunk/; revision=21242
2008-08-29 22:21:32 +00:00
Christian Dywan
516ce851fb Bug 549810 – Memory leaks in printing code
svn path=/trunk/; revision=21241
2008-08-29 18:14:32 +00:00
Michael Natterer
2faae9fd1d move the gtk_widget_get_parent() and gtk_widget_get_parent_window()
2008-08-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.h: move the gtk_widget_get_parent() and
	gtk_widget_get_parent_window() prototypes together with their
	respective setters.

	* gtk/gtkwidget.c: move gtk_widget_get_parent_window() together
	with its setter.


svn path=/trunk/; revision=21240
2008-08-29 16:21:09 +00:00
Michael Natterer
105f259eb1 events return gboolean not gint, reindent prototypes.
2008-08-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscrolledwindow.c: events return gboolean not gint,
	reindent prototypes.


svn path=/trunk/; revision=21239
2008-08-29 12:25:42 +00:00
Michael Natterer
251bf08755 remove -DPANGO_DISABLE_SINGLE_INCLUDES from CPPFLAGS, I committed that
2008-08-29  Michael Natterer  <mitch@imendio.com>

	* configure.in: remove -DPANGO_DISABLE_SINGLE_INCLUDES from
	CPPFLAGS, I committed that accidentially.


svn path=/trunk/; revision=21237
2008-08-29 12:05:29 +00:00
Michael Natterer
79035c9d48 minor indentation / coding style fixes.
2008-08-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkpaned.c: minor indentation / coding style fixes.


svn path=/trunk/; revision=21236
2008-08-29 11:41:09 +00:00
Matthias Clasen
f646e475e7 Bug 549262 – GtkScrolledWindow should not accept focus unless
2008-08-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 549262 – GtkScrolledWindow should not accept focus unless
        GTK_CAN_FOCUS is set

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the
        focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven
        Herzberg


svn path=/trunk/; revision=21233
2008-08-29 04:26:19 +00:00
Matthias Clasen
9eae7a1d2e Split gtk_selection_data_get_data into gtk_selection_data_get_data and
2008-08-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtk.symbols:
        * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
        gtk_selection_data_get_data and gtk_selection_data_get_length.
        Proposed by Owen Taylor.


svn path=/trunk/; revision=21232
2008-08-29 04:16:56 +00:00
Christian Dywan
41cef8545b Bug 549734 – gtk_selection_data_get_data prototype is wrong
2008-08-28  Christian Dywan  <christian@imendio.com>

	Bug 549734 – gtk_selection_data_get_data prototype is wrong

	* gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
	'length' argument of gtk_selection_data_get_data a 'gint', that's
	what it should be.


svn path=/trunk/; revision=21229
2008-08-28 17:50:52 +00:00
Cody Russell
1c146ec11f Check if the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
2008-08-27  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c:
        * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if
        the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
        calling ShowWindow (), and show using SW_SHOWMAXIMIZED or     
        SW_RESTORE accordingly.  This fixes an issue where maximized 
        windows that are iconified do not restore back to maximized 
        when you click the taskbar. (#528975)


svn path=/trunk/; revision=21218
2008-08-28 02:42:23 +00:00
Matthias Clasen
3f53433008 Documentation fixes
svn path=/trunk/; revision=21217
2008-08-28 02:27:14 +00:00
Matthias Clasen
8f59f3adbb Return FALSE from reparent implementations to avoid #548993. Patch by Ed
2008-08-27  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkwindow-x11.c:
        * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent
        implementations to avoid #548993. Patch by Ed Catmur.


svn path=/trunk/; revision=21215
2008-08-28 00:32:17 +00:00
Matthias Clasen
c7e455c9b9 Fix log
svn path=/trunk/; revision=21213
2008-08-27 19:23:26 +00:00
Matthias Clasen
bcfd615759 Improve one string
svn path=/trunk/; revision=21212
2008-08-27 19:22:26 +00:00
Matthias Clasen
4c6577fb8b Bug 549354 – Crash trying to open a file on a remote folder
2008-08-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 549354 – Crash trying to open a file on a remote folder

        * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
        the fact that parent may be NULL without crashing.


svn path=/trunk/; revision=21206
2008-08-27 04:01:53 +00:00
Matthias Clasen
9278d262ac Use gdk_threads_add_timeout_seconds where appropriate
svn path=/trunk/; revision=21202
2008-08-26 02:39:12 +00:00
Matthias Clasen
6e5de0a796 Add translator hints here too
svn path=/trunk/; revision=21201
2008-08-25 22:02:25 +00:00
Matthias Clasen
7b84657f42 Add translator hints to many strings
svn path=/trunk/; revision=21200
2008-08-25 21:46:58 +00:00
Gian Mario Tagliaretti
106cbcf1c1 missing Since 2.14, fixes #549236
svn path=/trunk/; revision=21195
2008-08-25 06:08:18 +00:00
Matthias Clasen
9a8c209a80 When reconstructing the color hash, try harder to avoid unnecessary
* gtk/gtksettings.c: When reconstructing the color hash, try
        harder to avoid unnecessary notification, since this can lead
        to infinite reloading of rc files in some situations.


svn path=/trunk/; revision=21182
2008-08-22 03:51:56 +00:00
Cody Russell
96aa256594 Remove the checks to see if the window is modally blocked. This doesn't
2008-08-21  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
        to see if the window is modally blocked.  This doesn't get us anything,
        and it confuses the search window in GtkTreeView (and potentially other
        utility windows in other apps).  (#520165)


svn path=/trunk/; revision=21180
2008-08-22 00:30:06 +00:00
Michael Natterer
2fc992e0f5 small formatting fix.
2008-08-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.


svn path=/trunk/; revision=21178
2008-08-21 11:42:32 +00:00
Marek Kasik
547694ef0e Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
2008-08-21  Marek Kasik  <mkasik@redhat.com>

	Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
	email

	* gtk/gtkprintoperation.c: Clamp page ranges to correct ranges


svn path=/trunk/; revision=21177
2008-08-21 11:30:46 +00:00
Marek Kasik
91ae7fac64 changelog update for previous commit
2008-08-21  Marek Kasik  <mkasik@redhat.com>

	* ChangeLog: changelog update for previous commit

svn path=/trunk/; revision=21176
2008-08-21 10:32:33 +00:00
Søren Sandmann Pedersen
779bd67a29 +Wed Aug 20 18:16:29 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
+	monitors changed signal when the screen size changes.
+


svn path=/trunk/; revision=21172
2008-08-20 22:18:38 +00:00
Torsten Schönfeld
670d5ad341 (gtk_color_selection_dialog_get_color_selection): Use the correct macro to test
the validity of the passed-in dialog.

svn path=/trunk/; revision=21171
2008-08-20 20:17:20 +00:00
Milan Crha
1e1fc9ff9e Allow changing page with arrows even on non-focusable notebook. (#528091)
2008-08-05  Milan Crha  <mcrha@redhat.com> 

        * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
        arrows even on non-focusable notebook. (#528091)


svn path=/trunk/; revision=21170
2008-08-20 08:17:35 +00:00
Federico Mena Quintero
0b1525a231 [PATCH 0/7] bgo543308 - File chooser uses incorrect default size
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=21161
2008-08-20 01:10:42 +00:00
Björn Lindqvist
c40b78ae58 Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
2008-08-19  Björn Lindqvist  <bjourne@gmail.com>

	Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate

	* gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
	code duplication, no need for separate loops for GTK_PACK_START
	and GTK_PACK_END.

svn path=/trunk/; revision=21158
2008-08-19 19:16:38 +00:00
Johan Dahlin
aad8c0f16e Remove the requres-version tag as well
2008-08-19  Johan Dahlin  <johan@gnome.org>

    * gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
    Remove the requres-version tag as well


svn path=/trunk/; revision=21157
2008-08-19 10:02:12 +00:00
Matthias Clasen
3068d7d6c1 Bump version
svn path=/trunk/; revision=21153
2008-08-19 01:19:54 +00:00
Matthias Clasen
783a4d99ed 2.13.7
svn path=/trunk/; revision=21151
2008-08-19 01:17:29 +00:00
Mathias Hasselmann
61d32f70fc Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
* gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
  property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
  multiplies the year property with 365 and returns the result as
  glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
  not just 8 bits.

svn path=/trunk/; revision=21150
2008-08-18 22:20:19 +00:00
Björn Lindqvist
7df6b76a1a Bug 541315 – Segfault when selecting a GtkMenuItem with submenu and no
2008-08-18  Björn Lindqvist  <bjourne@gmail.com>

	Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
	and no parent

	* gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
	that the menu item has a parent before popping it up.

svn path=/trunk/; revision=21149
2008-08-18 17:48:13 +00:00
Johan Dahlin
a5bc18ab7a Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
2008-08-18  Johan Dahlin  <johan@gnome.org>

    Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView

    * gtk/gtk-builder-convert: Rename the text property to buffer.


svn path=/trunk/; revision=21147
2008-08-18 06:51:40 +00:00
Matthias Clasen
50e94e86a0 Use g_quark_from_static_string where possible
svn path=/trunk/; revision=21146
2008-08-18 00:14:17 +00:00
Torsten Schönfeld
016290b4e2 Fix small issues in the documentation of gdk_window_remove_redirection and
gdk_window_redirect_to_drawable.

svn path=/trunk/; revision=21137
2008-08-16 19:56:23 +00:00