Commit graph

1264 commits

Author SHA1 Message Date
Techlive Zheng d1278a24b3 Port gee from version 1.0 to 0.8 2013-05-27 10:02:46 +02:00
Techlive Zheng c26900daea Update POTFILES.skip 2013-05-27 09:53:29 +02:00
Techlive Zheng ed7abdb90c Let GitgExtView decide where should GitgExtPanels be placed 2013-05-27 09:22:10 +02:00
Techlive Zheng ad335d08b2 Add a 'on_panel_activated()' method into the panel interface
We have added 'on_view_activated()' method into view interface
previously, so for consistency, we do the same for panel. Let
the panel have a chance to do some work after activated.
2013-05-27 09:21:26 +02:00
Techlive Zheng ed3e11efc3 Let current view handle reloading when repository changes
This way is really cheap and quick without going throhgh all the user
interface rebuilding process, just let the view handle the reloading
itself, the view should know what is best.
2013-05-27 09:21:26 +02:00
Techlive Zheng dd1cfbe730 Avoid reloading the navigation panel on dash view 2013-05-27 09:21:26 +02:00
Techlive Zheng 01b8ee2ccc Notify the navigation when repository changes 2013-05-27 09:21:26 +02:00
Techlive Zheng 47f6acdd33 Populate the navigation tree model internally 2013-05-27 09:21:26 +02:00
Techlive Zheng 523909d7f7 Move navigation panel into history plugin
Resolve #700541
2013-05-27 09:21:26 +02:00
Techlive Zheng 585b58f60c Remove the big white gap between file diffs 2013-05-27 09:21:26 +02:00
Techlive Zheng b577825e1f Rename the method to a more readable name 2013-05-27 09:21:26 +02:00
Techlive Zheng 3cb3f1ce21 Clean up other left over temporary building files 2013-05-27 09:21:26 +02:00
Techlive Zheng 1515920bd8 Clean up 'tests/progress_bin*' temporary files 2013-05-27 09:21:26 +02:00
Techlive Zheng 9da6254865 Clean up 'plugins/diff/icons/Makefile' 2013-05-27 09:21:26 +02:00
Piotr Drąg 0fb208411a Updated Polish translation 2013-05-26 17:15:38 +02:00
Sindhu S 3e072c97a8 Fix User Information dialog title 2013-05-26 20:01:24 +05:30
Georges Basile Stavracas Neto 92bf5bab74 Updated Brazilian Portuguese translation 2013-05-23 17:27:24 -03:00
Daniel Mustieles 6a17b7e2ae Updated Spanish translation 2013-05-22 12:14:35 +02:00
Sindhu S ca15b15a79 Add F5 as keyboard shortcut to reload repository 2013-05-21 18:59:53 +05:30
Techlive Zheng 92a410d1b1 Small changes 2013-05-21 10:40:43 +02:00
Techlive Zheng dfab8f7d50 White spaces cleaning 2013-05-21 10:40:35 +02:00
Techlive Zheng 4e8c25546a Fix #700542, reinitialize the repository while reloading
The repo has to be reopened in order to update the refs, there seems no
way currently provided in libgit2 or libgit2-glib to reload the refs.
2013-05-21 09:03:50 +02:00
Techlive Zheng f662d71c16 Remove extra spaces at the end of line
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-21 08:34:09 +02:00
Dimitris Spingos b05c0e55b5 Updated Greek translation 2013-05-21 09:24:06 +03:00
Techlive Zheng 06d0983ab8 Fix #699135, use the first element in the 'get_windows()' result
The result of 'get_windows()' is in most recently used order, so the
first element is the one we need.

Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-19 11:09:09 +02:00
Piotr Drąg 8044955b90 Updated Polish translation 2013-05-17 19:28:04 +02:00
Sindhu S 9b7f0b5572 Add keyboard shortcuts
Add keyboard shortcuts for closing gitg window: Ctlr + W
and Reload history view: Ctrl + R.
2013-05-17 22:16:14 +05:30
Sindhu S 90458f05db Add U as keyboard navigator letter for "User Information" 2013-05-17 22:03:03 +05:30
Sindhu S 4f849edca2 Add Reload menu entry to history view
Add reload menu entry to app-win-menu-views and win-menu-views.
Remove comment in on_reload_activated().
2013-05-17 21:30:02 +05:30
Sindhu S 9a33faea0e Add refresh feature to gitg
Add function to refresh history view.
Add menu item "Refresh" in settings menu.
2013-05-17 20:17:38 +05:30
Daniel Mustieles ba6805d8b2 Updated Spanish translation 2013-05-17 13:34:30 +02:00
Techlive Zheng cde980872a Use the same color for every long-runing lane
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-17 13:23:46 +02:00
Techlive Zheng d3cb803007 Respect the mainline of the merges
Normally the 1st parent of a commit is the branch we're merging _into_,
so if you keep this on the left then you can always read a merge as
right-to-left. Previous it seems to be a bit random.

By comparing the position a 'lane' in the 'lanes', the earier a lane is
created, the more priority it has.

Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-17 13:23:30 +02:00
Sindhu S 006943c323 Better fix for relative time in Gitg
Resolves edge cases of relating to difference in minutes.
Treats minutes and hours in the way for rounding off.
Cleans code readability.
2013-05-15 07:58:14 +05:30
Мирослав Николић 1e57cb412d Updated Serbian translation 2013-05-14 19:08:09 +02:00
Piotr Drąg 99e7f2527e Updated Polish translation 2013-05-14 18:51:10 +02:00
Piotr Drąg 312dedd6a8 Drop spaces before colons in newly added strings 2013-05-14 18:48:01 +02:00
Piotr Drąg 4906ca78e5 Updated POTFILES.in 2013-05-14 18:46:37 +02:00
Sindhu S 314471d20f Fix for singular and plural relative time format.
Use TimeSpan class to calculate difference epoch time.
Commits as old as an hour now, read 'An hour ago'.
Commits older than an hour now, read 'N hours ago'.
Commits as old as a day now, read "A day ago".
Commits as older than a day now, read 'N days ago'.
2013-05-14 20:01:48 +05:30
Sindhu S 963b4d8699 Add User information config menu in dash and views.
Add error handling message dialogs.
2013-05-14 19:07:07 +05:30
Ismael Olea 23a8838888 Updated Spanish translation 2013-05-14 10:17:36 +02:00
Sindhu S 13795da994 Fix date format in commit history view
If commits are in current calendar year, show date in format
%h %e, %I:%M %P. If commits are not in current calendar year,
show full year (that is, with century) information using %Y.

Add comment on fixing code to make Gitg honour user locales.
https://bugzilla.gnome.org/show_bug.cgi?id=699196
2013-05-10 18:42:52 +05:30
Matej Urbančič 6dbc12a80c Updated Slovenian translation 2013-05-04 21:34:26 +02:00
Sindhu S 5104c62bc1 Fix gitg window title to match other GNOME applications
Gitg windows now show title of the format:
repository-name (preceding with ~ if from $USER directory or
/path/to/parent/directory) - program-name
2013-05-03 23:20:59 +05:30
Daniel Mustieles 168e523c00 Updated Spanish translation 2013-05-03 17:59:29 +02:00
Rafael Ferreira c6019fd368 Updated Brazilian Portuguese translation 2013-05-01 15:20:25 -03:00
Piotr Drąg dde6ad25ca Updated Polish translation 2013-04-29 21:19:12 +02:00
Sindhu S 32acd470a2 Fix Gitg dialog titles and menu items in UI to be consistent 2013-04-30 00:17:22 +05:30
Sindhu S 052055f742 Fix dialog titles to comply with GNOME HIG guidelines. 2013-04-29 21:25:28 +05:30
Jose Manuel Pintor Freire 395e2a773a Move clone dialog settings to ui
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-04-29 10:26:27 +02:00