1. 20 Sep, 2003 2 commits
    • Tor Lillqvist's avatar
      Don't use zip -r on the etc directory, to avoid including editor backup · 71e847d1
      Tor Lillqvist authored
      2003-09-20  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
      	including editor backup files. List files we want explicitly.
      
      	* gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
      	calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
      	LC_ALL, LC_CTYPE and LANG environment variables, than calls
      	g_win32_getlocale().
      
      	(gtk_get_default_language): Code snippet moved to above function,
      	call it.
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
      	* gtk/gtkrc.c (gtk_rc_context_parse_file): Call
      	_gtk_get_lc_ctype() instead of setlocale().
      71e847d1
    • Raymond Penners's avatar
      0.4.3 · e95ad99a
      Raymond Penners authored
      e95ad99a
  2. 19 Sep, 2003 5 commits
  3. 18 Sep, 2003 3 commits
  4. 17 Sep, 2003 4 commits
    • Matthias Clasen's avatar
      Install accelerators on actions, not on proxies, support accelerator-only · 0ceb0db0
      Matthias Clasen authored
      2003-09-18  Matthias Clasen  <maclas@gmx.de>
      
      	Install accelerators on actions, not on proxies, support
      	accelerator-only actions:
      
      	* gtk/gtkmenu.c (get_accel_path): New function to get the accel path
      	and its lock status either via _gtk_widget_get_accel_path() or by
      	looking at the accel_path stored in the menu item itself and determining
      	its lock status by peeking into the contained accel label. This was
      	already (accidentally) committed a week ago.
      
      	* gtk/gtkaction.h (gtk_action_set_accel_group):
      	(gtk_action_[dis]connect_accelerator): New functions.
      
      	* gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
      	accel_closure and accel_count. We must have a reference to the accel_group,
      	since we need it in connect_proxy. The count is necessary to ensure
      	that the accelerator isn't removed before the last proxy requesting
      	it has been unmerged.
      	(connect_proxy): Connect the accelerator to the
      	action now, only set the accel_path on the menuitem.
      	(remove_proxy): Disconnect the accelerator from the action, not from
      	the menuitem.
      	(gtk_action_set_accel_group): Set the accel group.
      	(gtk_action_[dis]connect_accelerator): Count the number of times
      	this functions have been called and install/remove the accelerator if
      	the count leaves/reaches zero.
      
      	* gtk/gtkuimanager.h (GtkUIManagerItemType): Add
      	GTK_UI_MANAGER_ACCELERATOR.
      
      	* gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
      	(start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
      	<accelerator> elements.
      	(gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
      	type is GTK_UI_MANAGER_ACCELERATOR.
      	(update_node): Set the accel group on actions before creating their
      	proxies. Don't set the accel group on created menus. For
      	NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
      	(print_node): Also emit <accelerator> elements.
      
      	* tests/testmerge.c (dump_accels): Add a "Dump Accels" button.
      0ceb0db0
    • Matthias Clasen's avatar
      Robustness improvements. · a7ad2a46
      Matthias Clasen authored
      	* gtk/gtkuimanager.c (update_node): Robustness improvements.
      a7ad2a46
    • Matthias Clasen's avatar
      Report unexpected character data as error from the GMarkup parser, · 3044d0f5
      Matthias Clasen authored
      2003-09-17  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkuimanager.c (text_handler): Report unexpected character
      	data as error from the GMarkup parser, otherwise things like
      	gtk_ui_manager_add_ui_from_string (ui, "Hi there!", -1, &error)
      	pass unexpectedly.
      3044d0f5
    • Soeren Sandmann's avatar
      revert accidentally committed !redraw_on_allocate change. · 77d23072
      Soeren Sandmann authored
      Wed Sep 17 02:38:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c (gtk_toolbar_class_init): revert accidentally
      	committed !redraw_on_allocate change.
      77d23072
  5. 16 Sep, 2003 2 commits
    • Eric Warmenhoven's avatar
      Add gdk_window_set_keep_{above,below} stubs to fix compilation · 79439c9c
      Eric Warmenhoven authored
      Tue Sep 16 10:42:00 2003  Eric Warmenhoven  <eric@warmenhoven.org>
      
              * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below}
              stubs to fix compilation
      
              * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for
              when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847).
      
              * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment
              variable. Patch from Marc Welz (#121347).
      79439c9c
    • cinamod's avatar
      ignore clip rect for now · db2ba3d0
      cinamod authored
      db2ba3d0
  6. 15 Sep, 2003 9 commits
    • Matthias Clasen's avatar
      Apply egtk-format-protos. Doc tweaks. · 543b020f
      Matthias Clasen authored
      	* gtk/gtkaction.h: Apply egtk-format-protos.
      	* gtk/gtkuimanager.c: Doc tweaks.
      
      	* gtk/tmpl/gtkaction.sgml:
      	* gtk/tmpl/gtkradioaction.sgml:
      	* gtk/tmpl/gtkactiongroup.sgml:
      	* gtk/tmpl/gtkuimanager.sgml: Updates.
      543b020f
    • Raymond Penners's avatar
      0.4.1 · 405f24c9
      Raymond Penners authored
      405f24c9
    • Raymond Penners's avatar
      Tree expanders fixed · 0815d43b
      Raymond Penners authored
      0815d43b
    • Matthias Clasen's avatar
      New function which implements "smart" separators by iterating once over · c77b0caa
      Matthias Clasen authored
      	* gtk/gtkuimanager.c (update_smart_separators): New function which
      	implements "smart" separators by iterating once over the entries of a
      	menu, hiding and showing separators as necessary.
      	(update_node): Mark separators used as fences of placeholders as
      	hidden. Explicitly added separators are marked as smart. Call
      	update_smart_separators after updating a menu or toolbar node.
      	Connect update_smart_separators to "notify::visible" signal on menu
      	and tool items.
      
      	* tests/merge-[12].ui: Test smart separators.
      
      	* gtk/tmpl/gtkuimanager.sgml: Add a paragraph about smart separators.
      c77b0caa
    • Matthias Clasen's avatar
      Add value parameter to allow setting the currently selected group member · caf380c7
      Matthias Clasen authored
      2003-09-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
      	(gtk_action_group_add_radio_actions_full): Add value parameter to allow
      	setting the currently selected group member before connecting signals.
      	(GtkToggleActionEntry): Separate struct for constructing toggle actions,
      	including a boolean to initialize the action state before connecting
      	signals.
      	(gtk_action_group_add_toggle_actions):
      	(gtk_action_group_add_toggle_actions_full): New functions to construct
      	toggle actions from an array of GtkToggleActionEntries.
      
      	* demos/gtk-demo/appwindow.c:
      	* tests/testactions.c:
      	* tests/testmerge.c: Adjust to new action group API.
      
      	* gtk/gtk-sections.txt: Add gtk_action_group_add_toggle_actions[_full].
      caf380c7
    • Raymond Penners's avatar
      Several last-minute fixes · b14b12f9
      Raymond Penners authored
      b14b12f9
    • cinamod's avatar
      implement caret blink · 2344c84e
      cinamod authored
      2344c84e
    • KAMAGASAKO Masatoshi's avatar
      Updated Japanese translation. · 9ee82364
      KAMAGASAKO Masatoshi authored
      2003-09-15  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>
      
      	* ja.po: Updated Japanese translation.
      9ee82364
    • Bastien Nocera's avatar
      avoid crash when selecting a new filter and clicking a different directory · 52617a69
      Bastien Nocera authored
      2003-09-15  Bastien Nocera  <hadess@hadess.net>
      
      	* gtkfilefilter.c: (gtk_file_filter_filter): avoid crash when
      	selecting a new filter and clicking a different directory
      52617a69
  7. 14 Sep, 2003 6 commits
  8. 12 Sep, 2003 1 commit
    • Jonathan Blandford's avatar
      Merge from stable. · 9ded36af
      Jonathan Blandford authored
      Fri Sep 12 16:32:53 2003  Jonathan Blandford  <jrb@redhat.com>
      
      	Merge from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
      	pressed button (used to determine if we want to initiate a drag later
      	on) if the current grab widget is either NULL or tree_view (Reported
      	by Jeroen Zwartepoorte).
      9ded36af
  9. 11 Sep, 2003 7 commits
    • Matthias Clasen's avatar
      Add deprecation notes. (#121955) · df145210
      Matthias Clasen authored
      2003-09-12  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
      	(gdk_draw_text_wc): Add deprecation notes.  (#121955)
      df145210
    • Matthias Clasen's avatar
      Add table menu tests. · 6f81c10a
      Matthias Clasen authored
      2003-09-11  Matthias Clasen  <maclas@gmx.de>
      
      	* tests/testgtk.c: Add table menu tests.
      
      	* gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the
      	GtkMenuPrivate struct itself. Pointed out by valgrind.
      
      	* gtk/gtkuimanager.c (gtk_ui_manager_finalize): Clean up
      	properly.  (#121998)
      6f81c10a
    • cinamod's avatar
      fix gtkrc · fdb56051
      cinamod authored
      fdb56051
    • Raymond Penners's avatar
      0.4.0 · b427fbd8
      Raymond Penners authored
      b427fbd8
    • Raymond Penners's avatar
      Notebook regression fixed · 33500b56
      Raymond Penners authored
      33500b56
    • Federico Mena Quintero's avatar
      Added an API point about needing a way to fetch the hpaned position so we · 9044d774
      Federico Mena Quintero authored
      2003-09-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* TODO: Added an API point about needing a way to fetch the hpaned
      	position so we can save it.
      
      	* gtkfilechooser.c (_gtk_file_chooser_get_paths): Fixed API docs.
      	(gtk_file_chooser_get_uris): Likewise.
      	(gtk_file_chooser_get_filenames): Likewise.
      
      	* gtkfilechooserdialog.c (file_chooser_widget_file_activated): New
      	callback, calls gtk_window_activate_default().
      
      	* testfilechooser.c (response_cb): Print the selected files if the
      	user clicks OK.
      9044d774
    • Federico Mena Quintero's avatar
      Connect to "row_activated" on the file list. (list_row_activated): New · aa22566e
      Federico Mena Quintero authored
      2003-09-10  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtkfilechooserimpldefault.c (create_file_list): Connect to
      	"row_activated" on the file list.
      	(list_row_activated): New function.  Changes to folders or emits
      	the "file-activated" signal depending on what type of row was
      	activated.
      	(create_folder_tree): Renamed from create_directory_tree(), since
      	"folder" is the new politically-correct name.
      
      	* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added a
      	file-activated signal.
      
      	* gtkfilechooser.c (gtk_file_chooser_class_init): Register the
      	signal.
      
      	* gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Connect
      	to "file-activated" on the delegate.
      	(delegate_file_activated): New function.
      
      	* TODO: Added an API item about Clipart-like folders provided by
      	applications.
      aa22566e
  10. 10 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      The table menu patch! Turns GtkMenu into a table, so you can attach menu · e23ed607
      Kristian Rietveld authored
      Wed Sep 10 22:25:04 2003  Kristian Rietveld  <kris@gtk.org>
      
      	The table menu patch! Turns GtkMenu into a table, so you can attach
      	menu items in numerous new ways! Be creative!
      
      	Contains some bug fixes and RTL adaptions from Matthias Clasen.
      
      	* gtk/gtkmenu.c [toplevel]: introduce ATTACH_INFO_KEY, extend
      	GtkMenuPrivate, introduce AttachInfo, add child properties enum,
      	(gtk_menu_free_private), (gtk_menu_get_private): we have to free
      	the heights array in the private struct,
      	(gtk_menu_class_init): reorder code a bit, install child properties,
      	(get_attach_info), (get_child_attach): new utility functions,
      	(gtk_menu_set_child_property), (gtk_menu_get_child_property): introduce
      	child properties, for the attach info,
      	(gtk_menu_remove): remove AttachInfo from menu item,
      	(gtk_menu_real_insert): implemented algorithm to automagically place
      	inserted menu items at the correct place in the table,
      	(gtk_menu_size_request), (gtk_menu_size_allocate),
      	(compute_child_offset): reworked/rewritten to support table menus,
      	(gtk_menu_attach): new function,
      	(find_child_containing), (gtk_menu_move_current): new functions to
      	get table menu keynav right.
      
      	* gtk/gtkmenu.h: add gtk_menu_attach() prototype.
      e23ed607