~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.4.0-0beta2

« back to all changes in this revision

Viewing changes to clock/src/applet-digital.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-04-20 20:46:51 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110420204651-ftnpzesj6uc7qeul
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723995)
* Upstream short ChangeLog (since 2.3.0~0rc1):
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
    (Switcher, ShowDesktop, etc.)
 - Removed a lot of useless g_print
 - Updated a few plug-ins to fit with the new version of the API (gldit)
 - Fixed a few bugs
 - Updated MeMenu, MessagingMenu and Status-Notifier to works
    with the latest version of dbusmenu, etc.
* Switch to dpkg-source 3.0 (quilt) format
* debian/cairo-dock-plug-ins.install:
 - Added new files (interfaces for python, ruby, vala and mono)
* debian/control:
 - Added new dependences for new applets (sensors and zeitgeist)
    and new interfaces (python, valac, ruby and mono)
 - Updated the version of cairo-dock build-dependences
* debian/rules:
 - Added a new CMake flag to install python interface in debian/tmp
* Updated debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
}
218
218
 
219
219
void cd_clock_draw_ampm (CairoDockModuleInstance *myApplet, gchar *cMark) {
220
 
        g_print ("Adding %s to the last frame\n", cMark);
 
220
        cd_debug ("Adding %s to the last frame", cMark);
221
221
        //Ca s'est gérer dans la config.
222
222
        //Vérifier les structures necessaires.
223
223
}
224
224
 
225
225
void cd_clock_draw_text_from_surface (CairoDockModuleInstance *myApplet, int iNumber) {
226
 
        g_print ("Printing text #%d on corresponding frame\n", iNumber);
 
226
        cd_debug ("Printing text #%d on corresponding frame", iNumber);
227
227
        //Il faudra surment scale down la surface avant de cairo_print
228
228
        //TODO prendre le code sur slider.
229
229
}
230
230
 
231
231
void cd_clock_fill_text_surface (CairoDockModuleInstance *myApplet, gchar *cStr, int iNumber) {
232
 
        g_print ("Filling the #%d surface with %s\n", iNumber, cStr);
 
232
        cd_debug ("Filling the #%d surface with %s", iNumber, cStr);
233
233
        //Aucune idée de comment faire!
234
234
        //TODO demander a fabounet des indices ici.
235
235
}
236
236
 
237
237
void cd_clock_draw_date_on_frame (CairoDockModuleInstance *myApplet) {
238
 
        g_print ("Add date on frame\n");
 
238
        cd_debug ("Add date on frame");
239
239
}