Commit Graph

9166 Commits

Author SHA1 Message Date
Funda Wang
d33afa53b0 Updated Simplified Chinese translation 2004-11-22 00:44:04 +00:00
Jordi Mallach
8f9cfa5412 Updated Catalan translation. 2004-11-22 00:31:59 +00:00
Federico Mena Quintero
a8883174a7 Set an empty icon if we are on the editable row: if we don't set the cell
2004-11-20  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (list_icon_data_func): Set an empty
	icon if we are on the editable row:  if we don't set the cell
	renderer at all, it will reuse the last thing it painted.
2004-11-20 06:14:26 +00:00
Federico Mena Quintero
107ff616dd Fix #158475:
2004-11-19  Federico Mena Quintero  <federico@ximian.com>

	Fix #158475:

	* gtk/gtkpathbar.c (make_directory_button): Make the button a drag
	source.
	(button_drag_data_get_cb): New callback to let us drag the
	button's path as a text/uri-list.
2004-11-20 04:48:30 +00:00
Federico Mena Quintero
47957c506c Fix #141077. Based on a patch by Christian Neumair <chris@gnome-de.org>:
2004-11-19  Federico Mena Quintero  <federico@ximian.com>

	Fix #141077.  Based on a patch by Christian Neumair <chris@gnome-de.org>:

	* gtk/gtkfilechooserdefault.c (new_folder_button_clicked):
	Desensitize the "new folder" button.
	(edited_idle_cb): Sensitize the button back.
2004-11-20 01:58:13 +00:00
Federico Mena Quintero
ebb3e404c2 Fix #158477:
2004-11-19  Federico Mena Quintero  <federico@ximian.com>

	Fix #158477:

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
	Remove the "save_extra_align" and "browse_extra_align" fields; use
	a single "extra_align" field.
	(save_widgets_create): Don't create the save_extra_align.
	(browse_widgets_create): Don't create the browse_extra_align.
	(gtk_file_chooser_default_constructor): Create the extra_align
	here.
	(set_extra_widget): Add the extra widget to the alignment here,
	and remove the old one if necessary.
	(update_appearance): No need to frob the extra widget's alignments
	anymore.
	(gtk_file_chooser_default_set_property): No need to call
	update_appearance() anymore when we set the extra widget.

2004-11-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_initial_focus): Don't set the cursor if
	we are still loading.
2004-11-20 01:30:02 +00:00
Federico Mena Quintero
b15a60430c Fixes #155744:
2004-11-18  Federico Mena Quintero  <federico@ximian.com>

	Fixes #155744:

	Try to load the whole file system model within a specified time.

	* gtk/gtkfilechooserdefault.c (set_list_model): Don't create and
	set the sort model here.  Instead, set up a timer in which we'll
	try to load the file system model.
	(load_set_model): Create and set the sort model here.
	(load_setup_timer): New function to set up a timer and switch to
	the LOAD_LOADING state.
	(load_remove_timer): New function to unset the timer and switch to
	the LOAD_FINISHED state.
	(browse_files_model_finished_loading_cb): Remove the timer if
	needed and set the file system and sort model; switch to the
	LOAD_FINISHED state.
	(gtk_file_chooser_default_finalize): Remove the load timer.
	(gtk_file_chooser_default_init): Start in the LOAD_FINISHED state.
2004-11-20 00:12:34 +00:00
Sven Neumann
b6b069ded6 include <string.h> for memset().
2004-11-17  Sven Neumann  <sven@gimp.org>

	* gtk/gtktreeselection.c: include <string.h> for memset().

	* gtk/gtkmenu.c (menu_change_screen): added missing casts.

	Merged from HEAD branch:

	* gtk/gtkcellrenderertext.c (get_layout): Don't use the foreground
	color for selected cells, Don't use the background color
	in unfocused selected cells. Also avoid creating two PangoLayouts
	per render call.  (#154615, #154611, Billy Biggs)
2004-11-17 20:53:02 +00:00
Matthias Clasen
25fa4a2929 Don't use one signal handler per instance to track changes to the
* gtk/gtkbutton.c:
	* gtk/gtkimagemenuitem.c: Don't use one signal handler per
	instance to track changes to the gtk-menu-images and
	gtk-button-images settings. Instead use a single handler which
	iterates over the widget hierarchy. (#143668)
2004-11-16 05:30:37 +00:00
Jonathan Blandford
f2d34da673 Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the
Mon Nov 15 14:25:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_set_dirty):
        Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset
        the resized_width when marking a column dirty.
2004-11-15 19:36:13 +00:00
Kjartan Maraas
e5984372f7 Fix conflicting mnemonics. Update.
2004-11-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Fix conflicting mnemonics.
	* no.po: Update.
2004-11-15 16:23:25 +00:00
Matthias Clasen
b97d614a8f *** empty log message *** 2004-11-15 16:16:46 +00:00
Manish Singh
e1a5b83bf7 gtkalias.h doesn't exist on this branch. Remove reference.
Thu Nov 11 17:22:45 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkuimanager.c: gtkalias.h doesn't exist on this branch. Remove
        reference.
2004-11-12 01:23:27 +00:00
Tor Lillqvist
e954b6bff7 Fix for #137551, by Robert Ögren:
2004-11-11  Tor Lillqvist  <tml@iki.fi>

	Fix for #137551, by Robert Ögren:

	* gdk/win32/gdkevents-win32.c (generate_focus_event): New function.

	(gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change
	events.

	(gdk_event_translate): Check for keyboard grabs and not pointer
	grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event().
2004-11-11 21:53:11 +00:00
Matthias Clasen
6c3b94d150 Fix some C99isms 2004-11-11 21:19:12 +00:00
Matthias Clasen
8e61946d8c Remove two more places where we were unconditionally setting "visible",
2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Remove two more places
	where we were unconditionally setting "visible", causing
	unnecessary notifications.
2004-11-11 19:58:50 +00:00
Matthias Clasen
6832e19ee8 Considerably speed up GtkUIManager, by changing the semantics of the dirty
2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	Considerably speed up GtkUIManager, by changing the semantics
	of the dirty flag. It is now propagated up the tree, and
	update_node() doesn't descend into clean subtrees.  (#143668,
	Dave Neary, Michael Natterer, Sven Neumann, fix proposed
	by Soeren Sandmann)

	* gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend
	a new node reference if the merge_id is different. Take a GNode,
	so we can walk up the tree, adjust all callers.
	(node_remove_ui_reference): Only mark a node dirty if the first
	ui reference is removed. Take a GNode here as well for
	consistency.
	(update_node): Don't descend into clean subtrees.
	(mark_node_dirty): New function to mark a node and its
	predecessors dirty.
2004-11-11 18:38:02 +00:00
Tor Lillqvist
1a7ead495f Event timestamps don't have to be unique. As long as they are
2004-11-10  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick):
	Event timestamps don't have to be unique. As long as they are
	nondecreasing we should be fine. Solves problems with for instance
	long menus not staying up on first click. (#152035, Robert Ögren)
2004-11-10 22:01:03 +00:00
Matthias Clasen
1b20880913 Use gtk_widget_{hide,show} instead of g_object_set (..."visible"...).
2004-11-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (_gtk_action_sync_menu_visible): Use
	gtk_widget_{hide,show} instead of g_object_set (..."visible"...).
2004-11-08 20:48:42 +00:00
Matthias Clasen
79d310eec2 Add the ComboCellInfo to the list. (#157528, Carlos Garnacho Parro)
2004-11-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end):
	Add the ComboCellInfo to the list.  (#157528, Carlos Garnacho
	Parro)
2004-11-06 20:18:02 +00:00
Matthias Clasen
ab3fb67021 Don't unnecessarily call gtk_menu_position(), since that function has
2004-11-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (menu_change_screen): Don't unnecessarily
	call gtk_menu_position(), since that function has issues
	when called on a menu whose parent is unrealized.  (#157354,
	Adam Hooper)
2004-11-05 20:13:54 +00:00
Matthias Clasen
03d1832a0f Don't leak the path. (#157301, Carlos Garnacho Parro)
2004-11-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (new_folder_button_clicked):
	Don't leak the path.  (#157301, Carlos Garnacho Parro)
2004-11-04 03:29:47 +00:00
Matthias Clasen
65952109a8 Take into account that a can be NULL even if position is not. This fixes
2004-11-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_move): Take into account
	that a can be NULL even if position is not. This fixes the
	inability of gtk_list_store_move() to move rows to the very
	beginning.  (#155545, John Finlay)
2004-11-03 05:54:14 +00:00
Matthias Clasen
55310be446 Don't crash on broken ClientMessage events. (#157056, Owen Taylor)
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
	broken ClientMessage events.  (#157056, Owen Taylor)
2004-11-01 18:39:35 +00:00
Matthias Clasen
8238ec0e30 Don't force the height of the action area, we don't scroll it anyway, and
2004-10-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
	Don't force the height of the action area, we don't scroll
	it anyway, and the current way of calculating the height can lead
	to broken display.  (#156573, Christian Persch)
2004-10-31 19:12:45 +00:00
Robert Ögren
eb0bce386d Implement these on win32, currently only for button 1. Fixes the resize
2004-10-29  Robert Ögren  <gtk@roboros.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_begin_resize_drag),
	(gdk_window_begin_move_drag): Implement these on win32, currently
	only for button 1. Fixes the resize grip of GtkStatusbar on
	win32. (#143285)
2004-10-31 19:01:47 +00:00
Matthias Clasen
660d582303 Drop the reference to the pixbuf, regardless whether it is a stock pixbuf.
2004-10-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
	Drop the reference to the pixbuf, regardless whether it is
	a stock pixbuf.  (#156863, Philip Langdale)
2004-10-30 02:59:59 +00:00
Ankitkumar Rameshchandra Patel
31afa7cb21 ankit@redhat.com * Changed some wrong rendered characters 2004-10-26 14:39:31 +00:00
Mohammad DAMT
aec747b934 Updated Indonesian translation
2004-10-25  Mohammad DAMT  <mdamt@bisnisweb.com>

	* id.po: Updated Indonesian translation
2004-10-25 05:37:05 +00:00
Matthias Clasen
97ff1cad6c Invalidate the window if the tree is empty, to avoid resizing artifacts
2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Invalidate
	the window if the tree is empty, to avoid resizing artifacts
	from the focus rectangle.  (#155881, Vincent Noel, patch by
	Billy Biggs)
2004-10-24 00:51:57 +00:00
Anders Carlsson
c8ca3843e3 GdkBitmap is a GObject, not a boxed type.
2004-10-22  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtktexttag.c: (gtk_text_tag_get_property):
	GdkBitmap is a GObject, not a boxed type.
2004-10-22 08:02:50 +00:00
Amanpreet Singh Alam
d369dac004 update default:LTR 2004-10-21 11:50:35 +00:00
Matthias Clasen
227a426150 Fix the translation of default:LTR 2004-10-20 13:52:02 +00:00
Sebastien Bacher
c6e4f1f11b fixed a typo in my name 2004-10-18 22:51:00 +00:00
Matthias Clasen
f900bc16de Fix #155658, Sebastian Bacher:
2004-10-18  Matthias Clasen  <mclasen@redhat.com>

	Fix #155658, Sebastian Bacher:

	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a new
	is_leader flag.

	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set wm hints on
	leader windows even if they are withdrawn.
	(gdk_window_set_group): Mark the new leader window as such. We
	never remove the flag again, but that should a) be vanishingly
	rare and b) not a problem, since the flag just turns off an
	optimization.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Mark the default
	leader window as such.
2004-10-18 20:55:17 +00:00
Matthias Clasen
acff5f14f5 Restore the size info for the current row after measuring another row.
2004-10-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
	the size info for the current row after measuring another
	row.  (#154945, William Jon McCann)
2004-10-15 04:57:50 +00:00
Matthias Clasen
c55b24017e Don't leak volume. (#155400, Morten Welinder)
2004-10-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
	Don't leak volume. (#155400, Morten Welinder)
2004-10-15 02:47:53 +00:00
Crispin Flowerday
7d1dfbbada Fix a typo in my name (it's Crispin, not Chrispin)
2004-10-13  Crispin Flowerday  <gnome@flowerday.cx>

	* NEWS: Fix a typo in my name (it's Crispin, not Chrispin)
2004-10-13 09:46:18 +00:00
Matthias Clasen
b075272224 Bump version 2004-10-12 21:39:52 +00:00
Matthias Clasen
7f442307ff 2.4.13 GTK_2_4_13 2004-10-12 21:22:10 +00:00
Matthias Clasen
683cf2a4ae 2.4.12 GTK_2_4_12 2004-10-12 17:50:50 +00:00
4
8d2faa0925 don't queue the widget for resize or emit change notification if the usize
Tue Oct 12 17:11:02 2004    <timj@birnet.org>

        * gtk/gtkwidget.c (gtk_widget_set_usize_internal): don't queue the
        widget for resize or emit change notification if the usize didn't
        change. this works around a buggy signal connection in #155139.
2004-10-12 15:16:01 +00:00
Nguyen Thai Ngoc Duy
e26438dd48 Updated vi.po 2004-10-11 15:54:10 +00:00
Christophe Merlet
f48968233b Updated French translation. 2004-10-10 14:41:18 +00:00
N Jayaradha
6aa575925f revreq 2004-10-09 05:47:21 +00:00
Matthias Clasen
460fa5b79a Bump version. 2004-10-08 23:32:29 +00:00
Matthias Clasen
0b10588fe3 2.4.11 GTK_2_4_11 2004-10-08 22:56:12 +00:00
Matthias Clasen
6ca81efdcc Don't start a drag if we loose the grab.
2004-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_grab_notify): Don't start a
	drag if we loose the grab.
2004-10-08 18:59:00 +00:00
Matthias Clasen
325a04fbcd Set the cell renderer to inert mode to avoid bug #154921. This fixes a
2004-10-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (renderer_edited_cb): Set the cell
	renderer to inert mode to avoid bug #154921.  This fixes a crash
	which would otherwise occur if the editing is stopped for the second
	time.  (#154767, Manuel Baena García)
2004-10-08 17:08:14 +00:00
Matthias Clasen
52a6a1b0f8 More news 2004-10-08 15:40:39 +00:00