diff --git a/.gitignore b/.gitignore index 866564b..6356553 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,5 @@ ui/ ubl-settings-manager_ru.pos ubl-settings-manager_ru.po~ deleted -compile/ \ No newline at end of file +compile/ +.install.sh \ No newline at end of file diff --git a/Makefile b/Makefile index abd1da4..a990f29 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,11 @@ init: @echo "Initialize ..."; \ if [ -d ".git" ]; then \ LATEST_TAG=$$(git describe --abbrev=0 --tags | sed 's/^v//'); \ + if [ -z "$${LATEST_TAG}" ]; \ + then \ + LATEST_TAG=$$"0.0"; \ + echo "$${LATEST_TAG} is empty"; \ + fi; \ else \ LATEST_TAG="Development"; \ fi; \ diff --git a/source/ubl-settings-manager.c b/source/ubl-settings-manager.c index 65aaf82..6f066e0 100644 --- a/source/ubl-settings-manager.c +++ b/source/ubl-settings-manager.c @@ -60,6 +60,7 @@ void on_plug_removed(GtkSocket* self, actionWidgets *widgets){ gtk_widget_destroy(widgets->socketbutton); if(widgets->ThirdSocket) gtk_widget_destroy(widgets->ThirdSocket); + on_backToSettingsButton_clicked(widgets->ButtonBackToMain,widgets); } void on_Item_activated(GtkIconView* self, GtkTreePath* path, actionWidgets *applist){