Commit graph

109 commits

Author SHA1 Message Date
Techlive Zheng
b9dfbc0778 Do not emit 'ref_activated' signal during a reloading 2013-06-03 17:00:32 +08:00
Techlive Zheng
5cf7434857 Follow the coding style 2013-06-03 15:05:09 +08:00
Techlive Zheng
dd63634192 Remove unused method 'remove_section()' 2013-06-03 15:02:09 +08:00
Techlive Zheng
2003157374 Remove unused method 'append_separator()' 2013-06-03 15:02:09 +08:00
Techlive Zheng
869479c31f Reload the history view when repository changes 2013-06-03 15:02:09 +08:00
Techlive Zheng
75f04c9f17 Locate all the properties together 2013-06-03 14:30:22 +08:00
Techlive Zheng
ceda5ffe3c No need property 'available' anymore 2013-06-03 14:30:22 +08:00
Techlive Zheng
c2a0ed04e6 Remove NavigationSide, no need for now 2013-06-03 14:30:22 +08:00
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
Techlive Zheng
671d2f7a2b Make the view's stack_panel property nullable 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
Ignacio Casal Quinteiro
7f7b24645e Port to GtkStack 2013-05-30 20:20:03 +02:00
Techlive Zheng
d1278a24b3 Port gee from version 1.0 to 0.8 2013-05-27 10:02:46 +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
9da6254865 Clean up 'plugins/diff/icons/Makefile' 2013-05-27 09:21:26 +02:00
Techlive Zheng
92a410d1b1 Small changes 2013-05-21 10:40:43 +02:00
Ignacio Casal Quinteiro
126dc37a44 history: use is_head from GgitBranch 2013-03-30 21:24:21 +01:00
Daniel Mustieles
cbe87a5674 Removed markup from UI files 2013-03-28 17:26:19 +01:00
Ignacio Casal Quinteiro
5c7f0ceb56 history: expand main column and make bigger the date column 2013-03-19 12:32:01 +01:00
Ignacio Casal Quinteiro
f93c6e8b36 Use a styled text renderer for name and date 2013-03-18 22:34:46 +01:00
Ignacio Casal Quinteiro
6531c14d34 Show readable time in the commit list 2013-03-17 18:46:58 +01:00
Ignacio Casal Quinteiro
11dbccf635 Remove content-view style from commit list 2013-03-17 11:41:54 +01:00
Paolo Borelli
2e46aad049 Add gsettings schemas to DISTCLEAN 2013-03-17 10:30:57 +01:00
Paolo Borelli
d438550cef Set a thin border on the sidepane 2013-03-16 19:51:23 +01:00
Ignacio Casal Quinteiro
e4741b1512 Show the checked out branch 2013-03-11 16:47:08 +01:00
Jesse van den Kieboom
be24d53a6c Remove remotes icon in history navigation 2013-03-01 22:31:57 +01:00
Jesse van den Kieboom
e46ec3f74d Set style of navigation tree view more like in nautilus 2013-03-01 22:31:42 +01:00
Jesse van den Kieboom
2e4590d396 Only update panels when mapped 2013-03-01 16:11:53 +01:00
Jesse van den Kieboom
6f45205047 Remove dash from autotools 2013-03-01 13:05:05 +01:00
Jesse van den Kieboom
86b8dc043a Remove dash plugin 2013-03-01 12:58:21 +01:00
Ignacio Casal Quinteiro
0e2bd426c3 Use GdStackSwitcher to handle stack elements 2013-02-25 21:57:52 +01:00
Ignacio Casal Quinteiro
89a415912e Set content-view style for the commits list 2013-02-22 12:55:55 +01:00
Ignacio Casal Quinteiro
04d2510552 No shadow, not needed with the headerbar.
Although we might want to add some custom css to just add
a border on the left
2013-02-22 12:52:25 +01:00