chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relax config file checking for non-server programs
[disorder]
/
disobedience
/
disobedience.c
diff --git
a/disobedience/disobedience.c
b/disobedience/disobedience.c
index dc80d0cbcc1951cb4701f767b94ebc85f808b0ab..72b07200bc65ab14c55e143c94465bf31cfd7aaf 100644
(file)
--- a/
disobedience/disobedience.c
+++ b/
disobedience/disobedience.c
@@
-75,6
+75,9
@@
int choosealpha;
/** @brief True if a NOP is in flight */
static int nop_in_flight;
/** @brief True if a NOP is in flight */
static int nop_in_flight;
+/** @brief Global tooltip group */
+GtkTooltips *tips;
+
/* Window creation --------------------------------------------------------- */
/* Note that all the client operations kicked off from here will only complete
/* Window creation --------------------------------------------------------- */
/* Note that all the client operations kicked off from here will only complete
@@
-374,7
+377,7
@@
int main(int argc, char **argv) {
/* create the event loop */
D(("create main loop"));
mainloop = g_main_loop_new(0, 0);
/* create the event loop */
D(("create main loop"));
mainloop = g_main_loop_new(0, 0);
- if(config_read()) fatal(0, "cannot read configuration");
+ if(config_read(
0
)) fatal(0, "cannot read configuration");
/* create the clients */
if(!(client = gtkclient())
|| !(logclient = gtkclient()))
/* create the clients */
if(!(client = gtkclient())
|| !(logclient = gtkclient()))
@@
-389,6
+392,8
@@
int main(int argc, char **argv) {
* unresponsiveness. It's not very useful in production use. */
if(0)
g_timeout_add(1000/*milliseconds*/, heartbeat, 0);
* unresponsiveness. It's not very useful in production use. */
if(0)
g_timeout_add(1000/*milliseconds*/, heartbeat, 0);
+ /* global tooltips */
+ tips = gtk_tooltips_new();
make_toplevel_window();
/* reset styles now everything has its name */
gtk_rc_reset_styles(gtk_settings_get_for_screen(gdk_screen_get_default()));
make_toplevel_window();
/* reset styles now everything has its name */
gtk_rc_reset_styles(gtk_settings_get_for_screen(gdk_screen_get_default()));