/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* e-local-folder.c * * Copyright (C) 2000 Helix Code, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. * * Author: Ettore Perazzoli */ /* The metafile goes like this: mail This is the folder where I store mail from my gf http://www.somewhere.net FIXME: Do we want to use a namespace for this? FIXME: Do we want to have an internationalized description? */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "e-local-folder.h" #define PARENT_TYPE E_TYPE_FOLDER static EFolderClass *parent_class = NULL; #define URI_PREFIX "file://" #define URI_PREFIX_LEN 7 #define METADATA_FILE_NAME "folder-metadata.xml" #define METADATA_FILE_NAME_LEN 19 struct _ELocalFolderPrivate { int dummy; }; static char * get_string_value (xmlNode *node, const char *name) { xmlNode *p; xmlChar *xml_string; char *retval; p = e_xml_get_child_by_name (node, (xmlChar *) name); if (p == NULL) return NULL; p = e_xml_get_child_by_name (p, (xmlChar *) "text"); if (p == NULL) return NULL; xml_string = xmlNodeListGetString (node->doc, p, 1); retval = g_strdup ((char *) xml_string); xmlFree (xml_string); return retval; } static gboolean construct_loading_metadata (ELocalFolder *local_folder, const char *path) { EFolder *folder; xmlDoc *doc; xmlNode *root; char *type; char *description; char *metadata_path; char *physical_uri; folder = E_FOLDER (local_folder); metadata_path = g_concat_dir_and_file (path, METADATA_FILE_NAME); doc = xmlParseFile (metadata_path); if (doc == NULL) { g_free (metadata_path); return FALSE; } root = xmlDocGetRootElement (doc); if (root == NULL || strcmp (root->name, "efolder") != 0) { g_free (metadata_path); xmlFreeDoc (doc); return FALSE; } type = get_string_value (root, "type"); description = get_string_value (root, "description"); e_folder_construct (folder, g_basename (path), type, description); g_free (type); g_free (description); xmlFreeDoc (doc); physical_uri = g_strconcat (URI_PREFIX, path, NULL); e_folder_set_physical_uri (folder, physical_uri); g_free (physical_uri); g_free (metadata_path); return TRUE; } static gboolean save_metadata (ELocalFolder *local_folder) { EFolder *folder; xmlDoc *doc; xmlNode *root; const char *physical_directory; char *physical_path; folder = E_FOLDER (local_folder); doc = xmlNewDoc ((xmlChar *) "1.0"); root = xmlNewDocNode (doc, NULL, (xmlChar *) "efolder", NULL); xmlDocSetRootElement (doc, root); xmlNewChild (root, NULL, (xmlChar *) "type", (xmlChar *) e_folder_get_type_string (folder)); if (e_folder_get_description (folder) != NULL) xmlNewChild (root, NULL, (xmlChar *) "description", (xmlChar *) e_folder_get_description (folder)); physical_directory = e_folder_get_physical_uri (folder) + URI_PREFIX_LEN - 1; physical_path = g_concat_dir_and_file (physical_directory, METADATA_FILE_NAME); if (xmlSaveFile (physical_path, doc) < 0) { unlink (physical_path); g_free (physical_path); xmlFreeDoc (doc); return FALSE; } g_free (physical_path); xmlFreeDoc (doc); return TRUE; } /* GtkObject methods. */ static void destroy (GtkObject *object) { /* No ELocalFolder-specific data to free. */ (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } static void class_init (ELocalFolderClass *klass) { GtkObjectClass *object_class; parent_class = gtk_type_class (e_folder_get_type ()); object_class = GTK_OBJECT_CLASS (klass); object_class->destroy = destroy; } static void init (ELocalFolder *local_folder) { } void e_local_folder_construct (ELocalFolder *local_folder, const char *name, const char *type, const char *description) { g_return_if_fail (local_folder != NULL); g_return_if_fail (E_IS_LOCAL_FOLDER (local_folder)); g_return_if_fail (name != NULL); g_return_if_fail (type != NULL); e_folder_construct (E_FOLDER (local_folder), name, type, description); } EFolder * e_local_folder_new (const char *name, const char *type, const char *description) { ELocalFolder *local_folder; g_return_val_if_fail (name != NULL, NULL); g_return_val_if_fail (type != NULL, NULL); local_folder = gtk_type_new (e_local_folder_get_type ()); e_local_folder_construct (local_folder, name, type, description); return E_FOLDER (local_folder); } EFolder * e_local_folder_new_from_path (const char *path) { EFolder *folder; g_return_val_if_fail (g_path_is_absolute (path), NULL); folder = gtk_type_new (e_local_folder_get_type ()); if (! construct_loading_metadata (E_LOCAL_FOLDER (folder), path)) { gtk_object_unref (GTK_OBJECT (folder)); return NULL; } return folder; } gboolean e_local_folder_save (ELocalFolder *local_folder) { g_return_val_if_fail (local_folder != NULL, FALSE); g_return_val_if_fail (E_IS_LOCAL_FOLDER (local_folder), FALSE); g_return_val_if_fail (e_folder_get_physical_uri (E_FOLDER (local_folder)) != NULL, FALSE); return save_metadata (local_folder); } E_MAKE_TYPE (e_local_folder, "ELocalFolder", ELocalFolder, class_init, init, PARENT_TYPE) 2006-04-262-4/+14 * Committing fix for bug #335861Srinivasa Ragavan2006-04-262-1/+8 * Added Cairo Support to Evolution Calendar.Srinivasa Ragavan2006-04-242-53/+83 * Added code to create image attachment's icon in non-gui thread.Srinivasa Ragavan2006-04-222-0/+66 * **Fixes bug #335618 If the row being deleted is the last one, we shouldLi Yuan2006-04-102-0/+8 * ** Fixes bug #327035 Grab focus only from widgets which can have focus on.Jeff Cai2006-04-102-1/+8 * Fixes bug #332140 Changed to transfer filenames from utf-8 to glibSimon Zheng2006-03-062-4/+13 * ** Fixes for 333235 If width of a widget is 0, don't draw it.Jeff Cai2006-03-062-4/+12 * Committing fix for bug #328283Srinivasa Ragavan2006-03-022-2/+10 * ** Fixes bug #331400Simon Zheng2006-03-012-1/+15 * Fix for Bug #331998.Devashish Sharma2006-02-282-0/+9 * Fixed bug #332408Srinivasa Ragavan2006-02-242-0/+56 * Fixes bug #322789Srinivasa Ragavan2006-02-242-2/+10 * Fixes bug #328283Srinivasa Ragavan2006-02-142-2/+12 * damn, changed the wrong changelog. so removing and adding. :-)Andre Klapper2006-02-142-5/+5 * adding thai support. fixes the UI part of bug 251062.Andre Klapper2006-02-142-0/+8 * a11y changes for bug #330723Karsten Bräckelmann2006-02-114-7/+15 * damned broken pipes! where's the plummerKjartan Maraas2006-01-301-13/+8 * Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-3050-336/+155 * fixes #250754Chenthill Palanisamy2006-01-302-3/+11 * removed string "dialog1" from translation. Fixes bug 306118.Andre Klapper2006-01-273-2/+7 * Committing patch from Nancy CaiSrinivasa Ragavan2006-01-232-0/+8 * Added functions to collapse/Expand allSrinivasa Ragavan2006-01-163-0/+52 * ** Fixes bug #220286Srinivasa Ragavan2006-01-162-1/+34 * ** Fixes bug #326264Srinivasa Ragavan2006-01-142-1/+8 * ** Fixes bug #326265Srinivasa Ragavan2006-01-142-1/+8 * Fixes the scroll issue with e-tree.Srinivasa Ragavan2006-01-132-0/+17 * Fix code style cruft from the previous commitHarish Krishnaswamy2006-01-111-1/+1 * Add the width to the pango layout.Johnny Jacob2006-01-112-2/+9 * remove the pruned file from MakeFile.amChenthill Palanisamy2006-01-112-1/+5 * Remove e-util-marshal.list in current directory, and use the copy inSimon Zheng2006-01-1111-66/+24 * Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-105-0/+26 * assign the data first before accessing it.Parthasarathi Susarla2006-01-062-1/+6 * Set the foreground only if the widget has already been realized. FixesHarish Krishnaswamy2006-01-022-2/+13 * Fix for #325129.Harish Krishnaswamy2006-01-021-1/+1 * harmonized "URL", "Url" and "url". Fixes bug 325125.Andre Klapper2005-12-311-0/+10 * harmonized "URL", "Url" and "url". Fixes bug 325125.Andre Klapper2005-12-301-1/+1 * fixed one typo. Fixes bug 306118 partially.Andre Klapper2005-12-231-1/+1 * ** Fixes bug #324590Srinivasa Ragavan2005-12-222-0/+22 * fixes #303876Chenthill Palanisamy2005-12-212-1/+11 * ** Fixes bug #240762Srinivasa Ragavan2005-12-202-1/+9 * ** See Bug #246233 : Changed "Search Editor" to "Searches"Veerapuram Varadhan2005-12-202-1/+7 * Use g_ascii_strcasecmp(). (strcase_hash): Use g_ascii_tolower().Tor Lillqvist2005-12-182-11/+7 * Use g_ascii_strcasecmp() instead of g_strcasecmp(). This function handlesTor Lillqvist2005-12-184-17/+18 * Use gstdio wrappers. Construct glade file name at run-time.Tor Lillqvist2005-12-182-2/+12 * Construct map file name at run-time.Tor Lillqvist2005-12-182-1/+7 * Use gstdio wrappers. Construct glade file name at run-time.Tor Lillqvist2005-12-182-3/+29 * Link with bootstrap libs on Win32. Use EVOLUTION_IMAGES instead of MAP_DIRTor Lillqvist2005-12-182-22/+41 * Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype.Tor Lillqvist2005-12-182-2/+4 * Include libedataserver/e-xml-utils.h for e_xml_save_file() prototype.Tor Lillqvist2005-12-182-1/+4 * Construct glade file pathname at run-time.Tor Lillqvist2005-12-182-1/+13 * Link with libeutil.Tor Lillqvist2005-12-182-2/+7 * Link with bootstrap libs on Win32. Use E_WIDGETS_CFLAGS instead ofTor Lillqvist2005-12-182-5/+24 * Added a visual cue to search bar to indicate search filter active.Srinivasa Ragavan2005-12-153-1/+60 * Patch from Irene Huang <Irene.Huang@sun.com>.Veerapuram Varadhan2005-12-133-3/+12 * Fixed substitutions that I missed in the last commit.Harish Krishnaswamy2005-12-104-4/+4 * prefix the wrapper functions with e - do not use g lest it is assumed toHarish Krishnaswamy2005-12-097-9/+19 * Fixes #322740. change the condition expression for GDK_RIGHT and GDK_LEFT.Boby Wang2005-12-072-2/+8 * Load the widget pointer before using it. Fixes a compiler warning as wellVeerapuram Varadhan2005-12-062-1/+7 * Fixes bug #322776. When focus come into e-tree, it is possible that theLi Yuan2005-12-062-1/+9 * 2005-11-29 Simon Zheng <simon.zheng@sun.comaHarry Lu2005-11-292-3/+12 * e-dateedit.c Include e-time-utils.h from libedataserver instead of usingTor Lillqvist2005-11-243-2/+9 * Commiting Johnny Jacob's patch on EDateEditSrinivasa Ragavan2005-11-242-1/+64 * Fix a division-by-zero error crasher. (Update: when in doubt, protect withHarish Krishnaswamy2005-11-171-2/+2 * Fix a division-by-zero error crasherHarish Krishnaswamy2005-11-172-0/+7 * Added a function to get all attachments of the attachment bar for pluginSrinivasa Ragavan2005-11-163-0/+31 * Adjusted the size of date edit widgets.Chenthill Palanisamy2005-11-142-2/+7 * Set a size for the date edit widgets, so that it doesnt expand too much.Srinivasa Ragavan2005-11-142-0/+7 * Use gnome_font_find_closest instead of gnome_font_find since Helvetica isKaushal Kumar2005-10-142-1/+10 * dded case insensitive compare support etable, and using it for OrganizationSushma Rai2005-10-042-0/+8 * gtk_pixbuf_add_alpha returns a newly allocated pixbuf, so, free theVeerapuram Varadhan2005-10-042-1/+12 * e-table.c (e_table_load_specification) e-table-specification.cTor Lillqvist2005-09-304-3/+12 * menus/gal-view-collection.c (load_single_dir) UseTor Lillqvist2005-09-303-2/+10 * Fix #240762. If the galview implement the edit function, enable the editLi Yuan2005-09-292-2/+9 * On Win32, use bootstrap import library for libemiscwidgets, which hasn'tTor Lillqvist2005-09-282-10/+27 * Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing toTor Lillqvist2005-09-282-5/+12 * Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing toTor Lillqvist2005-09-282-4/+12 * Install in privsolib instead of privlib (no difference on Unix). UseTor Lillqvist2005-09-282-9/+19 * On Win32, use bootstrp import library for libemiscwidgets, which hasn'tTor Lillqvist2005-09-282-1/+18 * Start search on category, when the category is selected.Sushma Rai2005-09-202-1/+9 * Fixes #314352. if accessibility is enabled, we enable horizontal cusorLi Yuan2005-08-252-2/+13 * Fix for bug #314136. Shows filename in the remote download in composer.Srinivasa Ragavan2005-08-244-7/+27 * fix some missing casts.Not Zed2005-08-242-4/+8 * cast warning away.Not Zed2005-08-243-3/+8 * Resolve #309074Francisco Javier F. Serrador2005-08-222-2/+2 * Use camel_url to construct url (eab_icon_clicked_cb)Srinivasa Ragavan2005-08-194-13/+86 * Fixed few warningsSrinivasa Ragavan2005-08-162-2/+7 * Fix for bug #312545Srinivasa Ragavan2005-08-163-19/+25 * ** See bug #313063.Not Zed2005-08-152-1/+9 * revert dobey's last patch here, it completely broke customisation of theNot Zed2005-08-152-11/+16 * Added a function to force refresh/resize the icons.Srinivasa Ragavan2005-08-113-0/+12 * Add a11y name to the left table of config dialog. Add name to the leftLi Yuan2005-08-044-3/+35 * escape the "%" character correctly.David Malcolm2005-08-032-1/+6 * added bug id 310488 to changelogSushma Rai2005-07-291-6/+7 * Void function should not return value.Mengjie Yu2005-07-292-2/+11 * used ref instead of copying the entire mime part. Also commitedSrinivasa Ragavan2005-07-293-45/+28 * Added checks for the parameters.Srinivasa Ragavan2005-07-252-0/+33 * Fixes a bug where it allows just builtin views to be edited and not userSrinivasa Ragavan2005-07-252-2/+8 * Added code to use stock icons instead of -> and <-Srinivasa Ragavan2005-07-252-8/+262 * ESendOptionsDialogClass: has a member new virtual method for defaultVivek Jain2005-07-203-1/+27 * Cleaned up most of it. Added the DnD.Srinivasa Ragavan2005-07-205-131/+407 * Added gnome-vfs-module-2.0 to E_WIDGET_CFLAGS. Added e-attachment-bar.[ch]Srinivasa Ragavan2005-07-117-1/+2008 * Added widgets in INCLUDES.Kaushal Kumar2005-06-2355-78/+96 * Added from gal/gal/e-table as Gal is retired from Head and e-table filesKaushal Kumar2005-06-212-0/+8923 * If only a few rows have changed, emit each as a separate row_changed eventNot Zed2005-06-201-2/+31 * Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-17196-564/+915 * Don't hide the tooltip if we don't have a canvas anymore. Patch by: NotKaushal Kumar2005-06-011-1/+3 * add relation to date_button.Li Yuan2005-05-312-0/+8 * export ethi_change_sort_state, so we can call it in a11y part.Li Yuan2005-05-204-1/+14 * move e-error.[ch] and e-system-errors.xml to e-util/. remove test-error.Not Zed2005-05-166-743/+6 * Add profiler so that it gets disted properlyRodney Dawes2005-05-143-13/+17 * ChangeLogShreyas Srinivasan2005-05-121-0/+4 * Fixed #272005Shreyas Srinivasan2005-05-121-10/+46 * Fix the bug 303856. Enables OK button when arrow key used to change theSrinivasa Ragavan2005-05-122-0/+27 * Fixed a typo. #273095Sarfraaz Ahmed2005-05-062-2/+5 * Fix for 273097Harish Krishnaswamy2005-05-062-4/+4 * Fixes 273096Harish Krishnaswamy2005-05-062-2/+6 * Solaris gettext crashes on NULL input string. Fixes #260312. PatchSarfraaz Ahmed2005-05-062-1/+7 * Check for NULL string before passing to dgettext. Fixes a crash onSarfraaz Ahmed2005-05-061-1/+1 * Port to Windows, initial commit:Tor Lillqvist2005-04-29107-447/+674 * we should not do any layout adjustment if the item doesn't exist.Mengjie Yu2005-04-291-1/+4 * add a signal "style_set" to support theme. ditto.Li Yuan2005-04-282-0/+27 * use widget->style instead of hard code colors.Li Yuan2005-04-284-25/+28 * use idle callback to adjust scrollbar when focus has been changed. addMengjie Yu2005-04-222-0/+42 * break while row equals -1.Mengjie Yu2005-04-211-0/+3 * Fixes #40762Li Yuan2005-03-231-1/+8 * don't bonobo_ui_free_string from bonobo_ui_node_to_string - it should beNot Zed2005-03-152-4/+7 * bounds check the selection beginning.Theppitak Karoonboonyanan2005-03-141-4/+4 * selecion fixes for im's.Theppitak Karoonboonyanan2005-03-141-7/+18 * Handling static capability for disabling general send options at theSushma Rai2005-03-112-0/+6 * don't allow to drag the first line of mini reflows.Mengjie Yu2005-03-041-0/+3 * Make the entry widget grab focus. Fixes bug #60551.Jeffrey Stedfast2005-03-032-0/+7 * Fix for #73009.Li Yuan2005-02-282-0/+4 * Fix the calculation of which shadow type to use to be more appropriate forRodney Dawes2005-02-222-16/+28 * Install shared libraries to privlibdir.Hans Petter Jansson2005-02-104-6/+11 * Some code clean work.Harry Lu2005-02-041-5/+2 * Some code clean work.Harry Lu2005-02-043-16/+6 * add a11y name to url link button.Li Yuan2005-02-032-0/+7 * add an a11y name for the popup list. make shortcut key ALT+Arrow work.Li Yuan2005-01-2713-63/+210 * Fix up spacing to be HIG compliant for the borders around the dialogsRodney Dawes2005-01-272-1/+8 * Fixes #38195JP Rosevear2005-01-261-7/+1 * turn off debug output, people think its a significant error.Not Zed2005-01-252-2/+6 * add a11y name for the option menu.Mengjie Yu2005-01-242-0/+11 * Don't pass in the "fill_color" property for creating the canvas item forRodney Dawes2005-01-222-2/+0 * fix a typoHarry Lu2005-01-201-1/+1 * ** See bug #64964.Not Zed2005-01-202-1/+14 * add a translater note.Harry Lu2005-01-202-0/+6 * Fix for 46359, enable "Alt+Down Arrow" to show the popup forHarry Lu2005-01-192-12/+42 * return the entry of the date edit.Hao Sheng2005-01-183-0/+16 * Fix for 62831.Harry Lu2005-01-172-0/+12 * Get the value for the autodelete toggle button (page_changed_cb): Do notChenthill Palanisamy2005-01-122-2/+15 * Added code to support global options. Filled the finalize and disposeChenthill Palanisamy2005-01-104-13/+167 * dist the glade fileJP Rosevear2005-01-062-0/+5 * Commiting the files mentioned below again to HEAD since it was not addedChenthill Palanisamy2005-01-064-0/+1939 * merging send optionsChenthill Palanisamy2005-01-062-0/+12 * Modify the changelog's entry date to corret year.Harry Lu2005-01-041-1/+1 * new internal function to popup the menu. (impl_button_press_event): callHarry Lu2005-01-043-4/+61 * translate strings based on translation-domain, if supplied.Not Zed2004-12-222-9/+29 * Fixes #29309JP Rosevear2004-12-222-3/+18 * Use gtk_paint_foo instead of the deprecated gtk_draw_foo functionsRodney Dawes2004-12-153-99/+46 * test progJP Rosevear2004-11-2619-696/+136 * check whether header_canvas and table_canvas is NULL.Li Yuan2004-11-241-3/+5 * Convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+16 * convert to G_DEFINE_TYPEJP Rosevear2004-11-122-12/+10 * if canvas has a focused item but the etable does not have a cursor row,Li Yuan2004-11-041-0/+4 * Fix up changelogs to have the correct info.JP Rosevear2004-11-022-86/+91 * Add a name for timezone combox. Make accessibility name and descriptionLi Yuan2004-11-016-1/+113 * use E_WIDGET instead of GNOME_FULLJP Rosevear2004-10-282-8/+12 * return FALSE so we don't kill the focus event chainJP Rosevear2004-10-201-3/+3 * fix e-source-option-menu includeJP Rosevear2004-10-152-1/+5 * don't build source selector or source option menu or test programs anyJP Rosevear2004-10-149-1825/+7 * implement popup_menu so that popup menu can be shown with Shift+F10.Harry Lu2004-10-082-0/+24 * Fixes #66164JP Rosevear2004-10-062-2/+14 * added boolean object boxed.Not Zed2004-10-064-21/+38 * Add the label back for previewing the timezone name, and set the labelRodney Dawes2004-09-143-10/+66 * Point at "config-prefs" instead of "config" for the help sectionRodney Dawes2004-09-142-1/+6 * Bugzilla #63731Suresh Chandrasekharan2004-08-311-2/+32 * Rollback for fix #63731Suresh Chandrasekharan2004-08-262-17/+24 * Bugzilla #63731Suresh Chandrasekharan2004-08-262-24/+17 * [ probable fix for the remaining portion of #45931 ]Chris Toshok2004-08-251-3/+8 * Connect to the "changed" signal instead of "activate"Rodney Dawes2004-08-172-1/+8 * Really dist the pilot sources this timeJP Rosevear2004-08-132-0/+10 * include scrollbar offset in vertical calculation. don't ask me i just workNot Zed2004-08-121-4/+6 * nuke, unnecessary. (e_entry_start_completion): set item_chosen to FALSE.Chris Toshok2004-08-061-20/+6 * do not set position, it's already done in .glade, call set_transient_forRadek Doulik2004-08-044-17/+17 * accessor (e_pilot_settings_set_source): ditto (build_ui): show the sourceJP Rosevear2004-08-034-0/+293 * use ctrl-shift-q to clear search barJP Rosevear2004-07-262-1/+6 * watch for selection changes and set Delete button sensitivity according toRadek Doulik2004-07-241-0/+21 * include config.h. See #61395.Not Zed2004-07-222-0/+8 * remove protoJP Rosevear2004-07-213-41/+24 * remove debug spew and fix the display when pango_layout_line_x_to_indexChris Toshok2004-07-162-10/+11 * s/GB-2312/GB2312/ - fixes bug #61385.Jeffrey Stedfast2004-07-132-1/+5 * added e_table_model_pre_change because we call e_table_model_row_insertedRadek Doulik2004-07-131-0/+2 * fixed the ChangeLogJeffrey Stedfast2004-07-011-1/+1 * Fix alignment of the icon to be 0x0Rodney Dawes2004-06-252-0/+7 * Add a call to e_source_selector_set_select_new here so that we can selectRodney Dawes2004-06-253-1/+34 * Fix some spacing and border width properties on the dialog's widgets toRodney Dawes2004-06-233-0/+52 * Add preconditions. Make sure garbage or NULL data doesn't get used.Hans Petter Jansson2004-06-232-5/+22 * clone view before saving it to avoid problems with setting current_view_idRadek Doulik2004-06-211-0/+2 * fix a path leak and maek the code more structured.Not Zed2004-06-163-7/+33 * prepend label " " before the ETableRadek Doulik2004-06-152-14/+57 * (pixbuf_cell_data_func): fix the appearance a little.Larry Ewing2004-06-122-2/+4 * (pixbuf_cell_data_func): clean up warnings. (double bad larry).Larry Ewing2004-06-122-4/+2 * (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).Larry Ewing2004-06-122-1/+2 * make the source selector use a colock block instead of setting theLarry Ewing2004-06-122-14/+50 * set dialog window position, glade doesn't do that for us anymore as theRadek Doulik2004-06-114-4/+158 * hardcode the border size. it is hardcoded in e-text as well. Even usingRadek Doulik2004-06-111-5/+7 * HIGified, updated as suggested in #46236Radek Doulik2004-06-112-244/+224 * added castRadek Doulik2004-06-114-17/+14 * fixes for compiler warningsRadek Doulik2004-06-109-14/+11 * remove defunct Revert button and replace OK/Cancel buttons with a CloseJon Oberheide2004-06-102-43/+2 * add new api for setting the whole selection in one go. See #59546.Not Zed2004-06-102-0/+16 * process only if len > 0Radek Doulik2004-06-091-30/+33 * (ensure_nonzero_step_increments): set step increments always to 16Radek Doulik2004-06-091-2/+2 * new helper function to set step_increments (allocate_callback): callRadek Doulik2004-06-091-0/+20 * Add HIG border width for dialog window.William Jon McCann2004-06-042-0/+6 * Link test-error against libeutil.Christian Neumair2004-06-022-2/+7 * Don't propagate the expose to the label widget, the parent expose handlerAnders Carlsson2004-06-022-5/+5 * Use the constructed title string.Anders Carlsson2004-05-312-1/+5 * Require e-error-toolRodney Dawes2004-05-282-0/+5 * ugh, too drunk to remember to commit this last nightNot Zed2004-05-222-1/+3 * set a default error parent fallback. (e_error_newv): if parent is null,Not Zed2004-05-213-0/+39 * Use the activate signal, instead of changed, for the combo boxRodney Dawes2004-05-212-1/+21 * only unref the mask if there is oneJP Rosevear2004-05-212-1/+7 * don't dist the error .h fileJP Rosevear2004-05-202-1/+4 * load the <help> tag if present. (ee_response): handle the help responseNot Zed2004-05-182-13/+45 * Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()Jeffrey Stedfast2004-05-183-2/+11 * Add bug numberJP Rosevear2004-05-171-0/+2 * bitmap_unref the mask, don't object_unref itJP Rosevear2004-05-17