Commit Graph
4695 Commits
Author SHA1 Message Date
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
Cédric Krier a6321a5e68 Resize wizard dialog on show
Setting default size is not enough if the wizard was already shown.

issue8178
review56641003
2019-03-15 12:56:32 +01:00
Cédric Krier cb74d1ffde Set fixed width for label in calendar toolbar
issue8177
review56641002
2019-03-15 12:55:07 +01:00
Cédric Krier 3f757cd0d0 Remove send error to bug tracker
and rename roundup.url configuration to bug.url

issue8173
review74491002
2019-03-15 12:46:34 +01:00
Cédric Krier 2b357a6312 Test not field instead of None
issue8188
review271071003
2019-03-15 11:19:48 +01:00
Cédric Krier 14bd3c9c65 Remove usage of _USERNAME in send_bugtracker
_USERNAME has been removed from rpc since changeset efacc2b32116

issue8171
review53581002
2019-03-15 11:16:58 +01:00
Cédric Krier 85e1d33760 Do not override exception variable in "except as"
The variable is removed outside the except block.

issue8172
review46811002
2019-03-15 11:15:41 +01:00
Cédric Krier 10fd4df21e Remove unused underscore in add_field_names 2019-03-13 16:49:14 +01:00
Cédric Krier c7970d8452 Replace Table by Grid
issue8139
review58551002
2019-03-13 16:41:00 +01:00
Cédric Krier 237826bb43 Use separate XML parser in Views
issue8131
review54561002
2019-03-11 12:02:58 +01:00
Cédric Krier c27b618f96 Add size attribute to image tag
issue8146
review49781002
2019-03-09 17:10:34 +01:00
Cédric Krier 4f3532487f Reduce noise when extracting and updating catalogs
We omit the header as they are not filled nor used.
We do not put location in comment as they are changing too often.
We ignore the obsolete translations.

issue8160
review47871002
2019-03-09 16:59:41 +01:00
Cédric Krier 66de4b7512 Use between numbers in filter box
issue8149
review53571002
2019-03-08 23:50:42 +01:00
Cédric Krier b1dd1e7331 Avoid comparison between tuple and int in one2many position
Such comparison is no more supported on Python 3.

issue7998
review46801002
2019-03-08 18:45:21 +01:00
Cédric Krier 0fb0609697 Try to use native time zone of Windows
The dateutil implementation fails on Windows for date before epoch.

issue8145
review58541002
2019-03-08 18:39:27 +01:00
Cédric Krier 016c531971 Use set_entry_text_column on Gtk.ComboBox
issue8139
2019-03-05 16:14:32 +01:00
Cédric Krier d7a23577f3 Fix typo from Gtk.Align instead of Gtk.Alignment
issue8139
2019-03-05 15:47:57 +01:00
Cédric Krier c356bb7641 Remove pygtkcompat and clean most deprecation warnings
issue8139
review47841002
2019-03-05 13:23:45 +01:00
Cédric Krier b660ae55b6 Allow to click button on readonly record in tree view
issue8154
review47861002
2019-03-04 18:58:26 +01:00
Cédric Krier 38dd94c2f8 Use set_underline for menu item of form
issue8129
review74471002
2019-03-04 18:52:05 +01:00
Cédric Krier b43242df31 Use search_read in CSV export
issue8128
review45951002
2019-03-04 18:50:55 +01:00
Cédric Krier 77eb3c38ea Allow cells to have multiple renderers
Each cell can define prefixes and suffixes renderer which will be added to the
column using their expand property.
We use this new feature to replace the CellRendererBinary by
CellRendererClickablePixbuf's for each buttons.
We implement also an editable cell for Reference fields by using a Selection
and a Many2One cell.
In order to be able to navigate between cells of the same column, we do not
validate anymore the field when the cell is left for another of the same
record (this is a similar behavior to the form). Also the next and previous
columns are checked if they are editable if start_editing is set to ensure to
stay in edition mode during the all navigation.

issue8112
issue6918
review46761002
2019-03-03 12:36:36 +01:00
Nicolas Évrard 4d0a2f13ca Remove use of screen.current_record and screen.group from views
issue8067
review62411002
2019-03-01 15:05:50 +01:00
Cédric Krier a5d0aec172 Fill 'to' with 'from' value on filter box
When the from value is changed, we fill the to with the value of the from so
the operator will be equal by default.

issue8104
review50761002
2019-02-26 16:22:00 +01:00
Cédric Krier a7f95e009c Reorder search entry buttons
issue8099
review50751002
2019-02-26 16:09:12 +01:00
Cédric Krier 9796c83459 Add tab domain in url
issue7841
review46691002
2019-02-26 16:05:25 +01:00
Cédric Krier 3b0d862675 Use string from node attribute
The XML attribute must have the priority on the field definition.

issue8123
review45941002
2019-02-26 16:02:53 +01:00
Cédric Krier c4549aa939 Replace filter window by popover
The fix the focus not being set under some window manager.

issue8061
review48711002
2019-02-26 15:50:28 +01:00
Cédric Krier 353b90e8bf Remove '-' between widgets in Reference field
This is too follow the sao design.

issue8116
review72411002
2019-02-26 15:47:20 +01:00
Cédric Krier 3c164dfd1a Use idle_add to set active on combobox from match selected of dropdown
Without this delay, it generates warnings when the selection is done with the
mouse or a SIGABRT when it is done with the keyboard.

issue8115
review46781002
2019-02-26 15:42:26 +01:00