Commit Graph

88 Commits

Author SHA1 Message Date
Matthew Barnes 7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
Matthew Barnes 9640844be2 Bug 650223 - evolution-backup does not terminate without --gui
Use g_io_scheduler_push_job() instead of g_thread_create().  When the
operation is finished, call gtk_main_quit() from the main thread using
g_io_scheduler_job_send_to_mainloop().

Also, check for cancellation with a GCancellable instead of a boolean.

Note: We really should be using GLib's process spawning API
      instead of system(), but that's a job for another day.
2011-06-29 18:42:16 +02:00
Matthew Barnes 54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
Matthew Barnes eccfd921ed Fix alignment of extra widgets in EAlertDialogs.
Add e_alert_dialog_get_content_area(), which returns the GtkVBox
containing the primary and secondary labels.  Use this instead of
gtk_dialog_get_content_area() to maintain the dialog's left margin
beneath the image.
2011-06-29 18:41:47 +02:00
Matthew Barnes a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
Andre Klapper 8f25c74bf2 Fix all back up that should be backup 2011-06-29 18:41:15 +02:00
Fridrich Štrba 5d79bdce74 Fix windows build of backup-restore plugin 2010-11-16 10:43:16 +01:00
Milan Crha 709a0807d3 Bug #632280 - Backup file name should include date (YYYYMMDD) 2010-10-29 17:07:00 +02:00
Milan Crha 5bde5537b6 Bug #616250 - Restore and Backup options aren't fully descriptive 2010-10-04 16:18:01 +02:00
Milan Crha 29fcf7f35f Bug #629972 - [backup-restore] Problems restoring old data 2010-09-29 09:57:36 +02:00
Fridrich Štrba 64f53f1a53 Increase safety on Windows
Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
2010-09-15 16:49:01 +02:00
Matthew Barnes cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
Matthew Barnes bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
Matthew Barnes a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
Matthew Barnes a73b369b72 Bug 622181 - Backup settings uses unhelpful yes/no dialog 2010-07-28 16:35:34 -04:00
Roy Marples d6fd193f8f Bug #610495 - Plugins should define e_plugin_lib_enable 2010-04-27 16:31:05 +02:00
Philip Withnall d49349bcb3 Fix usage of "backup" in translatable strings
"to back up" (verb) is different from "backup" (noun); correct some issues
with confusion of the two words. Helps: bgo#615712
2010-04-18 10:05:13 +01:00
Matthew Barnes 8bce26958f Bug 600861 - Backup utility should use --quit instead of --force-shutdown 2010-04-17 13:45:45 -04:00
Matthew Barnes 72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
Matthew Barnes 26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
Milan Crha a7cdda3232 Bug #458510 - Cannot translate "_Backup Settings..." 2010-04-02 14:48:52 +02:00
Matthew Barnes 58d0d111af Prevent future bugs like #612792.
Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length
parameter lists and drop the unnecessary "arg0" parameter so the
function attribute works correctly.
2010-03-15 10:38:59 -04:00
Fridrich Strba c0533ef053 Some more directories relocated on windows 2010-03-11 00:22:35 +01:00
Matthew Barnes cae22334fa Remove dead assignments found by clang. 2010-01-15 21:50:05 -05:00
Matthew Barnes 59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
Paul Bolle 64dddd6c7c Bug 604822 - Drop more alert titles
Drop all alert titles to be found in *.error.xml. HIG suggests alerts
do not have a title.
2009-12-20 11:08:05 +01:00
Milan Crha 4a9bf4dffd Bug #499322 - Use extension for "Save as" suggested file name 2009-12-10 16:08:52 +01:00
Jonathon Jongsma 31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
Jonathon Jongsma c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
Jonathon Jongsma 68d3608b81 port plugins to use new EError API
https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:32:22 -06:00
Matthew Barnes 3dfdf087fc Kill more redundant save dialogs and related utilities. 2009-11-10 18:18:11 -05:00
Tobias Mueller c46630b0d5 Build filename using g_build_filename instead of hardcoding forward-slash 2009-11-05 19:00:31 +00:00
Tobias Mueller 8cff3c4e4c Quote filename during restore to prevent user assisted arbitrary code execution
Fixes bug 540516.
2009-11-05 19:00:31 +00:00
Milan Crha e06b88c4fd Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent' 2009-10-13 16:24:10 +02:00
H.Habighorst f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
Matthew Barnes cfb9c32b66 Merge commit 'origin/kill-bonobo' 2009-08-30 01:40:49 -04:00
Milan Crha d7534a2ac7 Bug #590687 - Evolution not restoring data from backup archive 2009-08-28 15:06:33 +02:00
Matthew Barnes 520d90a9cc Build with -Wl,--no-undefined and fix linker errors. 2009-08-28 08:09:02 -04:00
Milan Crha de528db6c1 Bug 567260 - Migrate from GnomeDruid to GtkAssistant 2009-08-18 10:00:23 -04:00
Matthew Barnes 672adf12a0 Fix compiler warnings and deprecated GTK+ API usage. 2009-08-16 11:42:26 -04:00
Matthew Barnes 2febb125d6 Get the backup-restore plugin working. 2009-08-12 11:37:59 -04:00
Michael Terry 20eb5531eb Bug #586958 - Too long texts instartup wizard
[PATCH 1/2] [restore-backup] Make intro text wrap
The introductory text to the 'Restore from backup' page is too long,
especially in some languages.  This patch wraps the label as other
labels in the startup wizard are wrapped.

[PATCH 2/2] Don't break long labels unnecessarily
A few strings had unnecessary end lines in them, which fight with the
natural line-wrap algorithm.
2009-07-13 13:21:13 +02:00
Matthew Barnes 0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
Matthew Barnes 42e75c9162 Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am. 2009-06-30 17:20:23 -04:00
Milan Crha f7b884584a Bug #566369 - fix string typo "cancelled" => "canceled" 2009-06-22 17:41:15 +02:00
Milan Crha 7a9ab4f23b Bug #566369 - backup-restore - recognize broken archive 2009-06-22 17:09:21 +02:00
Fridrich Strba d0917c9731 Avoid the console popping while evolution running on windows 2009-06-05 15:05:02 +02:00
Matthew Barnes 6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
Matthew Barnes fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
Matthew Barnes 6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00