Commit graph

75 commits

Author SHA1 Message Date
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
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
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
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
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
Ignacio Casal Quinteiro
071377e49b Add missing shadows 2013-02-18 13:55:19 +01:00
Ignacio Casal Quinteiro
c0f2051a8c Fix also api breaks in history plugin 2013-02-13 12:47:41 +01:00
Jesse van den Kieboom
10cd83fbbb Bind available/enabled ui element properties 2012-10-28 18:25:08 +01:00
Ignacio Casal Quinteiro
0481bd3c58 Compression and stripping of resources 2012-10-23 13:28:47 +02:00
Ignacio Casal Quinteiro
6de7863af4 Missing end_header call 2012-10-17 14:15:08 +02:00
Ignacio Casal Quinteiro
d81a864dbc Use AM_VALAFLAGS 2012-10-17 08:38:37 +02:00
Jesse van den Kieboom
d881e36feb List 'All' as top most in history navigation 2012-10-16 21:23:38 +02:00
Jesse van den Kieboom
df267aa4b0 Sort remote refs 2012-10-16 21:10:17 +02:00
Jesse van den Kieboom
6aa2958ee8 Use Gee.LinkedList for remote refs
It's easier to use the Gee.LinkedList class since it's properly reffed
2012-10-16 21:10:10 +02:00
Jesse van den Kieboom
fb0a809aeb Bind topological-order setting to model sort mode 2012-07-19 10:28:02 +02:00
Jesse van den Kieboom
acf00552e0 Added history preference panel 2012-07-18 17:36:24 +02:00