tint2conf: GUI changes

git-svn-id: http://tint2.googlecode.com/svn/trunk@764 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000
2015-04-18 12:46:39 +00:00
committed by mrovi9000@gmail.com
parent 167bb31084
commit aa9e1afdf2
2 changed files with 113 additions and 179 deletions

View File

@@ -165,10 +165,10 @@ void applyClicked(GtkWidget *widget, gpointer data)
char *file = get_current_theme_file_name();
if (file)
config_save_file(file);
int unused = system("killall -SIGUSR1 tint2");
(void)unused;
g_free(file);
g_timeout_add(SNAPSHOT_TICK, (GSourceFunc)update_snapshot, NULL);
// TODO if this is not the current theme, don't do anything
menuApply();
}
void cancelClicked(GtkWidget *widget, gpointer data)