~ubuntu-branches/ubuntu/lucid/synfigstudio/lucid

« back to all changes in this revision

Viewing changes to src/gtkmm/cellrenderer_value.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2010-01-26 11:20:50 UTC
  • mfrom: (1.1.5 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100126112050-e43u17c5zpc5hse4
Tags: 0.62.00-1
* QA upload
* Properly orphan the package (set Maintainer to QA, empty Uploaders)
* New upstream release
* Bump build-dep on (lib)synfig to most recent version
* Bump standards-version to 3.8.3, no changes needed
* Change section of the "-dbg" package to debug, thanks lintian

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/*!     \file cellrenderer_value.cpp
3
3
**      \brief Template File
4
4
**
5
 
**      $Id: cellrenderer_value.cpp 1734 2008-02-17 13:01:34Z dooglus $
 
5
**      $Id$
6
6
**
7
7
**      \legal
8
8
**      Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
509
509
        const Gdk::Rectangle& cell_area __attribute__ ((unused)),
510
510
        Gtk::CellRendererState flags __attribute__ ((unused)))
511
511
{
 
512
        edit_value_done_called = false;
512
513
        // If we aren't editable, then there is nothing to do
513
514
        if(!property_editable())
514
515
                return 0;
533
534
                                path
534
535
                        )
535
536
                );
 
537
                App::dialog_gradient->grab_button_set_sensitive(true);
536
538
                App::dialog_gradient->present();
537
539
 
538
540
                return NULL;
580
582
void
581
583
CellRenderer_ValueBase::on_value_editing_done()
582
584
{
 
585
        if (edit_value_done_called)
 
586
        {
 
587
                synfig::error("on_value_editing_done(): Called twice!");
 
588
                return;
 
589
        }
 
590
 
 
591
        edit_value_done_called = true;
 
592
 
583
593
        if(value_entry)
584
594
        {
585
595
                ValueBase old_value(property_value_.get_value());