update_gcs(void)
{
gint i;
- printf("%s()\n", __PRETTY_FUNCTION__);
for (i = 0; i < COLORABLE_ENUM_COUNT; i++) {
gdk_color_alloc(gtk_widget_get_colormap(_map_widget),
GDK_CAP_ROUND, GDK_JOIN_ROUND);
}
- vprintf("%s(): return\n", __PRETTY_FUNCTION__);
}
static gboolean
{
GtkWidget *dialog;
gint res;
- printf("%s()\n", __PRETTY_FUNCTION__);
dialog = GTK_WIDGET(hildon_file_chooser_dialog_new(GTK_WINDOW(browse_info->dialog),
GTK_FILE_CHOOSER_ACTION_OPEN));
gtk_widget_destroy(dialog);
- vprintf("%s(): return TRUE\n", __PRETTY_FUNCTION__);
return TRUE;
}
static gboolean
settings_dialog_hardkeys_reset(GtkWidget * widget, KeysDialogInfo * cdi)
{
- GtkWidget *confirm;
- printf("%s()\n", __PRETTY_FUNCTION__);
+GtkWidget *confirm;
- confirm = hildon_note_new_confirmation(GTK_WINDOW(_window),
- _("Reset all hardware keys to their original defaults?"));
+confirm = hildon_note_new_confirmation(GTK_WINDOW(_window),
+ _("Reset all hardware keys to their original defaults?"));
- if (GTK_RESPONSE_OK == gtk_dialog_run(GTK_DIALOG(confirm))) {
- gint i;
- for (i = 0; i < CUSTOM_KEY_ENUM_COUNT; i++)
- gtk_combo_box_set_active(GTK_COMBO_BOX(cdi->cmb[i]),
- CUSTOM_KEY_DEFAULT[i]);
- }
- gtk_widget_destroy(confirm);
-
- vprintf("%s(): return\n", __PRETTY_FUNCTION__);
- return TRUE;
+if (GTK_RESPONSE_OK == gtk_dialog_run(GTK_DIALOG(confirm))) {
+ gint i;
+ for (i = 0; i < CUSTOM_KEY_ENUM_COUNT; i++)
+ gtk_combo_box_set_active(GTK_COMBO_BOX(cdi->cmb[i]), CUSTOM_KEY_DEFAULT[i]);
+}
+gtk_widget_destroy(confirm);
+return TRUE;
}
static gboolean
GtkWidget *label;
KeysDialogInfo bdi;
GtkWidget *btn_defaults;
- printf("%s()\n", __PRETTY_FUNCTION__);
dialog = gtk_dialog_new_with_buttons(_("Hardware Keys"),
GTK_WINDOW(parent),
gtk_widget_destroy(dialog);
- vprintf("%s(): return\n", __PRETTY_FUNCTION__);
return TRUE;
}
settings_dialog_colors_reset(GtkWidget * widget, ColorsDialogInfo * cdi)
{
GtkWidget *confirm;
- printf("%s()\n", __PRETTY_FUNCTION__);
confirm = hildon_note_new_confirmation(GTK_WINDOW(_window),
_("Reset all colors to their original defaults?"));
}
gtk_widget_destroy(confirm);
- vprintf("%s(): return\n", __PRETTY_FUNCTION__);
return TRUE;
}
GtkWidget *label;
GtkWidget *btn_defaults;
ColorsDialogInfo cdi;
- printf("%s()\n", __PRETTY_FUNCTION__);
dialog = gtk_dialog_new_with_buttons(_("Colors"),
GTK_WINDOW(parent),
gtk_widget_destroy(dialog);
- vprintf("%s(): return TRUE\n", __PRETTY_FUNCTION__);
return TRUE;
}
ScanInfo scan_info = { 0 };
gboolean rcvr_changed = FALSE;
guint i;
- printf("%s()\n", __PRETTY_FUNCTION__);
dialog = gtk_dialog_new_with_buttons(_("Settings"),
GTK_WINDOW(_window),
gtk_widget_hide(dialog);
#endif
- vprintf("%s(): return %d\n", __PRETTY_FUNCTION__, rcvr_changed);
return rcvr_changed;
}