aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-popup-menu.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagGNOME_UTILS_2_0_2nobody2002-05-161-248/+0
| | | | | | 'GNOME_UTILS_2_0_2'. svn path=/tags/GNOME_UTILS_2_0_2/; revision=16870
* Added this function that lets you specify the translation domain.Christopher James Lahey2002-05-031-26/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_create_with_domain): Added this function that lets you specify the translation domain. From gal/e-table/ChangeLog: 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (finish_editing): Add horizontal dividers here too. * e-table-config.c (create_global_store): Translate column headers here. * e-table-header-item.c (ethi_header_context_menu): Use e_popup_menu_create_with_domain here. * e-table-header-utils.c (e_table_header_draw_button): Translate from utf8 here before drawing. * e-table-memory-store.c, e-table-memory-store.h (e_table_memory_store_insert_adopt_array): Changed the name of this function from e_table_memory_store_insert_adopt. (e_table_memory_store_insert_adopt): Added this function which takes a ... list. * e-table-utils.c (et_col_spec_to_col): Translate column titles to utf8 here. svn path=/trunk/; revision=16668
* Bumped version number to 0.19.99.14.Christopher James Lahey2002-04-231-14/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.14. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy, e_popup_menu_free): Added these functions From gal/e-table/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Renamed the insert functions in this class to make a bit more sense. From gal/menus/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gal-view-instance.c, gal-view-instance.h (gal_view_instance_get_popup_menu, gal_view_instance_free_popup_menu): Added these functions. Used to add a current view menu to your popup menus. From gal/shortcut-bar/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused variable. svn path=/trunk/; revision=16559
* handle toggle and radio items (make_item): the item is now passed in fromJP Rosevear2002-04-181-17/+26
| | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): handle toggle and radio items (make_item): the item is now passed in from above and not returned svn path=/trunk/; revision=16508
* Bumped version number to 0.19.99.11.Christopher James Lahey2002-04-181-2/+2
| | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.11. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed this to be API compatible with gal 0.19. Added a bunch of pound defines and added API for toggle and radio menu items. * gal/widgets/e-categories.c: Updated this to match the new EPopupMenu. From gal/e-table/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16496
* Allow for per-item closures and also instead of taking a const charJeffrey Stedfast2002-03-161-32/+34
| | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gal/gal/widgets/e-popup-menu.c: Allow for per-item closures and also instead of taking a const char *pixname, take a GtkWidget *pixmap instead. * gal/widgets/e-categories.c: Update to sync up with changes made to the EPopupMenu Api. svn path=/trunk/; revision=16182
* Changed the license announcement at the top of these files.Christopher James Lahey2001-10-271-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-hpaned.c, gal/e-paned/e-hpaned.h, gal/e-paned/e-paned.c, gal/e-paned/e-paned.h, gal/e-paned/e-vpaned.c, gal/e-paned/e-vpaned.h, gal/e-text/e-completion-match.c, gal/e-text/e-completion-match.h, gal/e-text/e-completion-test.c, gal/e-text/e-completion-view.c, gal/e-text/e-completion-view.h, gal/e-text/e-completion.c, gal/e-text/e-completion.h, gal/e-text/e-entry-test.c, gal/e-text/e-entry.c, gal/e-text/e-entry.h, gal/e-text/e-table-text-model.c, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-repos.c, gal/e-text/e-text-model-repos.h, gal/e-text/e-text-model-test.c, gal/e-text/e-text-model-uri.c, gal/e-text/e-text-model-uri.h, gal/e-text/e-text-model.c, gal/e-text/e-text-model.h, gal/e-text/e-text.c, gal/e-text/e-text.h, gal/util/e-bit-array.c, gal/util/e-bit-array.h, gal/util/e-cache.c, gal/util/e-cache.h, gal/util/e-iconv.c, gal/util/e-iconv.h, gal/util/e-sorter-array.c, gal/util/e-sorter-array.h, gal/util/e-sorter.c, gal/util/e-sorter.h, gal/util/e-text-event-processor-emacs-like.c, gal/util/e-text-event-processor-emacs-like.h, gal/util/e-text-event-processor-types.h, gal/util/e-text-event-processor.c, gal/util/e-text-event-processor.h, gal/util/e-util.c, gal/util/e-util.h, gal/util/e-xml-utils.c, gal/util/e-xml-utils.h, gal/widgets/color-group.c, gal/widgets/color-group.h, gal/widgets/color-palette.c, gal/widgets/color-palette.h, gal/widgets/e-canvas-utils.c, gal/widgets/e-canvas-utils.h, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas-vbox.h, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-combo.h, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog-model.h, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories-master-list-dialog.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h, gal/widgets/e-categories.c, gal/widgets/e-categories.h, gal/widgets/e-colors.c, gal/widgets/e-colors.h, gal/widgets/e-cursors.c, gal/widgets/e-cursors.h, gal/widgets/e-font.c, gal/widgets/e-font.h, gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h, gal/widgets/e-hscrollbar.c, gal/widgets/e-hscrollbar.h, gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h, gal/widgets/e-printable.c, gal/widgets/e-printable.h, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow-model.h, gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h, gal/widgets/e-reflow.c, gal/widgets/e-reflow.h, gal/widgets/e-scroll-frame.c, gal/widgets/e-scroll-frame.h, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-array.h, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model-simple.h, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/e-unicode.c, gal/widgets/e-unicode.h, gal/widgets/e-vscrollbar.c, gal/widgets/e-vscrollbar.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-box.h, gal/widgets/gtk-combo-stack.c, gal/widgets/gtk-combo-stack.h, gal/widgets/gtk-combo-text.c, gal/widgets/gtk-combo-text.h, gal/widgets/test-color.c, gal/widgets/test-e-font.c, gal/widgets/test-e-font.h, gal/widgets/test-font-loading.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-color-combo.h, gal/widgets/widget-pixmap-combo.c, gal/widgets/widget-pixmap-combo.h, src/e-table/e-table-sorted-variable.c, tests/test-define-views.c, tests/test-shortcut-bar.c, tests/test-table-1.c, tests/test-tree-1.c, tests/test-tree-2.c, tests/test-tree-3.c, tests/test-unicode.c: Changed the license announcement at the top of these files. svn path=/trunk/; revision=14158
* last_item_separator shouldn't get reset if the item is hidden.Christopher James Lahey2001-08-111-8/+8
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): last_item_separator shouldn't get reset if the item is hidden. svn path=/trunk/; revision=11898
* #include <stdlib.h> #include <string.h>. Kill warnings.Kjartan Maraas2001-05-251-0/+1
| | | | | | | | | 2001-05-25 Kjartan Maraas <kmaraas@gnome.org> * gal/widgets/e-font.c: #include <stdlib.h> * gal/widgets/e-popup-menu.c: #include <string.h>. Kill warnings. svn path=/trunk/; revision=9971
* Some small header cleanups & fixes, and fix to translate all popup menusGediminas Paulauskas2001-04-051-2/+28
| | | | | | | | | | | | (woohoo!): 2001-04-05 Gediminas Paulauskas <menesis@delfi.lt> * gal/widgets/e-popup-menu.c: Copied gnome_app_helper_gettext function here, and use it for translating menu names (they are passed from app as well as from gal in arrays with N_(), and domains differ). svn path=/trunk/; revision=9190
* Fix headers. Ditto. Ditto. Ditto. Ditto. Ditto. Ditto. Same. Ditto. SameKjartan Maraas2001-04-041-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * gal/e-text/e-entry.c: Fix headers. * gal/e-text/e-table-text-model.[ch]: Ditto. * gal/e-text/e-table-text-model-uri.c: Ditto. * gal/e-text/e-text-model-uri.[ch]: Ditto. * gal/e-text/e-text-model.[ch]: Ditto. * gal/e-text/e-text.[ch]: Ditto. * gal/util/e-text-event-processor-emacs-like.[ch]: Ditto. * gal/util/e-text-event-processor.[ch]: Same. * gal/util/e-util.h: Ditto. * gal/util/e-xml-utils.[ch]: Same here. * gal/widgets/color-group.[ch]: Ditto. * gal/widgets/color-palette.[ch]: Ditto. * gal/widgets/e-canvas-utils.h: Ditto. * gal/widgets/e-canvas-vbox.[ch]: Ditto. * gal/widgets/e-canvas.[ch]: Ditto. * gal/widgets/e-categories.h: Ditto. * gal/widgets/e-colors.[ch]: Ditto. * gal/widgets/e-cursors.c: Ditto. * gal/widgets/e-gui-utils.c: Ditto * gal/widgets/e-popup-menu.[ch]: Same. * gal/widgets/e-reflow-sorted.c: Same. * gal/widgets/e-reflow.[ch]: Same. * gal/widgets/e-selection-model.c: Same * gal/widgets/e-unicode.[ch]: Same. * gal/widgets/gtk-combo-stack.[ch]: Same. * gal/widgets/widget-color-combo.[ch]: Same. * gal/widgets/widget-pixmap-combo.[ch]: Same. svn path=/trunk/; revision=9168
* My previous commit was incomplete.Gediminas Paulauskas2001-04-021-1/+2
| | | | | | | called e_utf8_from_gtk_string on category names, so they no are translated and show up correctly. svn path=/trunk/; revision=9093
* s/GdkEventButton/GdkEvent/Dan Winship2001-01-201-1/+1
| | | | | | | | | | * gal/widgets/e-popup-menu.c (e_popup_menu_run): s/GdkEventButton/GdkEvent/ * gal/widgets/e-gui-utils.c (e_popup_menu): ditto, and deal with key events as well svn path=/trunk/; revision=7660
* Add a submenu field to struct EPopupMenu.Jeffrey Stedfast2000-11-071-27/+36
| | | | | | | | | | | | | | | 2000-11-06 Jeffrey Stedfast <fejj@helixcode.com> * gal/widgets/e-popup-menu.h: Add a submenu field to struct EPopupMenu. * gal/widgets/e-popup-menu.c (e_popup_menu_create): If the menu item has a submenu field, create the submenu and attach it. * configure.in: Bumped the micro-version because of some changes to e-popup-menu's structure. svn path=/trunk/; revision=6461
* make e-util depend on libunicodeDan Winship2000-08-301-1/+1
| | | | | | | | | | | * Makefile.am (libeutil_la_LIBADD): make e-util depend on libunicode * e-popup-menu.c (make_item): Use GtkMenuItem rather than GtkPixmapMenuItem for items with no pixmaps, so that if the whole menu is pixmapless, you don't get a column of blank pixmaps. svn path=/trunk/; revision=5114
* Fix the bug where it truncates the last itemChristopher James Lahey2000-08-091-1/+1
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Fix the bug where it truncates the last item svn path=/trunk/; revision=4648
* Ooops.Christopher James Lahey2000-08-091-6/+7
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c: Ooops. svn path=/trunk/; revision=4630
* Added a hide_mask argument to the two popup menu functions.Christopher James Lahey2000-08-091-23/+37
| | | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to the two popup menu functions. svn path=/trunk/; revision=4625
* add e-popup-menu.[ch]Miguel de Icaza2000-04-261-0/+99
svn path=/trunk/; revision=2635