- 26 Sep, 2003 2 commits
-
-
Matthias Clasen authored
2003-09-27 Matthias Clasen <maclas@gmx.de> * tests/testmerge.c: Demonstrate the use of the connect-proxy signal. * gtk/gtkaction.c (connect_proxy): Add connect-proxy and disconnect-proxy signals to do small customizations like displaying tooltips in the statusbar without custom actions. (#122894, Philip Langdale) * gtk/gtkuimanager.c (update_node): Don't leak tooltip.
-
Kristian Rietveld authored
Fri Sep 26 23:49:44 2003 Kristian Rietveld <kris@gtk.org> Landing the new ComboBox. Note that only gtkcombobox.h and gtkcomboboxentry.h are public. * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files. * gtk/Makefile.am, gtk/gtk.h: adding the new files. * tests/testcombo.c: and a new test. * tests/Makefile.am: adding the new test.
-
- 25 Sep, 2003 3 commits
-
-
Tor Lillqvist authored
2003-09-25 Tor Lillqvist <tml@iki.fi> * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows. 2003-09-21 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (handle_wm_paint): New function. Code split out from gdk_event_translate(). Needed because gdk_event_get_graphics_expose() couldn't do anything sensible otherwise. (Not that I think graphics exposes work anyway in gdk/win32, but at least now the code could work.) (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of gdk_event_translate(), which couldn't have worked as it doesn't take any pre-allocated GdkEvent parameter any longer. (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
-
cinamod authored
-
cinamod authored
-
- 24 Sep, 2003 1 commit
-
-
KAMAGASAKO Masatoshi authored
2003-09-25 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp> * ja.po: Updated Japanese translation.
-
- 23 Sep, 2003 2 commits
-
-
Matthias Clasen authored
2003-09-24 Matthias Clasen <maclas@gmx.de> * demos/gtk-demo/appwindow.c (do_appwindow): Demonstrate tooltips on toolitems.
-
Matthias Clasen authored
2003-09-24 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.c (connect_proxy): Sync tooltips on toolitems. * gtk/gtkuimanager.c (update_node): Don't complain about missing actions on popups. Re-set "tooltip" property on toolitems after adding them to parent to trigger proxy update.
-
- 22 Sep, 2003 3 commits
-
-
cinamod authored
-
Matthias Clasen authored
2003-09-22 Matthias Clasen <maclas@gmx.de> * tests/testmerge.c (main): Initially activate the JUSTIFY_RIGHT group member to test the fix for #122904. * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): Add the action to the group before activating it, otherwise we may end up with multiple active group members. (#122904, Marco Pesenti Gritti)
-
Matthias Clasen authored
2003-09-22 Matthias Clasen <maclas@gmx.de> * gtk/tmpl/gtktable.sgml: Fix a copy-and-paste error. (#122800)
-
- 21 Sep, 2003 2 commits
-
-
Matthias Clasen authored
2003-09-21 Matthias Clasen <maclas@gmx.de> Changes to make cross-process merging feasible: * gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the merged UI definition. Remove the "changed" signal, since its role is now filled by "notify::ui". Instead add a "actions-changed" signal which gets emitted when the set of actions changes. * gtk/gtktoggleactionprivate.h: * gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio): Add a "draw_as_radio" property to toggle actions so that they can be used as proxies for radio actions much like the "draw_as_radio" property on check menu items enables them to operate as proxies for radio actions. Prevent the "show_all" trap for action-based menus (see http://mail.gnome.org/archives/gtk-devel-list/2003-September/ msg00260.html): * gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail() calls from static functions. * gtk/gtkuimanager.c (update_node): * gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed widgets whose visibility is externally controlled. * gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean "no_show_all" property with setter and getter. When TRUE, it keeps gtk_widget_{hide,show}_all() from modifying the visibility of the widget and its children.
-
Soeren Sandmann authored
Sun Sep 21 23:13:37 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktextview.[ch]: Add new "tab moves focus" property (#122709)
-
- 20 Sep, 2003 2 commits
-
-
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().
-
Raymond Penners authored
-
- 19 Sep, 2003 5 commits
-
-
Matthias Clasen authored
2003-09-19 Matthias Clasen <maclas@gmx.de> * io-tga.c (try_preload): Remove a pointless check. (#122710, Kjartan Maraas)
-
Soeren Sandmann authored
Fri Sep 19 18:15:31 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkpaned.c, gtk/gtkhpaned.c: implement RTL flipping (#96632)
-
Soeren Sandmann authored
Fri Sep 19 13:24:54 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktreeview.c (gtk_tree_view_get_cursor): Improve documentation. (#117306, Steve Chaplin)
-
Christophe Merlet authored
-
Tor Lillqvist authored
2003-09-19 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms present on the US-International keyboard. For clarity, order keysyms in case statement according to numeric value. (gdk_keymap_translate_keyboard_state): Handle Caps Lock correctly. (#120176, Ken Rastatter and Owen Taylor)
-
- 18 Sep, 2003 3 commits
-
-
Danilo Šegan authored
2003-09-18 Danilo Šegan <dsegan@gmx.net> * sr.po, sr@Latn.po: Updated Serbian translation.
-
Raymond Penners authored
-
Matthias Clasen authored
2003-09-18 Matthias Clasen <maclas@gmx.de> * gtk/gtkaction.c (gtk_action_finalize): Call g_closure_unref() to unref a closure, not g_object_unref(). (#122637, Marco Pesenti Gritti)
-
- 17 Sep, 2003 4 commits
-
-
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.
-
Matthias Clasen authored
* gtk/gtkuimanager.c (update_node): Robustness improvements.
-
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.
-
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.
-
- 16 Sep, 2003 2 commits
-
-
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).
-
cinamod authored
-
- 15 Sep, 2003 9 commits
-
-
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.
-
Raymond Penners authored
-
Raymond Penners authored
-
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.
-
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].
-
Raymond Penners authored
-
cinamod authored
-
KAMAGASAKO Masatoshi authored
2003-09-15 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp> * ja.po: Updated Japanese translation.
-
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
-
- 14 Sep, 2003 2 commits
-
-
Raymond Penners authored
-
Soeren Sandmann authored
Sun Sep 14 16:59:52 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (gtk_toolbar_init): Name the arrow "gtk-toolbar-arrow" so themes can special-case it.
-