aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-menus.c
Commit message (Collapse)AuthorAgeFilesLines
* Use G_GNUC_FUNCTION instead of __FUNCTION__.Ettore Perazzoli2003-03-071-2/+2
| | | | | | | | | | * menus/gal-view-menus.c (gal_view_menus_unmerge): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-dropdown-button.c (menu_deactivate_cb): Removed debugging spew. svn path=/trunk/; revision=20200
* Remove unneeded MAP_DIR define. (gladedir): Remove. Defined inDan Winship2003-02-061-0/+1
| | | | | | | | | | * e-timezone-dialog/Makefile.am (INCLUDES): Remove unneeded MAP_DIR define. (gladedir): Remove. Defined in configure.in now. * menus/gal-view-menus.c: #include <string.h> svn path=/trunk/; revision=19773
* use GtkDialog's ::response instead of GnomeDialog's ::clicked.Chris Toshok2002-11-151-5/+5
| | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * menus/gal-view-menus.c (define_views): use GtkDialog's ::response instead of GnomeDialog's ::clicked. (dialog_response): use response id's. (gvm_finalize): fix warning. svn path=/trunk/; revision=18768
* menus/gal-view-menus.h GObjectified.Ettore Perazzoli2002-11-141-37/+29
| | | | | | | | | | * menus/gal-view-menus.h * menus/gal-view-menus.c: GObjectified. * e-timezone-dialog/e-timezone-dialog.h * e-timezone-dialog/e-timezone-dialog.c: GObjectified. svn path=/trunk/; revision=18747
* gnome-xml->libxmlNot Zed2002-11-131-2/+2
| | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c: gnome-xml->libxml * menus/gal-view-menus.h: gnome-xml->libxml svn path=/trunk/; revision=18734
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-2/+2
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* ref/unref the gvmMike Kestner2002-08-151-0/+4
| | | | | | | | 2002-08-15 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780
* Added this function to let you disable the define views dialog.Christopher James Lahey2002-06-051-29/+52
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_set_show_define_views): Added this function to let you disable the define views dialog. svn path=/trunk/; revision=17111
* Don't show this dialog more than once per collection.Christopher James Lahey2002-06-051-9/+32
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (define_views): Don't show this dialog more than once per collection. svn path=/trunk/; revision=17106
* Made it so that if the current_id doesn't match any of the given ids, itChristopher James Lahey2002-05-141-4/+10
| | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Made it so that if the current_id doesn't match any of the given ids, it treats it the same as a NULL id. (gal_view_menus_apply): Added a check for gvm->priv == NULL here. (gal_view_menus_apply, collection_changed, instance_changed): Removed calls to set_radio after build_stuff, since the last thing build_stuff does is calls set_radio. svn path=/trunk/; revision=16781
* New function to handle unmerging menus at control deactivation time. (d):Christopher James Lahey2002-02-081-14/+23
| | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_unmerge): New function to handle unmerging menus at control deactivation time. (d): Turned off debugging output here. (build_menus): Gave the separators names and marked them with f="" to make them work better with bonobo 1. svn path=/trunk/; revision=15599
* Bumped the required version of gal.Christopher James Lahey2002-02-071-109/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. From addressbook/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Changed this function to use the new GalViewMenus which takes a GalViewInstance, instead of a GalViewCollection. From calendar/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Made these use the new GalViewMenus stuff. From mail/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c, folder-browser-ui.h (folder_browser_ui_setup_view_menus, folder_browser_ui_discard_view_menus): Changed this to use the new GalViewMenus stuff. Made these exported functions. * mail-callbacks.c, message-browser.c: Changed these to not pass the now removed row parameter to message_list_select. * mail-config.c, mail-config.h (mail_config_folder_to_safe_url): Refactored this out of mail_config_folder_to_cachename. * message-list.c, message-list.h (message_list_select): Removed the row argument. Changed this to use the new function in ETree for finding the next cursor row that matches a test. (message_list_construct): Handle a failed construction of the ETree here. (message_list_setup_etree, save_tree_state): Don't load or save the header state. folder-browser-ui.c deals with this now. From views/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * addressbook/galview.xml, calendar/galview.xml, mail/galview.xml, tasks/galview.xml: Added default-view parameters. * mail/As_Sent_Folder.galview: New galview. * mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder galview. From widgets/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_new): Made this take a GalViewInstance instead of a GalViewCollection. Reworked most of this to utilize the interfaces provided by GalViewInstance. svn path=/trunk/; revision=15592
* Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref ourJon Trowbridge2001-10-251-0/+12
| | | | | | | | | | 2001-10-24 Jon Trowbridge <trow@ximian.com> * menus/gal-view-menus.c (gal_view_menus_apply): Ref the BonoboUIComponent that we are holding. (gvm_destroy): Unref our BonoboUIComponent. svn path=/trunk/; revision=13994
* Make this not be a radio button, but instead just a normal menu.Christopher James Lahey2001-10-211-70/+53
| | | | | | | | | 2001-10-21 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c: Make this not be a radio button, but instead just a normal menu. svn path=/trunk/; revision=13844
* #include bonobo-ui-util.hJeffrey Stedfast2001-10-191-0/+1
| | | | | | | | 2001-10-18 Jeffrey Stedfast <fejj@ximian.com> * menus/gal-view-menus.c: #include bonobo-ui-util.h svn path=/trunk/; revision=13752
* Fixes #2465Chyla Zbigniew2001-09-051-4/+4
| | | | | | | | | | * menus/gal-view-menus.c (build_menus): Encode the label using bonobo_ui_util_encode_str and set "label" attribute, not "_label". I have no idea what the previous code was trying to do but it was definitely wrong. svn path=/trunk/; revision=12601
* Don't display the Define Views dialog.Christopher James Lahey2001-08-111-0/+2
| | | | | | | | | 2001-08-10 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't display the Define Views dialog. svn path=/trunk/; revision=11899
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Store the connection ID of the "changed" signal in the collection.Federico Mena Quintero2001-06-011-8/+20
| | | | | | | | | | | 2001-05-31 Federico Mena Quintero <federico@ximian.com> * menus/gal-view-menus.c (gal_view_menus_construct): Store the connection ID of the "changed" signal in the collection. (gal_view_menus_new): Added preconditions. (gal_view_menus_construct): Added preconditions. svn path=/trunk/; revision=10075
* make the view menuitems radio items of the same group, and allocate theChris Toshok2001-05-221-52/+70
| | | | | | | | | | | | | | | | | | | 2001-05-21 Chris Toshok <toshok@ximian.com> * menus/gal-view-menus.c (build_menus): make the view menuitems radio items of the same group, and allocate the closure here. (free_verbs): only need to free the one DefineViews verb here. (closure_free): new function - EListFreeFunc for our listenerClosure list. (remove_listeners): new function, free our listener list. (gvm_destroy): call remove_listeners. (gvm_init): init listenerClosures list. (toggled_cb): callback for radio items. (build_verbs): strip out almost all the code since there's only 1 verb now. (build_stuff): call remove_listeners. svn path=/trunk/; revision=9916
* Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. SoGediminas Paulauskas2001-05-081-2/+8
| | | | | | | | you must include <config.h>, heh. and a stil-not-working "fix" for galview menus. svn path=/trunk/; revision=9707
* Found out that I forgot to commit this.Gediminas Paulauskas2001-05-031-4/+2
| | | | | | | | | 2001-04-21 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: bonobo_ui_node_set_attr expects unstranslated strings, so change _() to N_(). svn path=/trunk/; revision=9650
* Fix a memory leak.Dan Winship2001-04-131-4/+4
| | | | | | * menus/gal-view-menus.c (build_menus): Fix a memory leak. svn path=/trunk/; revision=9275
* i18n fixes, added missing includes.Gediminas Paulauskas2001-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * AUTHORS: /me is a translator. * configure.in (EVO_CHECK_LIB): fail with AC_MSG_ERROR, not echo && exit 1. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * backend/ebook/evolution-gnomecard-importer.c: added missing #include. * contact-editor/e-contact-editor.c (_arrow_pressed): popup menu items were not translated after selecting one of them. * gui/widgets/e-addressbook-view.c: mark popup menu items with N_(). Updated list[] for translators. * gui/widgets/e-minicard.c: same. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_set_arg): fix warning for "editable" arg. * gui/widgets/e-minicard-view.c: convert "empty_message" to utf8. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * widgets/e-summary-subwindow.c: added some missing includes. * widgets/e-summary-title-button.h: same. 2001-04-10 Gediminas Paulauskas <menesis@delfi.lt> * menus/gal-view-menus.c: convert label to utf8. svn path=/trunk/; revision=9215
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-2/+4
| | | | svn path=/trunk/; revision=9191
* Fix headers.Kjartan Maraas2001-04-051-0/+2
| | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * menus/gal-view-menus.c: Fix headers. svn path=/trunk/; revision=9187
* Don't print the xml tree here.Christopher James Lahey2001-03-291-1/+3
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Don't print the xml tree here. svn path=/trunk/; revision=9003
* Added accelerator to elements missing accelerators (Reply, Inline, Quoted,Miguel de Icaza2001-03-171-5/+5
| | | | | | | | | | | | | | | | | | 2001-03-16 Miguel de Icaza <miguel@ximian.com> * evolution-mail.xml: Added accelerator to elements missing accelerators (Reply, Inline, Quoted, Attachments, Empty Trash, Full Headers). * evolution.xml: Added a placeholder for the beginning of the view. 2001-03-16 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Hook this up under the "ViewBegin" node. svn path=/trunk/; revision=8772
* Reorganize the menus to have entries always in a consistent fashion, asMiguel de Icaza2001-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-02-27 Miguel de Icaza <miguel@ximian.com> * gui/e-day-view.c (e_day_view_on_event_right_click): Reorganize the menus to have entries always in a consistent fashion, as reported to the genepool mailing list. (e_day_view_on_event_right_click): Added a FIXME comment to the FIXME comment without a FIXME. Now we use e_popup_menu. This allows us to hide/show items on demand, and to sensitize/de-sensitize items depending on their state. This will also let us add icon support (when we get nice icons for this) * gui/e-week-view.c (e_week_view_show_popup_menu): Ditto. The files popup-menu.c and popup-menu.h can now be removed. 2001-03-01 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Move the context menus to the toplevel code; Use enumerations for the various bitfield constants. Add support for hiding items that are not required (read/unread and delete/undelete). This requires my previous patch, as it assumes "Open" does the right thing instead of having two operations: Open and Edit. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * folder-browser.c (on_right_click): Removed draft folders op here, since open_msg now does the right thing (edit or view). * folder-browser-factory.c (update_pixmaps): Removed MessageEdit from here. * mail-callbacks.c (open_msg): New function, does the "right thing" to a message (either, edit or open). * folder-browser-factory.c: Register new command here. (update_pixmaps): Rename keys that have been shuffled around. (update_pixmaps): Rename to match new updates on xml file. Rename MessageOpenNewWindow to MessageOpen. Change action from "view_message" to "open_message". * mail-callbacks.c (mark_all_as_seen): New command. Marks all messages as seen. 2001-03-06 Miguel de Icaza <miguel@ximian.com> * evolution-tasks.xml: Added "File/New/Task" as well. * evolution-mail.xml: Added "File/New/Mail Message" at the top with binding C-n. * evolution-calendar.xml: Set the binding for New Appointment to C-n * evolution-contact-editor.xml: Set the toolbar to hlook=text vlook=icon; Set all icons priority-text to 1. * evolution-addressbook.xml: Added "Contact" to the New menu. * evolution.xml: Provide an entry point to put "New" items on the first level. We are going to need some Bonobo support to "hide" objects when other objects appear (like, having Mail Message bound to C-S-X in the global space, and when we switch to Mail, we only show the entry that has C-n as the binding). 2001-02-28 Miguel de Icaza <miguel@ximian.com> * evolution.xml: Moved Importer after the Folder operations per Dan's proposal. * evolution-addressbook.xml: Renamed Settings/AddressBook Configuration to Tools/Settings. Make all the items have "Print" items that use the same icon instead of a collection of icons. * evolution-calendar.xml: Moved "Calendar Preferences" from "Settings" to "Tools/Settings". * evolution-mail.xml: Settings menu is fully gone. All things that run a dialog now end up in "Tools" while actions end up in "Actions". Hence I am right. Renamed "Mail Configuration..." to "Identieies and Servers" Move MessageMarkAsRead, MessageMarkAsUnRead to Edit menu. Add MessageMarkAllAsRead. Remove "Print Message" from Message menu. Remove "Print Preview Message" from Message menu. Leave them on the "File" menu. Renamed "Reply to Sender" to "Reply" (awaiting Ettore's permission). Renamed "Messages" to "Actions". Open Message renamed to "Open Selected Items" (as this is what it actually does). Moved "Save Message As" to "File" menu. Added "Properties" to the File/Folder submenu. Edit menu now looks like this: Message Move, Message Copy, Select All, Invert Selection, Delete, Undelete, Mark as Read, Mark as Unread. Some of them were moved from the "Messages" menu. "Forward message" shortcut changed to C-f Tools menu created. Create Rule From message moved to "Tools". * evolution.xml: Added Tools menu. Moved Edit/Customize to Tools/Customize Toolbar. Added File/Folder submenu. Duplicate "New Folder" in here. 2001-02-28 Miguel de Icaza <miguel@ximian.com> * menus/gal-view-menus.c (build_menus): Add translation string here. svn path=/trunk/; revision=8572
* Rebuild when the collection changes.Christopher James Lahey2001-03-061-11/+60
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (collection_changed): Rebuild when the collection changes. svn path=/trunk/; revision=8558
* Make this actually deploy the titles from the GalViewCollection and emitChristopher James Lahey2001-01-261-111/+127
| | | | | | | | | | 2001-01-25 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c: Make this actually deploy the titles from the GalViewCollection and emit the display_view signals and such. svn path=/trunk/; revision=7809
* Fixed gal_define_views_dialog_new to be called with its proper argument.Jon Trowbridge2001-01-231-1/+1
| | | | | | | | | 2001-01-22 Jon Trowbridge <trow@gnu.org> * menus/gal-view-menus.c (define_views): Fixed gal_define_views_dialog_new to be called with its proper argument. svn path=/trunk/; revision=7707
* Added a GalViewCollection argument to the new function here.Christopher James Lahey2000-12-071-5/+31
| | | | | | | | | | | | | | | 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * menus/gal-view-menus.c, menus/gal-view-menus.h: Added a GalViewCollection argument to the new function here. From meeting-time-sel/ChangeLog: 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-meeting-time-sel.c: Fixed a bunch of warnings. svn path=/trunk/; revision=6816
* NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent aDan Winship2000-12-051-0/+1
| | | | | | | | * menus/gal-view-menus.c: NULL-terminate gal_view_menus_apply's BonoboUIVerb array to prevent a crash. (Why are there gal* things in the evolution sources?) svn path=/trunk/; revision=6777
* AdaptMiguel de Icaza2000-11-181-3/+3
| | | | svn path=/trunk/; revision=6610
* Added a bunch of .lo s from the menus directory.Christopher James Lahey2000-11-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
* Changed the gal version number and the gal so number. Added check forChristopher James Lahey2000-11-101-0/+188
2000-11-09 Christopher James Lahey <clahey@helixcode.com> * configure.in: Changed the gal version number and the gal so number. Added check for bonobo. * gal/Makefile.am: Added gal-view-menus.lo. * gal/widgets/e-unicode.c: Removed some unused variables. From gal/menus/ChangeLog: 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-view-menus.c and gal-view-menus.h. * gal-view-menus.c, gal-view-menus.h: New files to create the view menus. svn path=/trunk/; revision=6528