Logo Search packages:      
Sourcecode: panflute version File versions  Download package

def panflute::applet::prefs::Preferences::layout_store_row_deleted_cb (   self,
  model,
  path 
)

Update GConf with the new requested widget order.

When the default drag-and-drop-to-reorder behavior happens, the view
inserts a copy of the row(s) in the new position before deleting the
old row(s).  So, pushing the change to the LayoutManager only when
we get the row-deleted signal does what we want.

Definition at line 304 of file prefs.py.

00304                                                        :
        """
        Update GConf with the new requested widget order.

        When the default drag-and-drop-to-reorder behavior happens, the view
        inserts a copy of the row(s) in the new position before deleting the
        old row(s).  So, pushing the change to the LayoutManager only when
        we get the row-deleted signal does what we want.
        """

        if not self.__ignore_model_updates:
            self.log.debug ("Row deleted: {0}".format (path))
            self.__push_order_to_gconf ()


    def __push_order_to_gconf (self):


Generated by  Doxygen 1.6.0   Back to index