Compare commits
1 Commits
refine-ui
...
vala-trans
Author | SHA1 | Date | |
---|---|---|---|
009c17b6e2 |
13
src/ag-header-bar.vala
Normal file
13
src/ag-header-bar.vala
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
namespace Ag {
|
||||||
|
|
||||||
|
class HeaderBar: Gtk.HeaderBar {
|
||||||
|
public void clear()
|
||||||
|
{
|
||||||
|
custom_title = null;
|
||||||
|
|
||||||
|
foreach (Gtk.Widget w in get_children()) {
|
||||||
|
w.hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -1120,11 +1120,11 @@ ag_window_save_action(GSimpleAction *action,
|
|||||||
_("Unable to save: %s"),
|
_("Unable to save: %s"),
|
||||||
err->message
|
err->message
|
||||||
);
|
);
|
||||||
} else {
|
}
|
||||||
|
|
||||||
ag_db_chart_save_unref(priv->saved_data);
|
ag_db_chart_save_unref(priv->saved_data);
|
||||||
priv->saved_data = save_data;
|
priv->saved_data = save_data;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
13
src/widgets.vala
Normal file
13
src/widgets.vala
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
namespace Ag {
|
||||||
|
|
||||||
|
public class HeaderBar : Gtk.HeaderBar {
|
||||||
|
public void clear()
|
||||||
|
{
|
||||||
|
custom_title = null;
|
||||||
|
|
||||||
|
foreach (Gtk.Widget w in get_children()) {
|
||||||
|
w.hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user