Commit Graph

44 Commits

Author SHA1 Message Date
Paul Franklin
20fac5cc53 a slight pylint improvement (to _guioptions.py) 2016-06-16 10:43:33 -07:00
Paul Franklin
269f9e7626 8128: GtkDialog mapped without a transient parent -- partial 2016-04-16 10:48:48 -07:00
Paul Franklin
c23093d6f8 add a few more parents to a few more dialogs 2016-03-22 21:04:22 -07:00
Doug Blank
2eeda93617 Renamed get_object_from to get_media_from 2016-01-23 19:00:13 -05:00
Doug Blank
ee05e0b451 7335: Cleanup code, filenames, and documentation
First part of cleanup, changes:

MediaObject -> Media
mediaobj -> media
mediaobject -> media
2016-01-23 14:22:41 -05:00
Nick Hall
415540e4a6 Unicode conversion not required for FileChooserDialog methods 2015-11-28 23:48:43 +00:00
Nick Hall
d877d02187 Tidy up Gtk constructors 2015-09-07 21:43:13 +01:00
Nick Hall
de3221ca69 8833: Set TextOption widget to expand vertically 2015-09-05 17:27:37 +01:00
Nick Hall
cdee00aca2 Remove trailing whitespace 2015-08-23 18:42:07 +01:00
Doug Blank
719fdfe2ae Revert "Use DbTxn from database backend"
This reverts commit 92ca9d7571.
2015-08-22 21:44:52 -04:00
Doug Blank
92ca9d7571 Use DbTxn from database backend 2015-08-22 18:17:22 -04:00
Nick Hall
9147ce859b 8637: Use keyword arguments to initialise Adjustment widgets
This should prevent the value being set to zero or the minumum
limit incorrectly.
2015-08-07 16:12:20 +01:00
Nick Hall
f2f78ef2f4 Convert deprecated set_alignment method 2015-05-22 23:22:11 +01:00
Nick Hall
457ed21c6c Replace stock items with named icons
Stock items have been deprecated since 3.10.
Named icons are now loaded from the default icon theme.
2015-05-20 18:54:26 +01:00
Matt Keenan
ef19a11889 8468: GuiColorOption missing avail-changed event handler 2015-03-31 10:22:54 -07:00
Nick Hall
5da10c5a80 Replace cuni with str 2015-03-14 23:48:32 +00:00
Nick Hall
beab7892e5 Replace STRTYPE with str 2015-03-14 22:11:54 +00:00
Nick Hall
63ffd83021 Remove uni_to_gui function
We no longer need to convert strings to utf8 before passing them
to Gtk functions.
2015-03-14 21:30:26 +00:00
Nick Hall
3b5efdf7ae Remove imports from __future__ module 2015-03-14 16:10:36 +00:00
Nick Hall
f540f2a511 Convert deprecated color widgets 2015-03-12 18:18:36 +00:00
Nick Hall
30d809ed17 Convert more deprecated Gtk widgets
Converted HButtonBox and VButtonBox to ButtonBox widgets.
Converted HPaned and VPaned to Paned widgets.
Converted HScale to Scale widget.
2015-02-07 18:53:42 +00:00
Nick Hall
9c8afdd155 Convert Gtk HBox and VBox widgets into Box widgets 2015-02-06 22:57:10 +00:00
Nick Hall
28bc8ba590 7942: Implement place displayer 2015-01-23 19:09:55 +00:00
Malcom Lewis
86303f6116 Update FSF address to current location. 2014-08-08 19:39:45 -07:00
Paul Franklin
c3f0a811f8 7258 typos 2014-04-24 08:38:50 -07:00
John Ralls
55610b6f0a Remove get_unicode_path_from_env_var(), get_unicode_path_from_file_chooser()
Two very cumbersome ways of saying conv_to_unicode().
2014-04-20 17:05:53 -07:00
John Ralls
ecfad157a8 7258: Replace os.getcwd() with gramps.gen.constfunc.get_curr_dir()
Py2 on Win32 returns a str from os.getcwd(), which doesn't work with unicode in the path.
New function get_curr_dir() uses the Windows GetCurrentDirectoryW to return a Unicode.
2014-04-20 17:05:52 -07:00
Nick Hall
f6be31eb39 Remove subversion substitution variables 2014-04-15 14:10:18 +01:00
Josip
2fbf9ff0f9 More fix of PyGObject-3.11 DeprecationWarning 2014-04-02 22:07:43 +02:00
Serge Noiraud
c635e94f5d Bug #6917 : Gtk2 to Gtk3 port of colorsel to get_color_selection()
svn: r22680
2013-07-14 12:28:13 +00:00
Benny Malengier
4621d09d4d 6659: Justified paragraph layout does not work in "Custom Book Text" in book report
svn: r22190
2013-05-07 12:35:33 +00:00
Paul Franklin
52f2b9e46a more flexible multi-column format for BooleanListOption
svn: r22169
2013-05-04 18:54:38 +00:00
Paul Franklin
8e76c93f25 change GuiFamilyOption precedence to match GuiPersonOption
(that is, use any "overridden" value, then any "active"
family, then any family of the "active" person, and only
then fall back on others, such as a saved-away family option
value, or any family of the user's "default" person)


svn: r22090
2013-04-23 18:07:20 +00:00
Paul Franklin
dc128110bc typos
svn: r22021
2013-04-19 16:58:24 +00:00
Paul Franklin
12777d3fb9 6623: funny GUI report-language display
svn: r22006
2013-04-16 22:19:27 +00:00
Benny Malengier
07b84e5e11 6623: funny GUI report-language display
svn: r21995
2013-04-15 09:15:45 +00:00
John Ralls
00aa00fbf5 GrampsLocale: Remove get_translation()
Only one base translation per locale. To set up a different locale
on any axis (locale, domain, directory, or languages) instantiate a
secondary locale by calling GrampsLocale() with the appropriate
arguments.

svn: r21968
2013-04-12 22:32:11 +00:00
John Ralls
ef6892abbd GrampsLocale: Remove ggettext
svn: r21144
2013-01-17 19:46:55 +00:00
Benny Malengier
bb5fc7cb7c 2620: GEPS 031: Python 3 support - 3.2
This does patch updates Gramps to the 3.2 syntax, it does not yet mean Gramps works with python 3.2
Expect next day commits to fix further issues, but this is the main 2to3 tool created patch changed
where needed to have python 2.7 work. 
Specific issues might be:
  1. next has been changed, must be checked
  2. new division as on the wiki page listed is to do
  3. ...


svn: r20634
2012-11-07 17:53:14 +00:00
Nick Hall
b74b1ee293 Convert remaining gui files to use relative imports
svn: r20513
2012-10-03 16:14:48 +00:00
Nick Hall
3a52f3afcb Convert plug to use relative imports
svn: r20505
2012-10-03 15:27:41 +00:00
Nick Hall
760806a7f9 Changes to imports - part 8
svn: r20493
2012-10-02 21:59:59 +00:00
Nick Hall
55c19e4180 Changes to imports - part 7
svn: r20492
2012-10-02 21:08:19 +00:00
Benny Malengier
326d604365 GEPS 026: Replace 'make' for Gramps build
If we want to use Gramps from the code directory, src should be called gramps to allow import


svn: r20466
2012-09-30 11:55:52 +00:00