[gitg] Make the dash view a grid
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Make the dash view a grid
- Date: Mon, 22 Oct 2012 07:06:53 +0000 (UTC)
commit 52e1c3f2b4862118b9e1eba889d1b1bde8d55940
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Oct 22 09:01:10 2012 +0200
Make the dash view a grid
libgitg-gtk/gitg-gtk-dash-view.vala | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libgitg-gtk/gitg-gtk-dash-view.vala b/libgitg-gtk/gitg-gtk-dash-view.vala
index 14c3e15..210fdbe 100644
--- a/libgitg-gtk/gitg-gtk-dash-view.vala
+++ b/libgitg-gtk/gitg-gtk-dash-view.vala
@@ -22,7 +22,7 @@ using Gtk;
namespace GitgGtk
{
- public class DashView : Box
+ public class DashView : Grid
{
private Egg.ListBox d_listbox;
private class RepositoryData
@@ -70,9 +70,12 @@ namespace GitgGtk
private void update_separator(ref Widget? separator, Widget widget, Widget? before_widget)
{
- if (before_widget != null && separator == null) {
+ if (before_widget != null && separator == null)
+ {
separator = new Separator(Orientation.HORIZONTAL);
- } else {
+ }
+ else
+ {
separator = null;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]