diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-06-25 06:46:04 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-06-25 06:46:04 (GMT) |
commit | 3bf12eda58a8d04ac3d2d6754a480de4c262570d (patch) | |
tree | 010fc97ad481adc00ac4722d77093f469096638b /src/gtkext | |
parent | 11395d684736467fb010b93b0eaeefcc06bf0f5e (diff) |
Built the first steps to upgrade to Python3.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@379 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkdockstation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkext/gtkdockstation.c b/src/gtkext/gtkdockstation.c index c299542..a742c07 100644 --- a/src/gtkext/gtkdockstation.c +++ b/src/gtkext/gtkdockstation.c @@ -230,7 +230,7 @@ void gtk_dock_panel_add_widget(GtkDockStation *station, GtkWidget *widget, const char *str; /* Titre des prochaines fois */ GtkWidget *label; /* Etiquette d'onglet */ - max = get_integer_config_value(get_main_configuration(), MPT_ELLIPSIS_TAB); + max = 3; // TODO : config dans un .so pour Python // get_integer_config_value(get_main_configuration(), MPT_ELLIPSIS_TAB); str = ellipsis(strdup(caption), max); label = qck_create_label(NULL, NULL, str); @@ -249,7 +249,7 @@ void gtk_dock_panel_add_widget(GtkDockStation *station, GtkWidget *widget, const str = g_object_get_data(G_OBJECT(widget), "title"); if (str != NULL) free(str); - max = get_integer_config_value(get_main_configuration(), MPT_ELLIPSIS_HEADER); + max = 3; // TODO : config dans un .so pour Python // get_integer_config_value(get_main_configuration(), MPT_ELLIPSIS_HEADER); g_object_set_data(G_OBJECT(widget), "title", ellipsis(strdup(caption), max)); gtk_dock_panel_update_title(station, widget, caption); |