Mercurial > pidgin.yaz
diff finch/libgnt/pygnt/gntfilesel.override @ 18556:5e1412f4e67a
Do some work to make pygnt more useful. The dbus-gnt script works fairly
well now.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 17 Jul 2007 11:09:03 +0000 |
parents | |
children | 44b4e8bd759b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/finch/libgnt/pygnt/gntfilesel.override Tue Jul 17 11:09:03 2007 +0000 @@ -0,0 +1,33 @@ +/** + * pygnt- Python bindings for the GNT toolkit. + * Copyright (C) 2007 Sadrul Habib Chowdhury <sadrul@pidgin.im> + * + * gntfilesel.override: overrides for the file selector. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ +%% +headrs +#include "common.h" +%% +override gnt_file_sel_get_selected_multi_files noargs +static PyObject * +_wrap_gnt_file_sel_get_selected_multi_files(PyGObject *self) +{ + GList *list = gnt_file_sel_get_selected_multi_files(GNT_FILE_SEL(self->obj)); + return create_pyobject_from_string_list(list); +} +