Commit graph

16 commits

Author SHA1 Message Date
James Westman
2fb4a7b906 alert dialog: Align checkbutton to start, not end
Fixes #714.
2020-02-27 12:05:21 -06:00
Jonathan Haas
17747950a0
Make the discard button red in the abort draft dialog while keeping the "Keep" button default.
Fixes Issue #342
2019-03-28 11:09:39 +01:00
Kristian Klausen
48c93655cf Remove trailing whitespace
find . -name '*.vala' -type f -exec sed -i 's/ *$//g' {} +
The following files was ignored:
test/client/composer/composer-web-view-test.vala
test/engine/util-html-test.vala

Fix #271
2019-02-28 23:05:31 +01:00
Colin Vidal
178817e5e6 TernaryConfirmationDialog: Fix inversion between cancel and ternary action labels
Hi Michael,

When you write a draft and close it (in embed or detached window),
label of buttons "Discard" and "Close" are inverted. This patch fix
it.

Thanks,

Colin
2016-10-21 00:03:38 +11:00
Gautier Pelloux-Prayer
8c20f92409 Dialog: use suggested-action (blue buttons) and destructive-action (red buttons) when necessary. Bug 772514 2016-10-14 11:23:40 +11:00
Adam Dingle
654e513f9c Transfer Yorba copyrights to Software Freedom Conservancy 2016-05-06 08:33:37 -04:00
Jim Nelson
29448cab65 Update copyright to 2015 2015-02-06 12:43:33 -08:00
Jim Nelson
4c5621e561 Typo, minor bug fix to AlertDialog 2015-01-13 13:55:06 -08:00
Robert Schroll
a1bf7070d5 Separate composer widget from composer window
In anticipation of inline composition, we need the composer widget to be
separate from the window in which it lives.  We introduce a new
interface, ComposerContainer, that the thing that holds to
ComposerWidget must implement.

Separate composer widget from composer window

In anticipation of inline composition, we need the composer widget to be
separate from the window in which it lives.  We introduce a new
interface, ComposerContainer, that the thing that holds to
ComposerWidget must implement.

Basic inline composition

Many of the details don't work, or don't work well, but the basics are
in place.

Allow only a single inline composition at a time

With this, we introduce a dialog when you would try to add another.  We
also use this when changing the selected conversation with a composer
open.

Compose new messages inline, with no conversation selected

Hook up composer accelerators only when focus is in composer editor

It would be nice to only activate these accelerators when the composer
has focus generally, but that doesn't seem to be easy to detect.

Only disconnect accelerators if they're connected

Maintain focus when composer is popped out

The selection isn't, though.

Fix Tab focus for embedded composer

There are two things that needed to be fixed: The tab key doesn't
usually advance focus for embedded widgets (huh?), so we handle tab
presses by hand for ComposerWidgets.  Also, the EmailEntrys do their own
tab handling, which needs to know about the composer widget, not the
toplevel widget in the embedded case.

Remove close() from ComposerContainer interface

I don't think it was actually doing anything, and it conflicts with the new close() method of Gtk.Window.
2014-05-20 16:30:21 -07:00
Jim Nelson
dc1445d6f0 Update copyrights to 2014: Closes bgo#722381 2014-02-04 19:01:09 -08:00
Jim Nelson
e09a056e8d Warn when user data is corrupted: Closes #7345
The database is now tested for corruption at startup.  If a problem
is detected, one of three error messages are displayed in a dialog box
(corruption, permission problems, and "general error").
2013-09-09 14:44:36 -07:00
Eric Gregory
594d711150 Closes #7253 Ask to save draft 2013-08-08 18:47:23 -07:00
Jim Nelson
403dd8508e Drop Gtk.Stock: Closes #7203, Closes #7294
These changes also invalidates #7218, as we're no longer using
buttons with icons with these changes.
2013-08-02 15:28:33 -07:00
Charles Lindsay
910e1c3d0b Update copyright headers; fix #6195
Also removing the erroneous space that had crept in at the end of the
line in most of our header comments.
2013-04-12 12:32:39 -07:00
Timo Kluck
149c030692 Question dialog should give focus to OK Button: Closes #6506 2013-03-11 13:36:18 -07:00
Jim Nelson
a0bafaffb2 Reorganization of client code
This is an attempt to break apart the client into suitable
categories.  The ui directory was being overloaded with every
possible UI class.  This attempts to give some organization going
forward as well as make it easier for new contributors to wade
into the code.
2012-09-07 18:55:38 -07:00
Renamed from src/client/util/util-dialog.vala (Browse further)