mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Add missing shadows
This commit is contained in:
parent
e7493991ff
commit
071377e49b
|
@ -25,13 +25,18 @@ namespace GitgDiff
|
|||
private const string version = Gitg.Config.VERSION;
|
||||
|
||||
public GitgExt.Application? application { owned get; construct set; }
|
||||
private Gtk.ScrolledWindow d_sw;
|
||||
private GitgGtk.DiffView d_diff;
|
||||
private GitgExt.ObjectSelection? d_view;
|
||||
|
||||
construct
|
||||
{
|
||||
d_sw = new Gtk.ScrolledWindow(null, null);
|
||||
d_sw.shadow_type = Gtk.ShadowType.IN;
|
||||
d_sw.show();
|
||||
d_diff = new GitgGtk.DiffView(null);
|
||||
d_diff.show();
|
||||
d_sw.add(d_diff);
|
||||
|
||||
application.notify["current_view"].connect((a, v) => {
|
||||
notify_property("available");
|
||||
|
@ -102,7 +107,7 @@ namespace GitgDiff
|
|||
on_selection_changed(objsel);
|
||||
}
|
||||
|
||||
return d_diff;
|
||||
return d_sw;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="shadow-type">none</property>
|
||||
<property name="shadow-type">in</property>
|
||||
<child>
|
||||
<object class="GitgGtkCommitListView" id="commit_list_view">
|
||||
<property name="visible">True</property>
|
||||
|
|
Loading…
Reference in a new issue