Commit Graph
4724 Commits
Author SHA1 Message Date
Cédric Krier cd5eed3d1c Make ProgressBar inherit from Cell
ProgressBar widget uses methods from Cell.
2019-05-03 17:58:42 +02:00
Cédric Krier 980e379029 Populate contextual menu synchronously
Recent version of GTK does not support anymore filling the contextual menu
asynchronously.

issue8286
review265361002
2019-05-03 09:12:03 +02:00
Cédric Krier ad1da2b28f Update board parse to work with new Container API
The Container API has changed in issue8139.

issue8307
review267321003
2019-05-02 12:54:19 +02:00
Cédric Krier c9bc5c9b67 Use group _context to avoid leaking session context
When launching a new action, the context should not contain the session
context because it is automatically appended to the evaluation.
When creating a new group when the context model changed, it should not
contain the session context neither.

issue8312
review267301002
2019-05-02 12:49:12 +02:00
Cédric Krier db18b3f033 Ensure to put search_value in URL
If the screen container or the domain parser are not yet ready to compute the
search_value, we should ensure to use the initial search_value. Otherwise sao
may trigger to open a new tab without the search_value because the URL will be
set with an empty search.

issue8267
review281471002
2019-05-02 12:46:37 +02:00
Nicolas Évrard 1e548d30e5 Remove _FileCache file from the FS when they're not used anymore
issue8311
review261391002
2019-05-02 12:11:35 +02:00
Cédric Krier 9066d3189c Update clients catalog template 2019-05-01 22:20:52 +02:00
Cédric Krier 7bc46a91c3 Update translations 2019-05-01 18:05:27 +02:00
Cédric Krier 877142166b Add Finnish
issue7237
review44951002
2019-05-01 16:38:57 +02:00
Cédric Krier 7749adc6f4 Add Turkish
issue6745
review48261002
2019-05-01 16:18:50 +02:00
Cédric Krier b4bfbb8544 Use but_remove only if One2Many has attribute add_remove
issue8305
review261361002
2019-04-26 12:06:44 +02:00
Cédric Krier 741f319617 Use TreePath and update set_cursor call to set cell
Since the removal of pygtkcompat, set_cursor needs to get a real TreePath and
no more a tuple.
Also we added a cell argument to set_cursor, so it must be filled or use
keyword arguments.

issue8290
review271351002
2019-04-26 12:05:31 +02:00
Cédric Krier e3ceba18c4 Allow all models for reference if there is no restriction
If the allowed models is empty, it means that there is no constraint on the
reference model. So we must allow all of them.

issue8300
review275311002
2019-04-26 12:04:10 +02:00
Cédric Krier b45eef8885 Properly retrieve text value from ComboBox
get_active_text does not exist anymore in Gtk+-3

issue8258
review273301002
2019-04-23 12:04:49 +02:00
Cédric Krier 775d016a46 Add parse method to DateTime widget
To fix issue8205, we need to force to parse the date/time entries. So DateTime
widget needs to have a parse method.

issue8259
review267211002
2019-04-23 09:12:07 +02:00
Cédric Krier 6118b67701 Prevent exception when parsing date
We should first try parsing for locale format to avoid ambiguity.
But also the index may fail if the locale format is not using numeric value.

issue8087
review273221002
2019-04-23 09:07:50 +02:00
Cédric Krier be0acbf6f2 Quote database name in URL
issue8271
review255281002
2019-04-15 15:56:48 +02:00
Sergi Almacellas Abellana ac89b3e096 Add domain inversion for reference fields
issue7877
review45831002
2019-04-14 14:18:03 +02:00
Cédric Krier ed987325b2 Add missing padding when pack_start context widget
Without pygtkcompat, all arguments must be passed to Gtk methods.

issue8261
2019-04-10 10:26:40 +02:00
Nicolas Évrard efe5a946be Add list-form view
issue8185
review255091002
2019-04-08 15:06:36 +02:00
Cédric Krier 5c6d71f72c Remove id to on_change calls that are cached
issue8234
review275131002
2019-04-08 10:14:39 +02:00
Cédric Krier a28a914142 Add cache management on RPC
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier b505d02e94 Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:05 +02:00
Cédric Krier 0f0834ad67 Remove prerequisites from documentation
issue7397
2019-04-06 17:57:33 +02:00
Cédric Krier be6762314a Do not bundle README and INSTALL
issue7397
2019-04-06 17:55:58 +02:00
Cédric Krier d1b19b158b Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:58 +02:00
Cédric Krier 8c468608e3 Allow to update records when importing data
issue652
review273131003
2019-04-04 20:00:25 +02:00
Nicolas Évrard b4318526c9 Pass the right view object when creating an Affix
issue8248
review285101002
2019-04-04 15:17:16 +02:00
Cédric Krier 940ed2a3c3 Add label to button of richtext toolbar
issue8232
review279111002
2019-04-02 17:59:03 +02:00
Cédric Krier 4f87999c42 Replace ColorSelectionDialog by ColorChooserDialog
The former is deprecated and use Gtk.Color while we need Gdk.RGBA.

issue8231
review259261002
2019-04-02 17:57:05 +02:00
Cédric Krier 13dd7a7738 Make get_preferences synchronous
We must be sure that the preferences have been set before triggering other
actions (like opening URL).

issue8011
review281141002
2019-04-02 17:53:05 +02:00
Maxime Richez 482f6d378c Set correct function on GtkProgressBar
issue8230
review261241002
2019-04-02 17:49:10 +02:00
Cédric Krier b8c561cc77 Update links in package description
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier 84c6ccceca Add HTML editor
issue8004
review54481002
2019-03-30 16:04:45 +01:00
Cédric Krier 371dd04653 Avoid warning when resizing dialog
The default size may use -1 for unset but resize requires positive width and
height.
2019-03-30 00:50:18 +01:00
Cédric Krier e7e7358487 Replace imp by importlib
issue8217
review259171003
2019-03-28 19:35:58 +01:00
Cédric Krier 2b74958845 Use locale format for data export and import
issue8196
review255151002
2019-03-28 19:22:49 +01:00
Sergi Almacellas Abellana 99031fc23d Add day view on calendar
issue7774
review66441002
2019-03-28 12:25:23 +01:00
Cédric Krier 8c928a919f Show exception type and add title to detail of error dialog
issue8226
review249151002
2019-03-27 23:24:09 +01:00
Cédric Krier a9b9a34584 Force to parse datetime entries before getting value
The value property is only updated on activate or focus-out but get_value is
also be called to store the value without changing the focus.

issue8205
review281181002
2019-03-27 00:41:18 +01:00
Cédric Krier e8cbd4f803 Fix drag & drop on export/import CSV
With Gtk3, selection data must be UTF-8 encoded.
set_drag_dest_row requires a GtkTreePath and no more integer.

issue8194
review277121002
2019-03-27 00:32:12 +01:00
Cédric Krier 7f79e1e9d1 Use start_editing keyword argument to pass new to set_cursor
A new attribute cell has been added to EditableTree in changeset d2c705524c87

issue8223
2019-03-23 22:59:28 +01:00
Cédric Krier dd7ab37df9 Add CSV exports to print toolbar
issue8130
review54571002
2019-03-22 17:21:20 +01:00
Cédric Krier aaf9e9e75c Improve note button
* Add resources method to ModelStorage
* Support badge on icon
* Display unread and total of notes
* Add two extra colors for icon

issue8122
review70561002
2019-03-22 12:16:36 +01:00
Cédric Krier 8a179f313b Store wizard buttons instead of using get_action_area
get_action_area is deprecated so we store the buttons added as action to
remove them via their parent in clean.

issue8139
review72441002
2019-03-22 11:57:42 +01:00
Cédric Krier a9d51c25af Replace Arrow by Image
issue8139
review58561002
2019-03-22 11:56:04 +01:00
Cédric Krier 0d865d4225 Remove shortcuts from labels 2019-03-22 11:40:32 +01:00
Cédric Krier 3e3f142458 Remove fast tabbing
The focus_chain is deprecated in GTK+3 so we can no more implement easily the
fast tabbing. Instead we remove focusable property on buttons that are not
needed because they have shortcuts.

issue8181
review261071002
2019-03-22 11:26:31 +01:00
Cédric Krier 1f2ab1a743 Open CSV file with empty newline
The csv module takes care of managing the newline so we must open the file
without the universal new line management.

issue8006
review269131002
2019-03-22 11:20:53 +01:00
Cédric Krier 9b4542821c Add shortcuts for switch and remove on One2Many
issue8180
review273061002
2019-03-15 12:58:58 +01:00