Commit graph

1292 commits

Author SHA1 Message Date
Techlive Zheng 33e59a4a64 Give the methods a more sensible name 2013-06-03 14:30:22 +08:00
Techlive Zheng 503fbbde6f Clean up the method access scope 2013-06-03 14:30:22 +08:00
Techlive Zheng ca1fab7f2d Keep the scrolling position of navigation during reloading 2013-06-03 14:30:18 +08:00
Techlive Zheng 3430656538 Keep the selected navigation reference during reloading 2013-06-03 13:22:31 +08:00
Techlive Zheng ef329ed44c Do not trigger 'on_ref_activated' signal during reloading
Detach the model from the tree view first, then do the reloading of the
model. Otherwise, as the 'on_ref_activated' signal has been connected,
each time the model changes, the signal will be emitted, cause
unnecessary rendering of the commit list view.
2013-06-03 13:22:31 +08:00
Techlive Zheng 8c7236ad48 Do not do reloading on repository notify
Currently, the navigation gets reloading twice everytime when the
history view is reloaded, it should only be reloaded on explicitly
invoked.
2013-06-03 13:22:31 +08:00
Techlive Zheng 79dc7d1906 Field 'd_repository' should be nullable 2013-06-03 13:22:31 +08:00
Techlive Zheng 58fe8ce084 Move all view related code into the view 2013-06-03 13:22:31 +08:00
Techlive Zheng ff70730e0b Use the method from the base class 2013-06-03 13:22:31 +08:00
Techlive Zheng 0a4ec605a1 Set up all the tree models at the begining 2013-06-03 13:22:31 +08:00
Techlive Zheng a22d174cf1 Clean up code make it more organized 2013-06-03 13:22:31 +08:00
Techlive Zheng f5435be71b Give the variable a more meaningful name 2013-06-03 13:22:30 +08:00
Sindhu S 1053a86474 Allow long names in User Information Dialog (Bug 701093) 2013-06-01 14:29:13 +05:30
Sindhu S 5c19d5982b Make the user information dialog a modal dialog 2013-06-01 14:24:13 +05:30
Ignacio Casal Quinteiro bcff322cbe Convert window to a template 2013-05-31 17:21:05 +02:00
Techlive Zheng 671d2f7a2b Make the view's stack_panel property nullable 2013-05-30 20:20:08 +02:00
Techlive Zheng 1f91efbf9b Add necessary comments to the abstraction interface 2013-05-30 20:20:08 +02:00
Techlive Zheng 5e35e3a67a Revert changes made in commit ed7abdb for building with libgd
After porting to GtkStack, we do not need them any more.
2013-05-30 20:20:08 +02:00
Techlive Zheng 1480823969 Initialize panels only when they are not initialized 2013-05-30 20:20:08 +02:00
Ignacio Casal Quinteiro 7f7b24645e Port to GtkStack 2013-05-30 20:20:03 +02:00
Ignacio Casal Quinteiro 28c6df4111 Port to GtkRevealer 2013-05-29 12:53:53 +02:00
Ignacio Casal Quinteiro 39cb365dea Fix warning 2013-05-28 14:56:15 +02:00
Ignacio Casal Quinteiro 4625cbb207 Dot not use GdHeaderBar 2013-05-28 14:25:57 +02:00
Jose Manuel Pintor Freire ed3927a451 Use GtkButton subclasses instead of GdHeaderButton ones
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-28 14:24:34 +02:00
Jose Manuel Pintor Freire 87650faead Add close button
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-28 14:22:48 +02:00
Jose Manuel Pintor Freire c513c35eb9 Use titlebar at GtkHeaderBar
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-28 14:17:03 +02:00
Jose Manuel Pintor Freire 9daeecd3de Minimum current gtk+ version 3.9.0
Signed-off-by: Ignacio Casal Quinteiro <icq@gnome.org>
2013-05-28 14:14:57 +02:00
Daniel Mustieles 2bcb96a51c Updated Spanish translation 2013-05-27 13:53:59 +02:00
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